Home
last modified time | relevance | path

Searched refs:apFeature (Results 1 - 4 of 4) sorted by relevance

/drivers/peripheral/wlan/hal/src/
H A Dwifi_hal_ap_feature.c29 static int32_t GetAssociatedStasInner(const struct IWiFiAp *apFeature, in GetAssociatedStasInner() argument
32 if (apFeature == NULL || staInfo == NULL || size == 0 || num == NULL) { in GetAssociatedStasInner()
36 return HalCmdGetAssociatedStas(apFeature->baseFeature.ifName, staInfo, size, num); in GetAssociatedStasInner()
39 static int32_t SetCountryCodeInner(const struct IWiFiAp *apFeature, const char *code, uint32_t len) in SetCountryCodeInner() argument
41 if (apFeature == NULL || code == NULL || len != strlen(code)) { in SetCountryCodeInner()
45 return HalCmdSetCountryCode(apFeature->baseFeature.ifName, code, len); in SetCountryCodeInner()
48 static int32_t HalGetAssociatedStas(const struct IWiFiAp *apFeature, in HalGetAssociatedStas() argument
52 int32_t ret = GetAssociatedStasInner(apFeature, staInfo, count, num); in HalGetAssociatedStas()
57 static int32_t HalSetCountryCode(const struct IWiFiAp *apFeature, const char *code, uint32_t len) in HalSetCountryCode() argument
60 int32_t ret = SetCountryCodeInner(apFeature, cod in HalSetCountryCode()
[all...]
/drivers/peripheral/wlan/test/unittest/hal/
H A Dwifi_hal_test.cpp146 struct IWiFiAp *apFeature = nullptr; in HWTEST_F() local
148 ret = g_wifi->createFeature(PROTOCOL_80211_IFTYPE_AP, (struct IWiFiBaseFeature **)&apFeature); in HWTEST_F()
150 EXPECT_NE(nullptr, apFeature); in HWTEST_F()
153 ret = g_wifi->destroyFeature((struct IWiFiBaseFeature *)apFeature); in HWTEST_F()
188 struct IWiFiAp *apFeature = nullptr; in HWTEST_F() local
192 ret = g_wifi->createFeature(PROTOCOL_80211_IFTYPE_AP, (struct IWiFiBaseFeature **)&apFeature); in HWTEST_F()
194 EXPECT_NE(nullptr, apFeature); in HWTEST_F()
199 ret = g_wifi->getFeatureByIfName(apFeature->baseFeature.ifName, (struct IWiFiBaseFeature **)&apFeatureGet); in HWTEST_F()
202 ret = g_wifi->destroyFeature((struct IWiFiBaseFeature *)apFeature); in HWTEST_F()
267 struct IWiFiAp *apFeature in HWTEST_F() local
296 struct IWiFiAp *apFeature = nullptr; HWTEST_F() local
319 struct IWiFiAp *apFeature = nullptr; HWTEST_F() local
387 struct IWiFiAp *apFeature = nullptr; HWTEST_F() local
445 struct IWiFiAp *apFeature = nullptr; HWTEST_F() local
477 struct IWiFiAp *apFeature = nullptr; HWTEST_F() local
[all...]
/drivers/peripheral/wlan/test/performance/common/
H A Dhdf_wlan_performance_test.cpp167 struct IWiFiAp *apFeature = nullptr; in HWTEST_F() local
173 ret = g_wifi->createFeature(PROTOCOL_80211_IFTYPE_AP, (struct IWiFiBaseFeature **)&apFeature); in HWTEST_F()
175 EXPECT_NE(nullptr, apFeature); in HWTEST_F()
176 ret = apFeature->baseFeature.getDeviceMacAddress((struct IWiFiBaseFeature *)apFeature, nullptr, 0); in HWTEST_F()
178 ret = apFeature->baseFeature.getDeviceMacAddress((struct IWiFiBaseFeature *)apFeature, mac, ETH_ADDR_LEN - 1); in HWTEST_F()
181 ret = apFeature->baseFeature.getDeviceMacAddress((struct IWiFiBaseFeature *)apFeature, mac, ETH_ADDR_LEN); in HWTEST_F()
188 ret = g_wifi->destroyFeature((struct IWiFiBaseFeature *)apFeature); in HWTEST_F()
237 struct IWiFiAp *apFeature = nullptr; HWTEST_F() local
273 struct IWiFiAp *apFeature = nullptr; HWTEST_F() local
375 struct IWiFiAp *apFeature = nullptr; HWTEST_F() local
[all...]
/drivers/peripheral/wlan/interfaces/include/
H A Dwifi_hal_ap_feature.h73 * @param apFeature Indicates the pointer to the AP feature, as described in {@link IWiFiAp}.
83 int32_t (*getAssociatedStas)(const struct IWiFiAp *apFeature, struct StaInfo *staInfo,
89 * @param apFeature Indicates the pointer to the AP feature, as described in {@link IWiFiAp}.
98 int32_t (*setCountryCode)(const struct IWiFiAp *apFeature, const char *code, uint32_t len);

Completed in 2 milliseconds