Wifi: API to set the indoor state of device
If set, it indicates that the device is operating in an indoor environment. When driver receives this indication, it can safely enable WFD GO operation on indoor channels. Bug: 207671411 Test: Manual basic wifi tests Change-Id: I970dd54f538ee85d76d702b1ce36432bad901602
This commit is contained in:
parent
60d787cd15
commit
8ec08d0216
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue