]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add a vendor attribute per MLO link ratemask bitmap configuration
authorShailendra Singh <quic_shasing@quicinc.com>
Fri, 23 Feb 2024 11:49:32 +0000 (17:19 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 20 Mar 2024 21:41:03 +0000 (23:41 +0200)
Define attribute QCA_WLAN_VENDOR_ATTR_RATEMASK_PARAMS_LINK_ID in
enum qca_wlan_vendor_attr_ratemask_params to configure ratemask
per MLO link. If the attribute is not provided, ratemask will be
applied for setup link.

Signed-off-by: Shailendra Singh <quic_shasing@quicinc.com>
src/common/qca-vendor.h

index 449fe858467c8e7a3376bd619748d2cc1cc0029f..7f6440b4b5cdf6dc64b53e6a0d982543501f3a70 100644 (file)
@@ -14310,12 +14310,18 @@ enum qca_wlan_ratemask_params_type {
  * b0-7  => NSS1, MCS 0-7
  * b8-15 => NSS2, MCS 0-7 and so on for other NSS.
  * For OFDM/CCK targets, 8 bits correspond to one NSS setting.
+ *
+ * @QCA_WLAN_VENDOR_ATTR_RATEMASK_PARAMS_LINK_ID: u8, used to specify the
+ * MLO link ID of a link to be configured. Optional attribute.
+ * No need of this attribute in non-MLO cases. If the attribute is
+ * not provided, ratemask will be applied for setup link.
  */
 enum qca_wlan_vendor_attr_ratemask_params {
        QCA_WLAN_VENDOR_ATTR_RATEMASK_PARAMS_INVALID = 0,
        QCA_WLAN_VENDOR_ATTR_RATEMASK_PARAMS_LIST = 1,
        QCA_WLAN_VENDOR_ATTR_RATEMASK_PARAMS_TYPE = 2,
        QCA_WLAN_VENDOR_ATTR_RATEMASK_PARAMS_BITMAP = 3,
+       QCA_WLAN_VENDOR_ATTR_RATEMASK_PARAMS_LINK_ID = 4,
 
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_RATEMASK_PARAMS_AFTER_LAST,