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

Commit 1102e809 authored by Mohammed Javid's avatar Mohammed Javid
Browse files

msm: ipa: Add WLAN FW SSR event



Add WLAN FW SSR event to handle FW rejuvenate
scenario.

Change-Id: I417d46cc07f455792906a18f4b6dc8e5ca8ca3de
Acked-by: default avatarPooja Kumari <kumarip@qti.qualcomm.com>
Signed-off-by: default avatarMohammed Javid <mjavid@codeaurora.org>
parent e981a128
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -91,6 +91,7 @@ const char *ipa_event_name[] = {
	__stringify(IPA_PER_CLIENT_STATS_DISCONNECT_EVENT),
	__stringify(ADD_BRIDGE_VLAN_MAPPING),
	__stringify(DEL_BRIDGE_VLAN_MAPPING),
	__stringify(WLAN_FWR_SSR_BEFORE_SHUTDOWN),
};

const char *ipa_hdr_l2_type_name[] = {
+1 −0
Original line number Diff line number Diff line
@@ -75,6 +75,7 @@ const char *ipa3_event_name[] = {
	__stringify(IPA_PER_CLIENT_STATS_DISCONNECT_EVENT),
	__stringify(ADD_BRIDGE_VLAN_MAPPING),
	__stringify(DEL_BRIDGE_VLAN_MAPPING),
	__stringify(WLAN_FWR_SSR_BEFORE_SHUTDOWN),
};

const char *ipa3_hdr_l2_type_name[] = {
+7 −1
Original line number Diff line number Diff line
@@ -520,7 +520,13 @@ enum ipa_vlan_bridge_event {
	BRIDGE_VLAN_MAPPING_MAX
};

#define IPA_EVENT_MAX_NUM (BRIDGE_VLAN_MAPPING_MAX)
enum ipa_wlan_fw_ssr_event {
	WLAN_FWR_SSR_BEFORE_SHUTDOWN = BRIDGE_VLAN_MAPPING_MAX,
	IPA_WLAN_FW_SSR_EVENT_MAX
#define IPA_WLAN_FW_SSR_EVENT_MAX IPA_WLAN_FW_SSR_EVENT_MAX
};

#define IPA_EVENT_MAX_NUM (IPA_WLAN_FW_SSR_EVENT_MAX)
#define IPA_EVENT_MAX ((int)IPA_EVENT_MAX_NUM)

/**