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: I18bacb93b8587330d4f6f849cf04cb9f3661ef7b
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:50:59 +00:00 committed by Automerger Merge Worker
commit 987d8ecbe5

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