wlan: SAPHT40 2.4GHz: Add new message type for setting HT20/40 mode
To update the SAP/P2P GO from HT20 to HT40 or viceversa,
a new message type for setting HT20/40 mode of SAP/P2P GO
is added. When SAP/P2P GO HT20/40 mode is changed, a message
is sent to Lim in order to change the beacon content accordingly.
Change-Id: Ic8a85ec17beb21cbc158818b43d498eedc1f440c
CRs-Fixed: 756593
diff --git a/CORE/MAC/inc/sirApi.h b/CORE/MAC/inc/sirApi.h
index 97c96c8..28e34d3 100644
--- a/CORE/MAC/inc/sirApi.h
+++ b/CORE/MAC/inc/sirApi.h
@@ -3422,6 +3422,17 @@
tANI_U8 sessionId; // Session ID
} tSirChangeBIParams, *tpSirChangeBIParams;
+#ifdef WLAN_FEATURE_AP_HT40_24G
+typedef struct sSirSetHT2040Mode
+{
+ tANI_U16 messageType;
+ tANI_U16 length;
+ tANI_U8 cbMode;
+ tSirMacAddr bssId;
+ tANI_U8 sessionId; // Session ID
+} tSirSetHT2040Mode, *tpSirSetHT2040Mode;
+#endif
+
typedef struct sSirOBSSHT40Param
{
tANI_U16 OBSSScanPassiveDwellTime;
diff --git a/CORE/MAC/inc/wniApi.h b/CORE/MAC/inc/wniApi.h
index d90c8a9..6d95108 100644
--- a/CORE/MAC/inc/wniApi.h
+++ b/CORE/MAC/inc/wniApi.h
@@ -383,6 +383,9 @@
#endif /* FEATURE_WLAN_CH_AVOID */
eWNI_SME_HT40_OBSS_SCAN_IND, /* START and UPDATE OBSS SCAN Indication*/
eWNI_SME_HT40_STOP_OBSS_SCAN_IND, /* STOP OBSS SCAN indication */
+#ifdef WLAN_FEATURE_AP_HT40_24G
+ eWNI_SME_SET_HT_2040_MODE, /* HT 20/40 indication in SAP case for 2.4GHz*/
+#endif
eWNI_SME_MAC_SPOOF_ADDR_IND,
eWNI_SME_MSG_TYPES_END
};