Johannes Berg <johannes@xxxxxxxxxxxxxxxx> writes: > From: Johannes Berg <johannes.berg@xxxxxxxxx> > > 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. > > Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> Acked-by: Kalle Valo <kvalo@xxxxxxxxxx> -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches