diff options
author | Isaac Chiou <isaacchiou@google.com> | 2022-04-26 06:32:30 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2022-04-26 06:32:30 +0000 |
commit | 59878fddc959514b005b05158fe001521a33573c (patch) | |
tree | 70bb4d3800eb7ddb72f97a3bc2986f0989ca1eaf /wifi/1.6/default/wifi_legacy_hal.cpp | |
parent | 6498e64d810ffe8651876849aa9be52c941fe569 (diff) | |
parent | 52afeb68e3d0f2166cde4b173dd890812d01ea61 (diff) |
Merge "Add HAL APIs for TX power limits" into tm-dev
Diffstat (limited to 'wifi/1.6/default/wifi_legacy_hal.cpp')
-rw-r--r-- | wifi/1.6/default/wifi_legacy_hal.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wifi/1.6/default/wifi_legacy_hal.cpp b/wifi/1.6/default/wifi_legacy_hal.cpp index bb8cf590d9..2211897cd2 100644 --- a/wifi/1.6/default/wifi_legacy_hal.cpp +++ b/wifi/1.6/default/wifi_legacy_hal.cpp @@ -1585,6 +1585,10 @@ wifi_error WifiLegacyHal::chreRegisterHandler(const std::string& iface_name, return status; } +wifi_error WifiLegacyHal::enableWifiTxPowerLimits(const std::string& iface_name, bool enable) { + return global_func_table_.wifi_enable_tx_power_limits(getIfaceHandle(iface_name), enable); +} + void WifiLegacyHal::invalidate() { global_handle_ = nullptr; iface_name_to_handle_.clear(); |