Wifi: New API to query the trigger subsystem restart am: 35390b6dff
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/13825826 Change-Id: Icfcb158a83ab6dcdfc909b75a769efe2b62b5680
This commit is contained in:
commit
e9f8f0ce53
1 changed files with 5 additions and 0 deletions
|
@ -394,6 +394,7 @@ wifi_error wifi_reset_dscp_mapping(wifi_handle handle);
|
|||
wifi_error wifi_set_subsystem_restart_handler(wifi_handle handle,
|
||||
wifi_subsystem_restart_handler handler);
|
||||
|
||||
wifi_error wifi_trigger_subsystem_restart(void);
|
||||
/**
|
||||
* Wifi HAL Thermal Mitigation API
|
||||
*
|
||||
|
@ -883,6 +884,10 @@ typedef struct {
|
|||
u32 filter_mask, u32 max_size, u32* size,
|
||||
wifi_usable_channel* channels);
|
||||
|
||||
/**
|
||||
* Trigger wifi subsystem restart to reload firmware
|
||||
*/
|
||||
wifi_error (*wifi_trigger_subsystem_restart)(void);
|
||||
/*
|
||||
* 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