]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Document vendor command ratemask bitmap for EHT case
authorShailendra Singh <quic_shasing@quicinc.com>
Fri, 23 Feb 2024 12:47:48 +0000 (18:17 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 20 Mar 2024 21:37:38 +0000 (23:37 +0200)
In addition, update the comment on the number of bits used with HE to
match the defined bits.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/common/qca-vendor.h

index 09c8b2434da5f82dcb1ee3df87f1cd8b5f9ac883..449fe858467c8e7a3376bd619748d2cc1cc0029f 100644 (file)
@@ -14296,7 +14296,11 @@ enum qca_wlan_ratemask_params_type {
  * @QCA_WLAN_VENDOR_ATTR_RATEMASK_PARAMS_BITMAP: binary, rate mask bitmap.
  * A bit value of 1 represents rate is enabled and a value of 0
  * represents rate is disabled.
- * For HE targets, 12 bits correspond to one NSS setting.
+ * For EHT targets,
+ * b0-1  => NSS1, MCS 14-15
+ * b2-15 => NSS1, MCS 0-13
+ * b16-29 => NSS2, MCS 0-13
+ * For HE targets, 14 bits correspond to one NSS setting.
  * b0-13  => NSS1, MCS 0-13
  * b14-27 => NSS2, MCS 0-13 and so on for other NSS.
  * For VHT targets, 10 bits correspond to one NSS setting.