Skip to content

Commit 6fcb56c

Browse files
ilanpeer2jmberg-intel
authored andcommitted
mac80211: Consider 6 GHz band when handling power constraint
Treat it like the 5 GHz band. Signed-off-by: Ilan Peer <[email protected]> Link: https://lore.kernel.org/r/20200528213443.889e5c9dd006.Id8ed3bb8000ba8738be5df05639415eb2e23c61a@changeid Signed-off-by: Johannes Berg <[email protected]>
1 parent 93382a0 commit 6fcb56c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/mac80211/mlme.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1533,6 +1533,7 @@ ieee80211_find_80211h_pwr_constr(struct ieee80211_sub_if_data *sdata,
15331533
chan_increment = 1;
15341534
break;
15351535
case NL80211_BAND_5GHZ:
1536+
case NL80211_BAND_6GHZ:
15361537
chan_increment = 4;
15371538
break;
15381539
}

0 commit comments

Comments
 (0)