Home
last modified time | relevance | path

Searched refs:bandwidth (Results 1 - 17 of 17) sorted by relevance

/drivers/peripheral/wlan/hal/src/
H A Dwifi_hal_ap_feature.c65 static int32_t HalGetApBandwidth(const char *ifName, uint8_t *bandwidth) in HalGetApBandwidth() argument
68 int32_t ret = HalCmdGetApBandwidth(ifName, bandwidth); in HalGetApBandwidth()
H A Dwifi_hal_cmd.c326 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 Dwifi_hal_ap_feature.h101 * @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 Dap.c68 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 Dap_fuzzer.cpp55 uint8_t bandwidth; in FuzzGetApBandwidth() local
56 interface->GetApBandwidth(interface, ifName, &bandwidth); in FuzzGetApBandwidth()
/drivers/peripheral/wlan/hal/include/
H A Dwifi_hal_cmd.h48 int32_t HalCmdGetApBandwidth(const char *ifName, uint8_t *bandwidth);
/drivers/peripheral/wlan/hdi_service/service_common/
H A Dwlan_common_cmd.h68 uint8_t *bandwidth);
H A Dwlan_common_cmd.c1558 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 Dwifi_driver_client.h364 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 Dhdf_wlan_performance_test.cpp379 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 Dwlan_hdi_direct_test.cpp650 * @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 Dwlan_hdi_hal_services_c_test.cpp1004 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 Dhdf_client_test.cpp576 * @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 Dhdf_wifi_cmd.h255 * only for bandwidth 80 and an 80+80 channel
259 int32_t bandwidth; member
/drivers/peripheral/wlan/client/src/sbuf/
H A Dsbuf_cmd_adapter.c1086 int32_t ClientGetApBandwidth(const char *ifName, uint8_t *bandwidth) in ClientGetApBandwidth() argument
1108 if (!HdfSbufReadUint8(reply, bandwidth)) { in ClientGetApBandwidth()
H A Dsbuf_wpa_cmd_adapter.c185 isSerializeFailed = isSerializeFailed || !HdfSbufWriteInt32(data, apsettings->freqParams.bandwidth); in WifiCmdSetAp()
/drivers/peripheral/wlan/client/src/netlink/
H A Dnetlink_cmd_adapter.c3172 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()

Completed in 27 milliseconds