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

Commit aa124a40 authored by Chaitanya Pratapa's avatar Chaitanya Pratapa Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa: Fix using generic name for offload connect/disconnect



ECM_CONNECT/ECM_DISCONNECT name looks specific to ECM offload
scenarios. As IPA supports other peripherals like ETH/AQC/RNDIS
use a more generic name.

Change-Id: I09bb640734f2ea0bf2d47ed95d03290db50b5770
Signed-off-by: default avatarChaitanya Pratapa <cpratapa@codeaurora.org>
parent 4dc9af7e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -695,6 +695,11 @@ enum ipa_coalesce_event {
#define IPA_COALESCE_EVENT_MAX IPA_COALESCE_EVENT_MAX
};

enum ipa_peripheral_event {
	IPA_PERIPHERAL_CONNECT = ECM_CONNECT,
	IPA_PERIPHERAL_DISCONNECT = ECM_DISCONNECT
};

#define WIGIG_CLIENT_CONNECT (IPA_COALESCE_EVENT_MAX)
#define WIGIG_FST_SWITCH (WIGIG_CLIENT_CONNECT + 1)
#define WIGIG_EVENT_MAX (WIGIG_FST_SWITCH + 1)