From: Sreeramya Soratkal Date: Tue, 14 Dec 2021 12:10:46 +0000 (+0530) Subject: Update QCA vendor attribute to indicate maximum PCL attributes X-Git-Tag: hostap_2_11~2240 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d5fd3328295b099c97960d350410a3b8c6239a4;p=thirdparty%2Fhostap.git Update QCA vendor attribute to indicate maximum PCL attributes Add the enum qca_wlan_vendor_attr_pcl elements to mark the maximum value of the defined attributes for the preferred channel list. This is helpful for nla_parse(). Signed-off-by: Sreeramya Soratkal --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 0f7d3af35..2b9162374 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -5864,6 +5864,10 @@ enum qca_wlan_vendor_attr_pcl { * bit 3 set: channel should be excluded in GO negotiation */ QCA_WLAN_VENDOR_ATTR_PCL_FLAG = 4, + + /* Keep last */ + QCA_WLAN_VENDOR_ATTR_PCL_LAST, + QCA_WLAN_VENDOR_ATTR_PCL_MAX = QCA_WLAN_VENDOR_ATTR_PCL_LAST - 1 }; /**