Add HAL APIs and configurations for Tx power limits am: 4172a388c7

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/17219204

Change-Id: Ib9ebb21ba74eeae893770cf507a62b3d07b5c651
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Isaac Chiou 2022-04-26 06:52:16 +00:00 committed by Automerger Merge Worker
commit fa4cbc5801

View file

@ -1016,6 +1016,16 @@ typedef struct {
wifi_error (*wifi_chre_register_handler)(wifi_interface_handle iface, wifi_error (*wifi_chre_register_handler)(wifi_interface_handle iface,
wifi_chre_handler handler); wifi_chre_handler handler);
/**@brief wifi_enable_tx_power_limits
* Enable WiFi Tx power limis
* @param wifi_interface_handle
* @param isEnable : If enable TX limit or not
* @return Synchronous wifi_error
*/
wifi_error (*wifi_enable_tx_power_limits) (wifi_interface_handle iface,
bool isEnable);
/* /*
* when adding new functions make sure to add stubs in * when adding new functions make sure to add stubs in
* hal_tool.cpp::init_wifi_stub_hal_func_table * hal_tool.cpp::init_wifi_stub_hal_func_table