]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Update QCA vendor attribute to indicate maximum PCL attributes
authorSreeramya Soratkal <quic_ssramya@quicinc.com>
Tue, 14 Dec 2021 12:10:46 +0000 (17:40 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 10 Feb 2022 15:57:23 +0000 (17:57 +0200)
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 <quic_ssramya@quicinc.com>
src/common/qca-vendor.h

index 0f7d3af352fdd23d26d2e7f776dc3a05096e850b..2b916237409724b87982198fddf9618b1d3361c4 100644 (file)
@@ -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
 };
 
 /**