diff options
author | Ilan Peer <ilan.peer@intel.com> | 2020-05-28 21:34:45 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-05-31 11:27:20 +0200 |
commit | 6fcb56ce0f9036b08d1c3e35ff93b100d499771b (patch) | |
tree | b3c37515ec46e7f73ddd5e577c1715d049be0d96 /net/mac80211 | |
parent | mac80211: accept aggregation sessions on 6 GHz (diff) | |
download | linux-6fcb56ce0f9036b08d1c3e35ff93b100d499771b.tar.xz linux-6fcb56ce0f9036b08d1c3e35ff93b100d499771b.zip |
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/mac80211')
-rw-r--r-- | net/mac80211/mlme.c | 1 |
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; } |