From 877cf5ef7e679159e0f84fe4095e98c64c3550b4 Mon Sep 17 00:00:00 2001 From: Aditya Sathish Date: Thu, 23 Dec 2021 14:23:06 +0530 Subject: [PATCH] qcacmn: Add QCA attribute for ACS puncturing bitmap Add support for a new QCA attribute to pass the puncturing bitmap as part of the DO_ACS vendor command. CRs-Fixed: 3102366 Change-Id: Ic0e54d82e48bae695baf3be4fd388ec15f81a416 --- os_if/linux/qca_vendor.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/os_if/linux/qca_vendor.h b/os_if/linux/qca_vendor.h index e31a1137ad..5a487b8649 100644 --- a/os_if/linux/qca_vendor.h +++ b/os_if/linux/qca_vendor.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2012-2021 The Linux Foundation. All rights reserved. + * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -4274,6 +4275,11 @@ enum wifi_logger_supported_features { * Used with event to notify the EDMG channel number selected in ACS * operation. * EDMG primary channel is indicated by QCA_WLAN_VENDOR_ATTR_ACS_PRIMARY_CHANNEL + * + * @QCA_WLAN_VENDOR_ATTR_ACS_PUNCTURE_BITMAP: Optional (u16). + * 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. */ enum qca_wlan_vendor_attr_acs_offload { QCA_WLAN_VENDOR_ATTR_ACS_CHANNEL_INVALID = 0, @@ -4294,6 +4300,7 @@ enum qca_wlan_vendor_attr_acs_offload { QCA_WLAN_VENDOR_ATTR_ACS_VHT_SEG1_CENTER_FREQUENCY = 15, QCA_WLAN_VENDOR_ATTR_ACS_EDMG_ENABLED = 16, QCA_WLAN_VENDOR_ATTR_ACS_EDMG_CHANNEL = 17, + QCA_WLAN_VENDOR_ATTR_ACS_PUNCTURE_BITMAP = 18, /* keep last */ QCA_WLAN_VENDOR_ATTR_ACS_AFTER_LAST,