/drivers/peripheral/wlan/hal/src/ |
H A D | wifi_hal_ap_feature.c | 65 static int32_t HalGetApBandwidth(const char *ifName, uint8_t *bandwidth) in HalGetApBandwidth() argument 68 int32_t ret = HalCmdGetApBandwidth(ifName, bandwidth); in HalGetApBandwidth()
|
H A D | wifi_hal_cmd.c | 326 int32_t HalCmdGetApBandwidth(const char *ifName, uint8_t *bandwidth) in HalCmdGetApBandwidth() argument 328 int32_t ret = ClientGetApBandwidth(ifName, bandwidth); in HalCmdGetApBandwidth() 330 HDF_LOGE("%s: get ap bandwidth failed, code=%d", __FUNCTION__, ret); in HalCmdGetApBandwidth()
|
/drivers/peripheral/wlan/interfaces/include/ |
H A D | wifi_hal_ap_feature.h | 101 * @brief Obtain ap current bandwidth. 104 * @param bandwidth ap current bandwidth, 1(20M), 2(40M), 4(80M), 8(160M). 112 int32_t (*getApBandwidth)(const char *ifName, uint8_t *bandwidth);
|
/drivers/hdf_core/framework/model/network/wifi/core/components/softap/ |
H A D | ap.c | 68 apConf.width = apSettings->freqParams.bandwidth; in StartAp() 188 if (!HdfSbufReadInt32(reqData, &(apSettings->freqParams.bandwidth))) { in WifiFillApSettingsParams() 189 HDF_LOGE("%s: %s!ParamName=%s", __func__, ERROR_DESC_READ_REQ_FAILED, "bandwidth"); in WifiFillApSettingsParams() 468 static uint32_t OpsGetApBandwidth(const char *ifName, uint8_t *bandwidth) in OpsGetApBandwidth() argument 472 if (ifName == NULL || bandwidth == NULL) { in OpsGetApBandwidth() 496 uint8_t bandwidth; in WifiCmdGetApBandwidth() local 507 ret = OpsGetApBandwidth(ifName, &bandwidth); in WifiCmdGetApBandwidth() 512 HDF_LOGI("%s: ap bandwidth: %d", __func__, bandwidth); in WifiCmdGetApBandwidth() 513 if (!HdfSbufWriteUint8(rspData, bandwidth)) { in WifiCmdGetApBandwidth() [all...] |
/drivers/peripheral/wlan/test/fuzztest/ap_fuzzer/ |
H A D | ap_fuzzer.cpp | 55 uint8_t bandwidth; in FuzzGetApBandwidth() local 56 interface->GetApBandwidth(interface, ifName, &bandwidth); in FuzzGetApBandwidth()
|
/drivers/peripheral/wlan/hal/include/ |
H A D | wifi_hal_cmd.h | 48 int32_t HalCmdGetApBandwidth(const char *ifName, uint8_t *bandwidth);
|
/drivers/peripheral/wlan/hdi_service/service_common/ |
H A D | wlan_common_cmd.h | 68 uint8_t *bandwidth);
|
H A D | wlan_common_cmd.c | 1558 uint8_t *bandwidth)
in WlanInterfaceGetApBandwidth() 1563 if (ifName == NULL || bandwidth == NULL) {
in WlanInterfaceGetApBandwidth() 1571 ret = g_apFeature->getApBandwidth(ifName, bandwidth);
in WlanInterfaceGetApBandwidth() 1557 WlanInterfaceGetApBandwidth(struct IWlanInterface *self, const char *ifName, uint8_t *bandwidth) WlanInterfaceGetApBandwidth() argument
|
/drivers/peripheral/wlan/client/include/ |
H A D | wifi_driver_client.h | 364 int32_t ClientGetApBandwidth(const char *ifName, uint8_t *bandwidth); 395 * only for bandwidth 80 and an 80+80 channel 399 int32_t bandwidth; member
|
/drivers/peripheral/wlan/test/performance/common/ |
H A D | hdf_wlan_performance_test.cpp | 379 uint8_t bandwidth = 0;
in HWTEST_F() local 385 ret = apFeature->getApBandwidth(apFeature->baseFeature.ifName, &bandwidth);
in HWTEST_F()
|
/drivers/peripheral/wlan/test/hdi_service/ |
H A D | wlan_hdi_direct_test.cpp | 650 * @tc.desc: Wifi hdi get ap bandwidth info function test
657 uint8_t bandwidth = 0;
in HWTEST_F() local 660 rc = g_wlanObj->GetApBandwidth(g_wlanObj, nullptr, &bandwidth);
in HWTEST_F() 664 rc = g_wlanObj->GetApBandwidth(g_wlanObj, ifName, &bandwidth);
in HWTEST_F()
|
H A D | wlan_hdi_hal_services_c_test.cpp | 1004 chanInfo.bandwidth = 80;
in HWTEST_F() 1275 * @tc.desc: Wifi hdi get AP bandwidth function test
1281 uint8_t bandwidth = 0;
in HWTEST_F() local 1289 rc = g_wlanObj->GetApBandwidth(g_wlanObj, nullptr, &bandwidth);
in HWTEST_F() 1292 rc = g_wlanObj->GetApBandwidth(g_wlanObj, ifName, &bandwidth);
in HWTEST_F() 1296 printf("bandwidth: %u\n", bandwidth);
in HWTEST_F()
|
/drivers/peripheral/wlan/test/unittest/client/ |
H A D | hdf_client_test.cpp | 576 * @tc.desc: client get ap bandwidth function test 584 uint8_t bandwidth = 0; 586 ret = ClientGetApBandwidth(nullptr, &bandwidth); 590 ret = ClientGetApBandwidth(ifNameInvalid, &bandwidth);
|
/drivers/hdf_core/framework/model/network/wifi/include/ |
H A D | hdf_wifi_cmd.h | 255 * only for bandwidth 80 and an 80+80 channel 259 int32_t bandwidth; member
|
/drivers/peripheral/wlan/client/src/sbuf/ |
H A D | sbuf_cmd_adapter.c | 1086 int32_t ClientGetApBandwidth(const char *ifName, uint8_t *bandwidth) in ClientGetApBandwidth() argument 1108 if (!HdfSbufReadUint8(reply, bandwidth)) { in ClientGetApBandwidth()
|
H A D | sbuf_wpa_cmd_adapter.c | 185 isSerializeFailed = isSerializeFailed || !HdfSbufWriteInt32(data, apsettings->freqParams.bandwidth);
in WifiCmdSetAp()
|
/drivers/peripheral/wlan/client/src/netlink/ |
H A D | netlink_cmd_adapter.c | 3172 int32_t ClientGetApBandwidth(const char *ifName, uint8_t *bandwidth) in ClientGetApBandwidth() argument 3174 if (ifName == NULL || bandwidth == NULL) { in ClientGetApBandwidth() 3189 *bandwidth = *out.buf; in ClientGetApBandwidth() 3191 HILOG_INFO(LOG_CORE, "%s: AP bandwidth: %d", __FUNCTION__, *bandwidth); in ClientGetApBandwidth()
|