diff options
author | Shay Bar <shay.bar@celeno.com> | 2020-08-26 17:31:39 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-08-27 11:46:53 +0300 |
commit | 3579994476b65cb5e272ff0f720a1fd31322e53f (patch) | |
tree | 78690d95be4b9dfd4ff60cacc4e43a68beb4fe20 /net/wireless/reg.c | |
parent | f01cfbaf9b2971126f094acfbda2589bd2394f4d (diff) | |
download | linux-3579994476b65cb5e272ff0f720a1fd31322e53f.tar.xz |
wireless: fix wrong 160/80+80 MHz setting
Fix cfg80211_chandef_usable():
consider IEEE80211_VHT_CAP_EXT_NSS_BW when verifying 160/80+80 MHz.
Based on:
"Table 9-272 — Setting of the Supported Channel Width Set subfield and Extended NSS BW
Support subfield at a STA transmitting the VHT Capabilities Information field"
From "Draft P802.11REVmd_D3.0.pdf"
Signed-off-by: Aviad Brikman <aviad.brikman@celeno.com>
Signed-off-by: Shay Bar <shay.bar@celeno.com>
Link: https://lore.kernel.org/r/20200826143139.25976-1-shay.bar@celeno.com
[reformat the code a bit and use u32_get_bits()]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/reg.c')
0 files changed, 0 insertions, 0 deletions