b33c5ecbf3ba3d67bb94aa9cc54a864ce8c6f19b

In the AFC Enterprise mode, the AFC response-payload may need to be reset from host. The payload reset is done by sending WMI_SERVICE_AFC_RESET_SUPPORT subtype in the WMI_AFC_CMD to the target. In response, the target sends the WMI_AFC_EVENT_TIMER_EXPIRY event with WMI_AFC_EXPIRY_EVENT_SWITCH_TO_LOW_POWER_MODE (in indoor deployment) or WMI_EXPIRY_EVENT WMI_AFC_EXPIRY_EVENT_STOP_TX (in outdoor deployment) event subtype to the host. Earlier, the WMI_AFC_EVENT_TIMER_EXPIRY event was sent only in non-enterprise mode. Now, since it can be sent for both enterprise and non-enterprise mode, we need to take care of 'afc_reg no action", which is mandatory in case of enterprise mode. Therefore, implement the following changes: 1) Call trigger_acs_for_afc only if afc_reg_no_action is not set. 2) Send the AFC payload reset event during SWITCH_TO_LPI and STOP_TX event, and free the AFC payload received from the target. 3) Add APIs to register a callback to send the AFC payload reset event. Change-Id: Ib5b3a6f51bbdf2061460fd957ca3c0ba66f23fa9 CRs-Fixed: 3462953
This is CNSS WLAN Host Driver for products starting from iHelium
儲存庫描述
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%