prima: SME command queue hang in TDLS Off Channel ioctl
During off channel ioctl the response was being dropped in
wda itself and not releasing the command in SME which was
causing the next command to block.
Change-Id: I53ad6f8ab393789acc7d5a29ca41d747973c4d63
CRs-Fixed: 709668
diff --git a/CORE/MAC/inc/sirApi.h b/CORE/MAC/inc/sirApi.h
index 8a32e8c..0e0ee1a 100644
--- a/CORE/MAC/inc/sirApi.h
+++ b/CORE/MAC/inc/sirApi.h
@@ -4220,6 +4220,16 @@
tSirMacAddr peerMac;
}tSirTdlsChanSwitch, *tpSirTdlsChanSwitch;
+/* TDLS Resp struct */
+typedef struct
+{
+ tANI_U16 messageType; // eWNI_SME_TDLS_CHANNEL_SWITCH_RSP
+ tANI_U16 length;
+ tANI_U8 sessionId; // Session ID
+ tANI_U16 transactionId; // Transaction ID for cmd
+ tSirResultCodes statusCode;
+ tSirMacAddr peerMac;
+}tSirTdlsChanSwitchReqRsp, *tpSirTdlsChanSwitchReqRsp;
#endif /* FEATURE_WLAN_TDLS */
#ifdef FEATURE_WLAN_TDLS_INTERNAL
diff --git a/CORE/MAC/inc/wniApi.h b/CORE/MAC/inc/wniApi.h
index 30441d7..7244112 100644
--- a/CORE/MAC/inc/wniApi.h
+++ b/CORE/MAC/inc/wniApi.h
@@ -338,6 +338,7 @@
eWNI_SME_TDLS_LINK_ESTABLISH_RSP,
// tdlsoffchan
eWNI_SME_TDLS_CHANNEL_SWITCH_REQ,
+ eWNI_SME_TDLS_CHANNEL_SWITCH_RSP,
#endif
//NOTE: If you are planning to add more mesages, please make sure that
//SIR_LIM_ITC_MSG_TYPES_BEGIN is moved appropriately. It is set as