]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add QCA vendor attribute to allow SCC with STA connected indoor channel
authorShivani Baranwal <shivbara@qti.qualcomm.com>
Thu, 21 Aug 2025 09:10:20 +0000 (14:40 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 12 Sep 2025 19:08:36 +0000 (22:08 +0300)
Define config attributes to support STA connected indoor channel for
peer network like SAP, P2P GO, and NAN. Add a new feature flag
@QCA_WLAN_VENDOR_FEATURE_SUPPORT_STA_INDOOR_CH_SCC for the driver to
indicate STA connected indoor channel SCC support.

Signed-off-by: Shivani Baranwal <shivbara@qti.qualcomm.com>
src/common/qca-vendor.h

index 64f81db71ad51ff8b80dd5b7acaa0901c5cea9fd..ba8b85d9b6910a410f8b5f6731b6bcebccf5d4fb 100644 (file)
@@ -2485,6 +2485,10 @@ enum qca_wlan_vendor_acs_hw_mode {
  * @QCA_WLAN_VENDOR_FEATURE_SUPPORT_USER_SCENARIO_TO_DSI_MAPPING: Flag indicates
  *  that the driver supports enabling the user scenario to DSI index mapping.
  *
+ * @QCA_WLAN_VENDOR_FEATURE_SUPPORT_STA_INDOOR_CH_SCC: Flag indicates driver
+ *     support for SCC (Single Channel Concurrency) with a STA connected
+ *     indoor channel for P2P GO, SAP, and NAN.
+ *
  * @NUM_QCA_WLAN_VENDOR_FEATURES: Number of assigned feature bits
  */
 enum qca_wlan_vendor_features {
@@ -2520,6 +2524,7 @@ enum qca_wlan_vendor_features {
        QCA_WLAN_VENDOR_FEATURE_PCC_MODE = 29,
        QCA_WLAN_VENDOR_FEATURE_SUPPORT_TX_POWER_LIMIT = 30,
        QCA_WLAN_VENDOR_FEATURE_SUPPORT_USER_SCENARIO_TO_DSI_MAPPING = 31,
+       QCA_WLAN_VENDOR_FEATURE_SUPPORT_STA_INDOOR_CH_SCC = 32,
        NUM_QCA_WLAN_VENDOR_FEATURES /* keep last */
 };
 
@@ -4105,6 +4110,18 @@ enum qca_wlan_vendor_attr_config {
         */
        QCA_WLAN_VENDOR_ATTR_CONFIG_TX_CHAIN_MASK_5GHZ = 138,
 
+       /* 8-bit unsigned value to enable or disable the feature to allow
+        * SCC with STA connected indoor channel for P2P GO, SAP, and NAN
+        * to the driver in STA mode. This configuration is applicable only
+        * when a STA interface is in connected state.
+        * When the STA disconnects, any P2P_GO/SAP/NAN interface present in
+        * SCC with STA connected indoor channel will re-evaluate its operating
+        * channel and either remain on the current channel or switch to other
+        * valid channel, depending on regulatory and underlying driver policy.
+        * 1 - Enable, 0 - Disable.
+        */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_ALLOW_STA_INDOOR_CH_SCC = 139,
+
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =