From 5758d0929492fc451cdf7219819dad54e77d91b6 Mon Sep 17 00:00:00 2001 From: Veerendranath Jakkam Date: Thu, 6 Jan 2022 12:36:21 +0530 Subject: [PATCH] Add a QCA vendor attribute to indicate ACS over EHT Add QCA_WLAN_VENDOR_ATTR_ACS_EHT_ENABLED flag attribute to conduct ACS for EHT mode. The driver can consider EHT specific parameters such as puncture pattern for ACS when this flag attribute is indicated by userspace. Signed-off-by: Veerendranath Jakkam --- src/common/qca-vendor.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index d9eab0212..44842c8f2 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -1462,6 +1462,11 @@ enum qca_wlan_vendor_attr_p2p_listen_offload { * Used with event to notify the puncture pattern selected in ACS operation. * Encoding for this attribute will follow the convention used in the Disabled * Subchannel Bitmap field of the EHT Operation IE. + * + * @QCA_WLAN_VENDOR_ATTR_ACS_EHT_ENABLED: Flag attribute. + * Used with command to configure ACS operation for EHT mode. + * Disable (flag attribute not present) - EHT disabled and + * Enable (flag attribute present) - EHT enabled. */ enum qca_wlan_vendor_attr_acs_offload { QCA_WLAN_VENDOR_ATTR_ACS_CHANNEL_INVALID = 0, @@ -1483,6 +1488,7 @@ enum qca_wlan_vendor_attr_acs_offload { QCA_WLAN_VENDOR_ATTR_ACS_EDMG_ENABLED = 16, QCA_WLAN_VENDOR_ATTR_ACS_EDMG_CHANNEL = 17, QCA_WLAN_VENDOR_ATTR_ACS_PUNCTURE_BITMAP = 18, + QCA_WLAN_VENDOR_ATTR_ACS_EHT_ENABLED = 19, /* keep last */ QCA_WLAN_VENDOR_ATTR_ACS_AFTER_LAST,