]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add QCA driver feature flag for P2P assisted DFS support
authorShivani Baranwal <shivbara@qti.qualcomm.com>
Wed, 7 Jan 2026 10:38:44 +0000 (16:08 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 9 Jan 2026 10:28:22 +0000 (12:28 +0200)
Add QCA_WLAN_VENDOR_FEATURE_SUPPORT_P2P_ASSISTED_DFS feature flag to
indicate that the driver supports AP assisted DFS channel operation
for P2P connections.

This feature flag allows userspace applications to determine if the
driver can handle P2P operations as a P2P GO on DFS channels with
assistance from a DFS AP, enabling DFS channels usage for P2P.

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

index a1f98257ab48ca9a15eb9210b07a3c2498b29967..6743f1bc85bcea169dd031917c4e9b7e5f6e98d6 100644 (file)
@@ -2515,7 +2515,15 @@ enum qca_wlan_vendor_acs_hw_mode {
  * @QCA_WLAN_VENDOR_FEATURE_SUPPORT_STA_DFS_CH_SCC_P2P: Flag indicates driver
  *     support for SCC (Single Channel Concurrency) with a STA connected
  *     DFS channel for P2P.
-
+ *
+ * @QCA_WLAN_VENDOR_FEATURE_SUPPORT_P2P_ASSISTED_DFS: Flag indicates that the
+ *     driver supports AP assisted DFS channel operation for P2P.
+ *     When this feature is advertised, the driver stops transmitting Data
+ *     frames on DFS channel and initiates Channel Switch Announcement on any
+ *     P2P GO interface to connected P2P Clients present in the P2P Group
+ *     immediately after receiving a Channel Switch Announcement from the
+ *     connected DFS AP on its STA interface.
+ *
  * @NUM_QCA_WLAN_VENDOR_FEATURES: Number of assigned feature bits
  */
 enum qca_wlan_vendor_features {
@@ -2553,6 +2561,7 @@ enum qca_wlan_vendor_features {
        QCA_WLAN_VENDOR_FEATURE_SUPPORT_USER_SCENARIO_TO_DSI_MAPPING = 31,
        QCA_WLAN_VENDOR_FEATURE_SUPPORT_STA_INDOOR_CH_SCC = 32,
        QCA_WLAN_VENDOR_FEATURE_SUPPORT_STA_DFS_CH_SCC_P2P = 33,
+       QCA_WLAN_VENDOR_FEATURE_SUPPORT_P2P_ASSISTED_DFS = 34,
        NUM_QCA_WLAN_VENDOR_FEATURES /* keep last */
 };