From e17107912c8ef24dad8dd2407b71a2541a5b34e8 Mon Sep 17 00:00:00 2001 From: Shivani Baranwal Date: Wed, 7 Jan 2026 16:08:44 +0530 Subject: [PATCH] Add QCA driver feature flag for P2P assisted DFS support 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 --- src/common/qca-vendor.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index a1f98257a..6743f1bc8 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -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 */ }; -- 2.47.3