mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-24 21:02:35 +00:00
39 lines
1.5 KiB
Diff
39 lines
1.5 KiB
Diff
From 8ec2a1488ca01532181324c687d2b92a62b3f9ce Mon Sep 17 00:00:00 2001
|
|
From: Aloka Dixit <quic_alokad@quicinc.com>
|
|
Date: Tue, 22 Jun 2021 12:56:14 -0700
|
|
Subject: [PATCH 03/27] ieee80211: add macro for EHT RU bitmask position
|
|
|
|
EHT RU bitmask starts at bit 4, add a macro for it to be used
|
|
by the drivers during configuration/parsing.
|
|
|
|
Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com>
|
|
---
|
|
include/linux/ieee80211.h | 11 ++++++-----
|
|
1 file changed, 6 insertions(+), 5 deletions(-)
|
|
|
|
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
|
|
index 27f94d531961..7af56731cba9 100644
|
|
--- a/include/linux/ieee80211.h
|
|
+++ b/include/linux/ieee80211.h
|
|
@@ -2825,11 +2825,12 @@ ieee80211_eht_mcs_nss_size(const struct ieee80211_he_cap_elem *he_cap,
|
|
}
|
|
|
|
/* 802.11be EHT PPE Thresholds */
|
|
-#define IEEE80211_EHT_PPE_THRES_NSS_POS 0
|
|
-#define IEEE80211_EHT_PPE_THRES_NSS_MASK 0xf
|
|
-#define IEEE80211_EHT_PPE_THRES_RU_INDEX_BITMASK_MASK 0x1f0
|
|
-#define IEEE80211_EHT_PPE_THRES_INFO_PPET_SIZE 3
|
|
-#define IEEE80211_EHT_PPE_THRES_INFO_HEADER_SIZE 9
|
|
+#define IEEE80211_EHT_PPE_THRES_NSS_POS 0
|
|
+#define IEEE80211_EHT_PPE_THRES_NSS_MASK 0xf
|
|
+#define IEEE80211_EHT_PPE_THRES_RU_INDEX_BITMASK_MASK 0x1f0
|
|
+#define IEEE80211_EHT_PPE_THRES_RU_INDEX_BITMASK_POS 4
|
|
+#define IEEE80211_EHT_PPE_THRES_INFO_PPET_SIZE 3
|
|
+#define IEEE80211_EHT_PPE_THRES_INFO_HEADER_SIZE 9
|
|
|
|
/*
|
|
* Calculate 802.11be EHT capabilities IE EHT field size
|
|
--
|
|
2.31.1
|
|
|