Loading wifi/1.6/default/wifi_legacy_hal.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -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(); Loading wifi/1.6/default/wifi_legacy_hal.h +2 −0 Original line number Diff line number Diff line Loading @@ -683,6 +683,8 @@ class WifiLegacyHal { wifi_error chreRegisterHandler(const std::string& iface_name, const ChreCallbackHandlers& handler); wifi_error enableWifiTxPowerLimits(const std::string& iface_name, bool enable); private: // Retrieve interface handles for all the available interfaces. wifi_error retrieveIfaceHandles(); Loading wifi/1.6/default/wifi_legacy_hal_stubs.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -166,6 +166,7 @@ bool initHalFuncTableWithStubs(wifi_hal_fn* hal_fn) { populateStubFor(&hal_fn->wifi_nan_rtt_chre_enable_request); populateStubFor(&hal_fn->wifi_nan_rtt_chre_disable_request); populateStubFor(&hal_fn->wifi_chre_register_handler); populateStubFor(&hal_fn->wifi_enable_tx_power_limits); return true; } } // namespace legacy_hal Loading Loading
wifi/1.6/default/wifi_legacy_hal.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -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(); Loading
wifi/1.6/default/wifi_legacy_hal.h +2 −0 Original line number Diff line number Diff line Loading @@ -683,6 +683,8 @@ class WifiLegacyHal { wifi_error chreRegisterHandler(const std::string& iface_name, const ChreCallbackHandlers& handler); wifi_error enableWifiTxPowerLimits(const std::string& iface_name, bool enable); private: // Retrieve interface handles for all the available interfaces. wifi_error retrieveIfaceHandles(); Loading
wifi/1.6/default/wifi_legacy_hal_stubs.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -166,6 +166,7 @@ bool initHalFuncTableWithStubs(wifi_hal_fn* hal_fn) { populateStubFor(&hal_fn->wifi_nan_rtt_chre_enable_request); populateStubFor(&hal_fn->wifi_nan_rtt_chre_disable_request); populateStubFor(&hal_fn->wifi_chre_register_handler); populateStubFor(&hal_fn->wifi_enable_tx_power_limits); return true; } } // namespace legacy_hal Loading