Commit 30519cbe authored by Rafał Miłecki's avatar Rafał Miłecki Committed by Kalle Valo

brcmfmac: support firmware reporting 160 MHz channels

So far 160 MHz channels were treated as 20 MHz ones which was breaking
support for 40/80 MHz due to the brcmf_construct_chaninfo() logic and
its assumptions.
Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent f4e18329
......@@ -6052,6 +6052,9 @@ static int brcmf_construct_chaninfo(struct brcmf_cfg80211_info *cfg,
* HT40 upper, HT40 lower, and VHT80.
*/
switch (ch.bw) {
case BRCMU_CHAN_BW_160:
channel->flags &= ~IEEE80211_CHAN_NO_160MHZ;
break;
case BRCMU_CHAN_BW_80:
channel->flags &= ~IEEE80211_CHAN_NO_80MHZ;
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment