qcacmn: Add QDF abstraction for FW rejuvenate event
During FW rejuvenate, a message needs to be sent to IPA driver to indicate of the event's occurrence. Add a QDF abstraction for the FW rejuvenate event to be sent as a message to IPA driver. Change-Id: I3ffa220234f9690306c408a24ddd31ac94015124 CRs-Fixed: 2290656
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
* @QDF_SWITCH_TO_MCC: WLAN interfaces in mcc mode
|
||||
* @QDF_WDI_ENABLE: WDI enable complete
|
||||
* @QDF_WDI_DISABLE: WDI teardown
|
||||
* @QDF_FWR_SSR_BEFORE_SHUTDOWN: WLAN FW recovery
|
||||
* @QDF_IPA_WLAN_EVENT_MAX: Max value for the enum
|
||||
*/
|
||||
typedef enum {
|
||||
@@ -48,6 +49,7 @@ typedef enum {
|
||||
QDF_SWITCH_TO_MCC,
|
||||
QDF_WDI_ENABLE,
|
||||
QDF_WDI_DISABLE,
|
||||
QDF_FWR_SSR_BEFORE_SHUTDOWN,
|
||||
QDF_IPA_WLAN_EVENT_MAX
|
||||
} qdf_ipa_wlan_event;
|
||||
|
||||
|
@@ -63,6 +63,9 @@ static enum ipa_wlan_event __qdf_to_ipa_wlan_event(int qdf_ipa_event)
|
||||
case QDF_WDI_DISABLE:
|
||||
ipa_event = WLAN_WDI_DISABLE;
|
||||
break;
|
||||
case QDF_FWR_SSR_BEFORE_SHUTDOWN:
|
||||
ipa_event = WLAN_FWR_SSR_BEFORE_SHUTDOWN;
|
||||
break;
|
||||
case QDF_IPA_WLAN_EVENT_MAX:
|
||||
default:
|
||||
ipa_event = IPA_WLAN_EVENT_MAX;
|
||||
|
Reference in New Issue
Block a user