From: Shailendra Singh Date: Fri, 23 Feb 2024 11:49:32 +0000 (+0530) Subject: Add a vendor attribute per MLO link ratemask bitmap configuration X-Git-Tag: hostap_2_11~259 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c24453dd936dc418bb4254b6c2ea42a2288d9607;p=thirdparty%2Fhostap.git Add a vendor attribute per MLO link ratemask bitmap configuration 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 --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 449fe8584..7f6440b4b 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -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,