diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-01-27 02:08:30 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-01-27 02:08:30 +0000 |
commit | 30948433f4ab3dc40c2810287321b23fea2794f8 (patch) | |
tree | f7d99577acdc1ca1c28c0ca901fd8094175bb9b6 | |
parent | 6e02d61a4521ba3e24e3901179648eea3eb60cb1 (diff) | |
parent | 8ec08d0216fdd3d07aafcd1906d0b03d4155e77e (diff) | |
download | libhardware_legacy-30948433f4ab3dc40c2810287321b23fea2794f8.tar.gz |
Snap for 8120673 from 8ec08d0216fdd3d07aafcd1906d0b03d4155e77e to tm-release
Change-Id: I727acc7ae6030f7a3eb7e7e2accf8b93d66ab85b
-rw-r--r-- | include/hardware_legacy/wifi_hal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/hardware_legacy/wifi_hal.h b/include/hardware_legacy/wifi_hal.h index 6b8f5f6..4b4a525 100644 --- a/include/hardware_legacy/wifi_hal.h +++ b/include/hardware_legacy/wifi_hal.h @@ -909,6 +909,16 @@ typedef struct { * Trigger wifi subsystem restart to reload firmware */ wifi_error (*wifi_trigger_subsystem_restart)(wifi_handle handle); + + /** + * Invoked to set that the device is operating in an indoor environment. + * @param handle global wifi_handle + * @param isIndoor: true if the device is operating in an indoor + * environment, false otherwise. + * @return Synchronous wifi_error + */ + wifi_error (*wifi_set_indoor_state)(wifi_handle handle, bool isIndoor); + /* * when adding new functions make sure to add stubs in * hal_tool.cpp::init_wifi_stub_hal_func_table |