Home
last modified time | relevance | path

Searched refs:ifeature (Results 1 - 11 of 11) sorted by relevance

/drivers/peripheral/wlan/test/hdi_service/
H A Dwlan_hdi_direct_test.cpp107 struct HdfFeatureInfo ifeature; in HWTEST_F() local
110 (void)memset_s(&ifeature, sizeof(struct HdfFeatureInfo), 0, sizeof(struct HdfFeatureInfo)); in HWTEST_F()
113 rc = g_wlanObj->CreateFeature(g_wlanObj, wlanType, &ifeature); in HWTEST_F()
117 rc = g_wlanObj->CreateFeature(g_wlanObj, wlanType, &ifeature); in HWTEST_F()
121 rc = g_wlanObj->CreateFeature(g_wlanObj, wlanType, &ifeature); in HWTEST_F()
133 struct HdfFeatureInfo ifeature; in HWTEST_F() local
136 (void)memset_s(&ifeature, sizeof(struct HdfFeatureInfo), 0, sizeof(struct HdfFeatureInfo)); in HWTEST_F()
139 ifeature.ifName = nullptr; in HWTEST_F()
140 rc = g_wlanObj->DestroyFeature(g_wlanObj, &ifeature); in HWTEST_F()
142 ifeature in HWTEST_F()
162 struct HdfFeatureInfo ifeature; HWTEST_F() local
193 struct HdfFeatureInfo ifeature; HWTEST_F() local
218 struct HdfFeatureInfo ifeature; HWTEST_F() local
246 struct HdfFeatureInfo ifeature; HWTEST_F() local
266 struct HdfFeatureInfo ifeature; HWTEST_F() local
286 struct HdfFeatureInfo ifeature; HWTEST_F() local
339 struct HdfFeatureInfo ifeature; HWTEST_F() local
399 struct HdfFeatureInfo ifeature; HWTEST_F() local
443 struct HdfFeatureInfo ifeature; HWTEST_F() local
470 struct HdfFeatureInfo ifeature; HWTEST_F() local
495 struct HdfFeatureInfo ifeature; HWTEST_F() local
521 struct HdfFeatureInfo ifeature; HWTEST_F() local
563 struct HdfFeatureInfo ifeature; HWTEST_F() local
588 struct HdfFeatureInfo ifeature; HWTEST_F() local
[all...]
H A Dwlan_hdi_hal_services_c_test.cpp101 struct HdfFeatureInfo ifeature; in HWTEST_F() local
104 int32_t rc = g_wlanObj->CreateFeature(g_wlanObj, wlanType, &ifeature); in HWTEST_F()
106 printf("ifname = %s\n", ifeature.ifName); in HWTEST_F()
107 printf("type = %d\n", ifeature.type); in HWTEST_F()
108 rc = g_wlanObj->DestroyFeature(g_wlanObj, &ifeature); in HWTEST_F()
122 struct HdfFeatureInfo ifeature; in HWTEST_F() local
125 int32_t rc = g_wlanObj->CreateFeature(g_wlanObj, wlanType, &ifeature); in HWTEST_F()
127 rc = g_wlanObj->GetFeatureByIfName(g_wlanObj, ifNameInvalid, &ifeature); in HWTEST_F()
129 rc = g_wlanObj->GetFeatureByIfName(g_wlanObj, ifeature.ifName, &ifeature); in HWTEST_F()
145 struct HdfFeatureInfo ifeature; HWTEST_F() local
166 struct HdfFeatureInfo ifeature; HWTEST_F() local
188 struct HdfFeatureInfo ifeature; HWTEST_F() local
213 struct HdfFeatureInfo ifeature; HWTEST_F() local
235 struct HdfFeatureInfo ifeature; HWTEST_F() local
272 struct HdfFeatureInfo ifeature; HWTEST_F() local
293 struct HdfFeatureInfo ifeature; HWTEST_F() local
322 struct HdfFeatureInfo ifeature; HWTEST_F() local
360 struct HdfFeatureInfo ifeature; HWTEST_F() local
382 struct HdfFeatureInfo ifeature; HWTEST_F() local
417 struct HdfFeatureInfo ifeature; HWTEST_F() local
444 struct HdfFeatureInfo ifeature; HWTEST_F() local
483 struct HdfFeatureInfo ifeature; HWTEST_F() local
507 struct HdfFeatureInfo ifeature; HWTEST_F() local
531 struct HdfFeatureInfo ifeature; HWTEST_F() local
555 struct HdfFeatureInfo ifeature; HWTEST_F() local
576 struct HdfFeatureInfo ifeature; HWTEST_F() local
598 struct HdfFeatureInfo ifeature; HWTEST_F() local
622 struct HdfFeatureInfo ifeature; HWTEST_F() local
646 struct HdfFeatureInfo ifeature; HWTEST_F() local
667 struct HdfFeatureInfo ifeature; HWTEST_F() local
688 struct HdfFeatureInfo ifeature; HWTEST_F() local
709 struct HdfFeatureInfo ifeature; HWTEST_F() local
729 struct HdfFeatureInfo ifeature; HWTEST_F() local
750 struct HdfFeatureInfo ifeature; HWTEST_F() local
771 struct HdfFeatureInfo ifeature; HWTEST_F() local
792 struct HdfFeatureInfo ifeature; HWTEST_F() local
1040 struct HdfFeatureInfo ifeature; HWTEST_F() local
1061 struct HdfFeatureInfo ifeature; HWTEST_F() local
1093 struct HdfFeatureInfo ifeature; HWTEST_F() local
1114 struct HdfFeatureInfo ifeature; HWTEST_F() local
1135 struct HdfFeatureInfo ifeature; HWTEST_F() local
1160 struct HdfFeatureInfo ifeature; HWTEST_F() local
1213 struct HdfFeatureInfo ifeature; HWTEST_F() local
1239 struct HdfFeatureInfo ifeature; HWTEST_F() local
1284 struct HdfFeatureInfo ifeature; HWTEST_F() local
1312 struct HdfFeatureInfo ifeature; HWTEST_F() local
[all...]
/drivers/peripheral/wlan/hdi_service/service_common/
H A Dwlan_common_cmd.h22 int32_t WlanInterfaceCreateFeature(struct IWlanInterface *self, int32_t type, struct HdfFeatureInfo *ifeature);
23 int32_t WlanInterfaceDestroyFeature(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature);
24 int32_t WlanInterfaceGetAssociatedStas(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature,
26 int32_t WlanInterfaceGetChipId(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature, uint8_t *chipId);
27 int32_t WlanInterfaceGetDeviceMacAddress(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature,
30 struct HdfFeatureInfo *ifeature);
31 int32_t WlanInterfaceGetFeatureType(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature,
33 int32_t WlanInterfaceGetFreqsWithBand(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature,
37 int32_t WlanInterfaceGetNetworkIfaceName(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature,
46 int32_t WlanInterfaceSetCountryCode(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature,
[all...]
H A Dwlan_common_cmd.c87 int32_t WlanInterfaceCreateFeature(struct IWlanInterface *self, int32_t type, struct HdfFeatureInfo *ifeature) in WlanInterfaceCreateFeature() argument
92 if (ifeature == NULL) { in WlanInterfaceCreateFeature()
108 ifeature->type = g_apFeature->baseFeature.type; in WlanInterfaceCreateFeature()
109 ifeature->ifName = strdup((g_apFeature->baseFeature).ifName); in WlanInterfaceCreateFeature()
119 ifeature->type = g_staFeature->baseFeature.type; in WlanInterfaceCreateFeature()
120 ifeature->ifName = strdup((g_staFeature->baseFeature).ifName); in WlanInterfaceCreateFeature()
130 ifeature->type = g_p2pFeature->baseFeature.type; in WlanInterfaceCreateFeature()
131 ifeature->ifName = strdup((g_p2pFeature->baseFeature).ifName); in WlanInterfaceCreateFeature()
134 if (ifeature->ifName == NULL) { in WlanInterfaceCreateFeature()
141 int32_t WlanInterfaceDestroyFeature(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature) in WlanInterfaceDestroyFeature() argument
214 WlanInterfaceGetAssociatedStas(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature, struct HdfStaInfo *staInfo, uint32_t *staInfoLen, uint32_t *num) WlanInterfaceGetAssociatedStas() argument
260 GetBasefeature(const struct HdfFeatureInfo *ifeature, struct IWiFiBaseFeature **baseFeature) GetBasefeature() argument
287 WlanInterfaceGetChipId(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature, uint8_t *chipId) WlanInterfaceGetChipId() argument
311 WlanInterfaceGetDeviceMacAddress(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature, uint8_t *mac, uint32_t *macLen, uint8_t len) WlanInterfaceGetDeviceMacAddress() argument
337 WlanInterfaceGetFeatureByIfName(struct IWlanInterface *self, const char *ifName, struct HdfFeatureInfo *ifeature) WlanInterfaceGetFeatureByIfName() argument
371 WlanInterfaceGetFeatureType(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature, int32_t *featureType) WlanInterfaceGetFeatureType() argument
394 WlanInterfaceGetFreqsWithBand(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature, const struct HdfWifiInfo *wifiInfo, int32_t *freq, uint32_t *freqLen) WlanInterfaceGetFreqsWithBand() argument
459 WlanInterfaceGetNetworkIfaceName(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature, char *ifName, uint32_t ifNameLen) WlanInterfaceGetNetworkIfaceName() argument
1011 WlanInterfaceSetCountryCode(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature, const char *code, uint32_t len) WlanInterfaceSetCountryCode() argument
1037 WlanInterfaceSetMacAddress(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature, const uint8_t *mac, uint32_t macLen) WlanInterfaceSetMacAddress() argument
1061 WlanInterfaceSetScanningMacAddress(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature, const uint8_t *scanMac, uint32_t scanMacLen) WlanInterfaceSetScanningMacAddress() argument
1085 WlanInterfaceSetTxPower(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature, int32_t power) WlanInterfaceSetTxPower() argument
1265 WlanInterfaceStartScan(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature, const struct HdfWifiScan *scan) WlanInterfaceStartScan() argument
1300 WlanInterfaceGetPowerMode(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature, uint8_t *mode) WlanInterfaceGetPowerMode() argument
1320 WlanInterfaceSetPowerMode(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature, uint8_t mode) WlanInterfaceSetPowerMode() argument
[all...]
/drivers/peripheral/wlan/hal/src/
H A Dwifi_hal.c99 static int32_t InitFeatureByType(int32_t type, struct IWiFiBaseFeature **ifeature) in InitFeatureByType() argument
105 *ifeature = (struct IWiFiBaseFeature *)malloc(sizeof(struct IWiFiAp)); in InitFeatureByType()
106 if (*ifeature == NULL) { in InitFeatureByType()
110 (void)memset_s(*ifeature, sizeof(struct IWiFiAp), 0, sizeof(struct IWiFiAp)); in InitFeatureByType()
111 ret = InitApFeature((struct IWiFiAp **)ifeature); in InitFeatureByType()
114 *ifeature = (struct IWiFiBaseFeature *)malloc(sizeof(struct IWiFiSta)); in InitFeatureByType()
115 if (*ifeature == NULL) { in InitFeatureByType()
119 (void)memset_s(*ifeature, sizeof(struct IWiFiSta), 0, sizeof(struct IWiFiSta)); in InitFeatureByType()
120 ret = InitStaFeature((struct IWiFiSta **)ifeature); in InitFeatureByType()
123 *ifeature in InitFeatureByType()
175 CreateFeatureInner(int32_t type, struct IWiFiBaseFeature **ifeature) CreateFeatureInner() argument
201 DestroyFeatureInner(struct IWiFiBaseFeature *ifeature) DestroyFeatureInner() argument
447 CreateFeature(int32_t type, struct IWiFiBaseFeature **ifeature) CreateFeature() argument
457 GetFeatureByIfName(const char *ifName, struct IWiFiBaseFeature **ifeature) GetFeatureByIfName() argument
467 DestroyFeature(struct IWiFiBaseFeature *ifeature) DestroyFeature() argument
[all...]
H A Dwifi_hal_cmd.c70 networkList->ifeature = NULL; in HalCmdGetAvailableNetwork()
303 int32_t HalCmdGetFeatureByIfName(const char *ifName, struct IWiFiBaseFeature **ifeature) in HalCmdGetFeatureByIfName() argument
308 if (ifName == NULL || ifeature == NULL) { in HalCmdGetFeatureByIfName()
318 *ifeature = networkNode->ifeature; in HalCmdGetFeatureByIfName()
338 struct IWiFiBaseFeature *ifeature = NULL; in HalCmdResetToFactoryMacAddress() local
339 ret = HalCmdGetFeatureByIfName(ifName, &ifeature); in HalCmdResetToFactoryMacAddress()
340 if (ret != HDF_SUCCESS || ifeature == NULL) { in HalCmdResetToFactoryMacAddress()
346 ret = HalCmdGetDevMacAddr(ifName, ifeature->type, mac, ETH_ADDR_LEN); in HalCmdResetToFactoryMacAddress()
/drivers/peripheral/wlan/interfaces/include/
H A Dwifi_hal.h146 * @param ifeature Indicates the double pointer to the {@link IWiFiBaseFeature} object.
153 int32_t (*createFeature)(int32_t type, struct IWiFiBaseFeature **ifeature);
159 * @param ifeature Indicates the double pointer to the {@link IWiFiBaseFeature} object.
166 int32_t (*getFeatureByIfName)(const char *ifName, struct IWiFiBaseFeature **ifeature);
197 * @param ifeature Indicates the pointer to the {@link IWiFiBaseFeature} object to destroy.
204 int32_t (*destroyFeature)(struct IWiFiBaseFeature *ifeature);
/drivers/peripheral/wlan/test/fuzztest/ap_fuzzer/
H A Dap_fuzzer.cpp95 struct HdfFeatureInfo ifeature; in DoSomethingInterestingWithMyAPI() local
123 ret = g_wlanObj->CreateFeature(g_wlanObj, wlanType, &ifeature); in DoSomethingInterestingWithMyAPI()
129 ret = g_wlanObj->DestroyFeature(g_wlanObj, &ifeature); in DoSomethingInterestingWithMyAPI()
/drivers/peripheral/wlan/test/fuzztest/sta_fuzzer/
H A Dsta_fuzzer.cpp86 struct HdfFeatureInfo ifeature; in DoSomethingInterestingWithMyAPI() local
115 ret = g_wlanObj->CreateFeature(g_wlanObj, wlanType, &ifeature); in DoSomethingInterestingWithMyAPI()
121 ret = g_wlanObj->DestroyFeature(g_wlanObj, &ifeature); in DoSomethingInterestingWithMyAPI()
/drivers/peripheral/wlan/hal/include/
H A Dwifi_hal_common.h32 struct IWiFiBaseFeature *ifeature; member
H A Dwifi_hal_cmd.h47 int32_t HalCmdGetFeatureByIfName(const char *ifName, struct IWiFiBaseFeature **ifeature);

Completed in 8 milliseconds