Home
last modified time | relevance | path

Searched refs:staInfo (Results 1 - 14 of 14) sorted by relevance

/drivers/peripheral/wlan/hal/src/
H A Dwifi_hal_ap_feature.c30 struct StaInfo *staInfo, uint32_t size, uint32_t *num) in GetAssociatedStasInner()
32 if (apFeature == NULL || staInfo == NULL || size == 0 || num == NULL) { in GetAssociatedStasInner()
36 return HalCmdGetAssociatedStas(apFeature->baseFeature.ifName, staInfo, size, num); in GetAssociatedStasInner()
49 struct StaInfo *staInfo, uint32_t count, uint32_t *num) in HalGetAssociatedStas()
52 int32_t ret = GetAssociatedStasInner(apFeature, staInfo, count, num); in HalGetAssociatedStas()
29 GetAssociatedStasInner(const struct IWiFiAp *apFeature, struct StaInfo *staInfo, uint32_t size, uint32_t *num) GetAssociatedStasInner() argument
48 HalGetAssociatedStas(const struct IWiFiAp *apFeature, struct StaInfo *staInfo, uint32_t count, uint32_t *num) HalGetAssociatedStas() argument
H A Dwifi_hal_cmd.c186 int32_t HalCmdGetAssociatedStas(const char *ifName, struct StaInfo *staInfo, uint32_t count, uint32_t *num) in HalCmdGetAssociatedStas() argument
200 if (memcpy_s(staInfo, count * sizeof(*staInfo), result.infos, in HalCmdGetAssociatedStas()
202 HDF_LOGE("%s: memcpy staInfo failed", __FUNCTION__); in HalCmdGetAssociatedStas()
/drivers/peripheral/wlan/client/src/sbuf/
H A Dsbuf_event_adapter.c34 WifiNewStaInfo staInfo; in WifiEventNewStaProcess() local
37 if (!HdfSbufReadInt32(reqData, &staInfo.reassoc)) { in WifiEventNewStaProcess()
41 if (!HdfSbufReadBuffer(reqData, (const void **)(&staInfo.ie), &staInfo.ieLen)) { in WifiEventNewStaProcess()
45 if (!HdfSbufReadBuffer(reqData, (const void **)(&staInfo.macAddr), &len) || (len != ETH_ADDR_LEN)) { in WifiEventNewStaProcess()
49 WifiEventReport(ifName, event, &staInfo); in WifiEventNewStaProcess()
/drivers/hdf_core/framework/model/network/wifi/core/components/softap/
H A Dap.c142 static uint32_t GetAssociatedStasInfo(struct NetDevice *netDev, WifiStaInfo *staInfo, uint32_t num) in GetAssociatedStasInfo() argument
150 return chipDriver->apOps->GetAssociatedStasInfo(netDev, staInfo, num); in GetAssociatedStasInfo()
376 WifiStaInfo *staInfo = NULL; in GetAssociatedStas() local
377 staInfo = (WifiStaInfo *)OsalMemCalloc(sizeof(WifiStaInfo) * num); in GetAssociatedStas()
378 if (staInfo == NULL) { in GetAssociatedStas()
382 ret = GetAssociatedStasInfo(netdev, staInfo, num); in GetAssociatedStas()
385 OsalMemFree(staInfo); in GetAssociatedStas()
388 if (!HdfSbufWriteBuffer(rspData, staInfo, sizeof(WifiStaInfo) * num)) { in GetAssociatedStas()
390 OsalMemFree(staInfo); in GetAssociatedStas()
393 OsalMemFree(staInfo); in GetAssociatedStas()
[all...]
/drivers/peripheral/wlan/interfaces/include/
H A Dwifi_hal_ap_feature.h74 * @param staInfo Indicates the pointer to the information about the STAs connected to the AP.
75 * @param count Indicates the number of elements in the staInfo structure array.
83 int32_t (*getAssociatedStas)(const struct IWiFiAp *apFeature, struct StaInfo *staInfo,
/drivers/peripheral/wlan/test/fuzztest/ap_fuzzer/
H A Dap_fuzzer.cpp31 struct HdfStaInfo staInfo[WLAN_MAX_NUM_STA_WITH_AP] = {{0}}; in FuzzGetAssociatedStas() local
36 interface->GetAssociatedStas(interface, &feature, staInfo, &staInfoLen, &num); in FuzzGetAssociatedStas()
/drivers/peripheral/wlan/hal/include/
H A Dwifi_hal_cmd.h37 int32_t HalCmdGetAssociatedStas(const char *ifName, struct StaInfo *staInfo, uint32_t count, uint32_t *num);
/drivers/peripheral/wlan/test/hdi_service/
H A Dwlan_hdi_direct_test.cpp163 struct HdfStaInfo staInfo[WLAN_MAX_NUM_STA_WITH_AP] = {{0}}; in HWTEST_F() local
169 int32_t rc = g_wlanObj->GetAssociatedStas(g_wlanObj, nullptr, staInfo, &staInfoLen, &num); in HWTEST_F()
172 rc = g_wlanObj->GetAssociatedStas(g_wlanObj, &ifeature, staInfo, &staInfoLen, &num); in HWTEST_F()
177 rc = g_wlanObj->GetAssociatedStas(g_wlanObj, &ifeature, staInfo, nullptr, &num); in HWTEST_F()
179 rc = g_wlanObj->GetAssociatedStas(g_wlanObj, &ifeature, staInfo, &staInfoLen, nullptr); in HWTEST_F()
181 rc = g_wlanObj->GetAssociatedStas(g_wlanObj, &ifeature, staInfo, &staInfoLen, &num); in HWTEST_F()
H A Dwlan_hdi_hal_services_c_test.cpp484 struct HdfStaInfo staInfo[WLAN_MAX_NUM_STA_WITH_AP] = {{0}}; in HWTEST_F() local
490 rc = g_wlanObj->GetAssociatedStas(g_wlanObj, &ifeature, staInfo, &staInfoLen, &num); in HWTEST_F()
/drivers/peripheral/wlan/hdi_service/service_common/
H A Dwlan_common_cmd.h25 struct HdfStaInfo *staInfo, uint32_t *staInfoLen, uint32_t *num);
H A Dwlan_common_cmd.c215 struct HdfStaInfo *staInfo, uint32_t *staInfoLen, uint32_t *num) in WlanInterfaceGetAssociatedStas()
220 if (ifeature == NULL || ifeature->ifName == NULL || staInfo == NULL || staInfoLen == NULL || num == NULL) { in WlanInterfaceGetAssociatedStas()
246 staInfo[i].mac = (uint8_t *)OsalMemCalloc(sizeof(uint8_t) * ETH_ADDR_LEN); in WlanInterfaceGetAssociatedStas()
247 if (staInfo[i].mac != NULL) { in WlanInterfaceGetAssociatedStas()
248 if (memcpy_s(staInfo[i].mac, WIFI_MAC_ADDR_LENGTH, wifiStaInfo[i].mac, WIFI_MAC_ADDR_LENGTH) != EOK) { in WlanInterfaceGetAssociatedStas()
253 staInfo[i].macLen = WIFI_MAC_ADDR_LENGTH; in WlanInterfaceGetAssociatedStas()
214 WlanInterfaceGetAssociatedStas(struct IWlanInterface *self, const struct HdfFeatureInfo *ifeature, struct HdfStaInfo *staInfo, uint32_t *staInfoLen, uint32_t *num) WlanInterfaceGetAssociatedStas() argument
/drivers/peripheral/wlan/test/performance/common/
H A Dhdf_wlan_performance_test.cpp274 struct StaInfo staInfo[WLAN_MAX_NUM_STA_WITH_AP] = {{0}}; in HWTEST_F() local
293 ret = apFeature->getAssociatedStas(apFeature, staInfo, WLAN_MAX_NUM_STA_WITH_AP, &num); in HWTEST_F()
/drivers/hdf_core/framework/include/wifi/
H A Dwifi_mac80211_ops.h904 * @param staInfo Indicates the pointer to the information about the associated stations.
912 int32_t (*GetAssociatedStasInfo)(NetDevice *netDev, WifiStaInfo *staInfo, uint32_t num);
/drivers/peripheral/wlan/test/unittest/hal/
H A Dwifi_hal_test.cpp1325 struct StaInfo staInfo[MAX_ASSOC_STA_NUM];
1326 (void)memset_s(staInfo, sizeof(StaInfo) * MAX_ASSOC_STA_NUM, 0, sizeof(StaInfo) * MAX_ASSOC_STA_NUM);
1332 ret = apFeature->getAssociatedStas(nullptr, staInfo, MAX_ASSOC_STA_NUM, &num);
1336 ret = apFeature->getAssociatedStas(apFeature, staInfo, 0, &num);
1338 ret = apFeature->getAssociatedStas(apFeature, staInfo, MAX_ASSOC_STA_NUM, nullptr);
1340 ret = apFeature->getAssociatedStas(apFeature, staInfo, MAX_ASSOC_STA_NUM, &num);

Completed in 15 milliseconds