]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: iwlwifi: fw: api: add HE type for UHR ELR
authorJohannes Berg <johannes.berg@intel.com>
Mon, 10 Nov 2025 13:02:26 +0000 (15:02 +0200)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Wed, 21 Jan 2026 12:23:02 +0000 (14:23 +0200)
For UHR ELR, the EXT_SU type is reused, so it depends on the
modulation. Add a define so the code will be clearer.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20251110150012.3dabe4690805.I93dfb6b41ace7844e462e8649253c20f2712b382@changeid
drivers/net/wireless/intel/iwlwifi/fw/api/rs.h

index e073e196374243ac12e16e2cedecbdc15a96ae23..ae6be3ed32f85361405cf50cfc687ddf1c705209 100644 (file)
@@ -740,10 +740,11 @@ enum {
 #define RATE_MCS_HE_SU_4_LTF           3
 #define RATE_MCS_HE_SU_4_LTF_08_GI     4
 
-/* Bit 24-23: HE type. (0) SU, (1) SU_EXT, (2) MU, (3) trigger based */
+/* Bit 24-23: HE type. (0) SU, (1) HE SU_EXT/UHR ELR, (2) MU, (3) trigger based */
 #define RATE_MCS_HE_TYPE_POS           23
 #define RATE_MCS_HE_TYPE_SU            (0 << RATE_MCS_HE_TYPE_POS)
 #define RATE_MCS_HE_TYPE_EXT_SU                (1 << RATE_MCS_HE_TYPE_POS)
+#define RATE_MCS_HE_TYPE_UHR_ELR       (1 << RATE_MCS_HE_TYPE_POS)
 #define RATE_MCS_HE_TYPE_MU            (2 << RATE_MCS_HE_TYPE_POS)
 #define RATE_MCS_HE_TYPE_TRIG          (3 << RATE_MCS_HE_TYPE_POS)
 #define RATE_MCS_HE_TYPE_MSK           (3 << RATE_MCS_HE_TYPE_POS)