]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add QCA vendor feature flags to indicate RSN override elements support
authorVeerendranath Jakkam <quic_vjakkam@quicinc.com>
Tue, 28 May 2024 02:15:44 +0000 (07:45 +0530)
committerJouni Malinen <j@w1.fi>
Sat, 20 Jul 2024 18:28:28 +0000 (21:28 +0300)
Add a separate feature flag for STA mode to indicate support for RSN
override elements.

Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
src/common/qca-vendor.h

index 5b58ffb3943cc6791683eb4447d02910a6f16b52..2971be74bcbf28e6a19b49b3431fe39fb5c68306 100644 (file)
@@ -2180,6 +2180,34 @@ enum qca_wlan_vendor_acs_hw_mode {
  *     that the device supports enhanced audio experience over WLAN feature.
  * @QCA_WLAN_VENDOR_FEATURE_HT_VHT_TWT_RESPONDER: Flag indicates that the device
  *     in AP mode supports TWT responder mode in HT and VHT modes.
+ *
+ * @QCA_WLAN_VENDOR_FEATURE_RSN_OVERRIDE_STA: Flag indicates that the device
+ *     supports RSNE/RSNXE overriding in STA mode.
+ *
+ *     For SME offload to the driver case:
+ *     - Supplicant should enable RSNO element use only when the driver
+ *       indicates this feature flag.
+ *     - The driver should enable RSNO element use with the supplicant selected
+ *       BSS only when the supplicant sends an RSNO element with an empty
+ *       payload in the connect request elements buffer in NL80211_CMD_CONNECT.
+ *
+ *     For BSS selection offload to the driver case:
+ *     - Supplicant should enable RSNO element use only when the driver
+ *       indicates this feature flag.
+ *     - Supplicant should always send RSNO elements in the connect request
+ *       elements buffer in NL80211_CMD_CONNECT irrespective of whether RSNO
+ *       elements are supported by the BSS that the supplicant selected
+ *     - The driver should enable RSNO element use only when the supplicant
+ *       sends an RSNO element with an empty payload in connect request
+ *       elements in NL80211_CMD_CONNECT.
+ *     - The driver should remove RSNO elements from the connect request
+ *       elements while preparing the (Re)Association Request frame elements
+ *       if the driver selects a different BSS which is not advertising RSNO
+ *       elements.
+ *
+ *     If both SME and BSS selection offload to the driver, BSS selection
+ *     offload to the driver case rules shall be applied.
+ *
  * @NUM_QCA_WLAN_VENDOR_FEATURES: Number of assigned feature bits
  */
 enum qca_wlan_vendor_features {
@@ -2208,6 +2236,7 @@ enum qca_wlan_vendor_features {
        QCA_WLAN_VENDOR_FEATURE_AP_ALLOWED_FREQ_LIST = 22,
        QCA_WLAN_VENDOR_FEATURE_ENHANCED_AUDIO_EXPERIENCE_OVER_WLAN = 23,
        QCA_WLAN_VENDOR_FEATURE_HT_VHT_TWT_RESPONDER = 24,
+       QCA_WLAN_VENDOR_FEATURE_RSN_OVERRIDE_STA = 25,
        NUM_QCA_WLAN_VENDOR_FEATURES /* keep last */
 };