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

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

Change-Id: If883603c30ccbd5f4c588e43889651c0b2976f03
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 07:47:51 +00:00 committed by Automerger Merge Worker
commit 4c4dbdd53c

View file

@ -1016,6 +1016,16 @@ typedef struct {
wifi_error (*wifi_chre_register_handler)(wifi_interface_handle iface,
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
* hal_tool.cpp::init_wifi_stub_hal_func_table