diff options
author | Johannes Berg <johannes.berg@intel.com> | 2020-05-28 21:34:44 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-05-31 11:27:16 +0200 |
commit | 93382a0d119b3ab95e3ebca51ea15aa87187b493 (patch) | |
tree | a4b4ef616a66842cdb215e6293f589c92072fb33 /net/mac80211/agg-rx.c | |
parent | f438136528482f98535889c9a6f99bbacdd92870 (diff) | |
download | linux-stable-93382a0d119b3ab95e3ebca51ea15aa87187b493.tar.gz linux-stable-93382a0d119b3ab95e3ebca51ea15aa87187b493.tar.bz2 linux-stable-93382a0d119b3ab95e3ebca51ea15aa87187b493.zip |
mac80211: accept aggregation sessions on 6 GHz
On 6 GHz, stations don't have ht_supported set, but they can
still do aggregation since they must have HE, allow that.
Link: https://lore.kernel.org/r/20200528213443.776d3c891b64.Ifa099d450617b50c691832b3c4aa08959fab520a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/agg-rx.c')
-rw-r--r-- | net/mac80211/agg-rx.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/mac80211/agg-rx.c b/net/mac80211/agg-rx.c index 4d1c335e06e5..7f245e9f114c 100644 --- a/net/mac80211/agg-rx.c +++ b/net/mac80211/agg-rx.c @@ -9,7 +9,7 @@ * Copyright 2007, Michael Wu <flamingice@sourmilk.net> * Copyright 2007-2010, Intel Corporation * Copyright(c) 2015-2017 Intel Deutschland GmbH - * Copyright (C) 2018 Intel Corporation + * Copyright (C) 2018-2020 Intel Corporation */ /** @@ -292,7 +292,8 @@ void ___ieee80211_start_rx_ba_session(struct sta_info *sta, goto end; } - if (!sta->sta.ht_cap.ht_supported) { + if (!sta->sta.ht_cap.ht_supported && + sta->sdata->vif.bss_conf.chandef.chan->band != NL80211_BAND_6GHZ) { ht_dbg(sta->sdata, "STA %pM erroneously requests BA session on tid %d w/o QoS\n", sta->sta.addr, tid); |