summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorIlan Peer <ilan.peer@intel.com>2020-05-28 21:34:45 +0200
committerJohannes Berg <johannes.berg@intel.com>2020-05-31 11:27:20 +0200
commit6fcb56ce0f9036b08d1c3e35ff93b100d499771b (patch)
treeb3c37515ec46e7f73ddd5e577c1715d049be0d96 /net
parent93382a0d119b3ab95e3ebca51ea15aa87187b493 (diff)
downloadlinux-6fcb56ce0f9036b08d1c3e35ff93b100d499771b.tar.bz2
mac80211: Consider 6 GHz band when handling power constraint
Treat it like the 5 GHz band. Signed-off-by: Ilan Peer <ilan.peer@intel.com> Link: https://lore.kernel.org/r/20200528213443.889e5c9dd006.Id8ed3bb8000ba8738be5df05639415eb2e23c61a@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net')
-rw-r--r--net/mac80211/mlme.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 8a37089e86bb..d7bffd640ed3 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -1533,6 +1533,7 @@ ieee80211_find_80211h_pwr_constr(struct ieee80211_sub_if_data *sdata,
chan_increment = 1;
break;
case NL80211_BAND_5GHZ:
+ case NL80211_BAND_6GHZ:
chan_increment = 4;
break;
}