Home
last modified time | relevance | path

Searched refs:SetPowerMode (Results 1 - 25 of 26) sorted by relevance

12

/drivers/peripheral/wlan/chip/hdi_service/
H A Dwifi_ap_iface.cpp116 int32_t WifiApIface::SetPowerMode(int32_t powerMode) in SetPowerMode() function in OHOS::HDI::Wlan::Chip::V1_0::WifiApIface
118 WifiError status = vendorHal_.lock()->SetPowerMode(ifname_, powerMode); in SetPowerMode()
H A Dwifi_ap_iface.h47 int32_t SetPowerMode(int32_t powerMode) override;
H A Dwifi_sta_iface.h46 int32_t SetPowerMode(int32_t powerMode) override;
H A Dwifi_p2p_iface.cpp84 int32_t WifiP2pIface::SetPowerMode(int32_t powerMode) in SetPowerMode() function in OHOS::HDI::Wlan::Chip::V1_0::WifiP2pIface
H A Dwifi_ext_iface.cpp84 int32_t WifiExtIface::SetPowerMode(int32_t powerMode) in SetPowerMode() function in OHOS::HDI::Wlan::Chip::V1_0::WifiExtIface
H A Dwifi_p2p_iface.h45 int32_t SetPowerMode(int32_t powerMode) override;
H A Dwifi_ext_iface.h45 int32_t SetPowerMode(int32_t powerMode) override;
H A Dwifi_vendor_hal.h57 WifiError SetPowerMode(const std::string& ifaceName, int mode);
H A Dwifi_sta_iface.cpp108 int32_t WifiStaIface::SetPowerMode(int32_t powerMode) in SetPowerMode() function in OHOS::HDI::Wlan::Chip::V1_0::WifiStaIface
H A Dwifi_vendor_hal.cpp327 WifiError WifiVendorHal::SetPowerMode(const std::string& ifaceName, int mode) in SetPowerMode() function in OHOS::HDI::Wlan::Chip::V1_0::WifiVendorHal
/drivers/peripheral/wlan/test/unittest/chip/
H A Dwifi_hal_fn.cpp94 WifiError SetPowerMode(const char *ifName, int mode) in SetPowerMode() function
210 fn->setPowerMode = SetPowerMode; in InitWifiHalFuncTable()
H A Dwifi_vendor_hal_test.cpp71 wifiVendorHalTest->SetPowerMode(VAILD_IFNAME, 0); in StartTest()
H A Dwifi_ap_iface_test.cpp187 EXPECT_TRUE(apIface->SetPowerMode(0) == HDF_SUCCESS); in HWTEST_F()
H A Dwifi_sta_iface_test.cpp121 EXPECT_TRUE(staIface->SetPowerMode(0) == HDF_ERR_NOT_SUPPORT); in HWTEST_F()
H A Dwifi_p2p_iface_test.cpp116 EXPECT_TRUE(p2pIface->SetPowerMode(0) == HDF_ERR_NOT_SUPPORT); in HWTEST_F()
/drivers/peripheral/wlan/hdi_service/
H A Dwlan_interface_service.c63 service->interface.SetPowerMode = WlanInterfaceSetPowerMode; in WlanInterfaceImplGetInstance()
/drivers/peripheral/wlan/test/unittest/client/
H A Dhdf_client_test.cpp407 ret = SetPowerMode(ifNameInvalid, WIFI_POWER_MODE_SLEEPING);
409 ret = SetPowerMode(WLAN_IFNAME, WIFI_POWER_MODE_SLEEPING);
424 ret = SetPowerMode(WLAN_IFNAME, WIFI_POWER_MODE_GENERAL);
439 ret = SetPowerMode(WLAN_IFNAME, WIFI_POWER_MODE_THROUGH_WALL);
454 ret = SetPowerMode(WLAN_IFNAME, WIFI_POWER_MODE_NUM);
/drivers/peripheral/wlan/test/hdi_service/
H A Dwlan_hdi_hal_services_c_test.cpp387 rc = g_wlanObj->SetPowerMode(g_wlanObj, &ifeature, mode); in HWTEST_F()
672 rc = g_wlanObj->SetPowerMode(g_wlanObj, &ifeature, mode); in HWTEST_F()
693 rc = g_wlanObj->SetPowerMode(g_wlanObj, &ifeature, mode); in HWTEST_F()
714 rc = g_wlanObj->SetPowerMode(g_wlanObj, &ifeature, mode); in HWTEST_F()
734 rc = g_wlanObj->SetPowerMode(g_wlanObj, &ifeature, mode); in HWTEST_F()
755 rc = g_wlanObj->SetPowerMode(g_wlanObj, &ifeature, mode); in HWTEST_F()
776 rc = g_wlanObj->SetPowerMode(g_wlanObj, &ifeature, mode); in HWTEST_F()
797 rc = g_wlanObj->SetPowerMode(g_wlanObj, &ifeature, mode); in HWTEST_F()
H A Dwlan_hdi_direct_test.cpp593 int32_t rc = g_wlanObj->SetPowerMode(g_wlanObj, nullptr, mode); in HWTEST_F()
596 rc = g_wlanObj->SetPowerMode(g_wlanObj, &ifeature, mode); in HWTEST_F()
599 rc = g_wlanObj->SetPowerMode(g_wlanObj, &ifeature, mode); in HWTEST_F()
/drivers/hdf_core/framework/include/wifi/
H A Dwifi_mac80211_ops.h631 int32_t (*SetPowerMode)(struct NetDevice *netDev, uint8_t mode); member
/drivers/peripheral/wlan/test/fuzztest/
H A Dwlan_common_fuzzer.cpp177 interface->SetPowerMode(interface, &feature, mode); in FuzzSetPowerMode()
/drivers/peripheral/wlan/client/include/
H A Dwifi_driver_client.h355 int32_t SetPowerMode(const char *ifName, uint8_t mode);
/drivers/peripheral/wlan/hal/src/
H A Dwifi_hal.c311 return SetPowerMode(ifName, mode); in SetPowerModeInner()
/drivers/hdf_core/framework/model/network/wifi/core/module/
H A Dwifi_base.c1482 if (chipDriver->ops->SetPowerMode == NULL) { in HdfdWlanSetPowerMode()
1483 HDF_LOGE("%s: chipDriver->ops->SetPowerMode is null\r\n", __func__); in HdfdWlanSetPowerMode()
1486 return chipDriver->ops->SetPowerMode(netdev, mode); in HdfdWlanSetPowerMode()
/drivers/peripheral/wlan/client/src/sbuf/
H A Dsbuf_cmd_adapter.c785 int32_t SetPowerMode(const char *ifName, uint8_t mode) in SetPowerMode() function

Completed in 19 milliseconds

12