aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2024-05-06 21:37:54 +0200
committerJohannes Berg <[email protected]>2024-05-23 10:34:59 +0200
commit8592fd7ccc95a7cf222985e6297041463e8b4e9d (patch)
tree32f79660a27d5313d62e5991b2e20d791d4fe684 /include
parente3bae9b22873338d1a7989a2568c5aca2c44bde7 (diff)
wifi: ieee80211/ath11k: remove IEEE80211_MAX_NUM_PWR_LEVEL
The define IEEE80211_MAX_NUM_PWR_LEVEL doesn't make much sense. Yes, that table has a maximum value of 8, and the table will actually remain that way, but EHT introduced a way to encode more levels for 320 MHz channels. Remove IEEE80211_MAX_NUM_PWR_LEVEL and, for ath11k being the only user, add ATH11K_NUM_PWR_LEVELS, where it makes sense since it cannot support 320 MHz channels. Acked-by: Kalle Valo <[email protected]> Link: https://msgid.link/20240506214536.9818e5471055.Icece7e47e963d6b68e0d97ba13c102b37fbaa689@changeid Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ieee80211.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index fb50a99daa93..1c3a683a3ee2 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -2833,11 +2833,6 @@ struct ieee80211_he_6ghz_oper {
* So it it totally max 8 Transmit Power Envelope element.
*/
#define IEEE80211_TPE_MAX_IE_COUNT 8
-/*
- * In "Table 9-277—Meaning of Maximum Transmit Power Count subfield"
- * of "IEEE Std 802.11ax™‐2021", the max power level is 8.
- */
-#define IEEE80211_MAX_NUM_PWR_LEVEL 8
#define IEEE80211_TPE_MAX_POWER_COUNT 8