Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa1abd23 authored by jitiphil's avatar jitiphil Committed by nshrivas
Browse files

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
parent d722d9e1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;

+3 −0
Original line number Diff line number Diff line
@@ -63,6 +63,9 @@ static uint8_t __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;