aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_common.c
diff options
context:
space:
mode:
authorVeerendranath Jakkam <vjakkam@codeaurora.org>2020-09-16 08:28:22 (GMT)
committerJouni Malinen <j@w1.fi>2020-10-30 12:20:50 (GMT)
commit66bed14b22242bf4794b54b09ab342d4e1188f41 (patch)
tree4bd60c8110cdb007b24b1d72e003e92e1d0987fc /src/drivers/driver_common.c
parent5e779873ed01d3c8ca974e1b0c5994ebe1ee61fd (diff)
downloadhostap-66bed14b22242bf4794b54b09ab342d4e1188f41.zip
hostap-66bed14b22242bf4794b54b09ab342d4e1188f41.tar.gz
hostap-66bed14b22242bf4794b54b09ab342d4e1188f41.tar.bz2
6 GHz: Fix opclasses mapping in ieee80211_freq_to_channel_ext()
Previously only primary channel number used to calculate 6GHz operating class in ieee80211_freq_to_channel_ext() and it is always giving 131 operating class. Fix this by mapping operating class using chanwidth and sec_channel also. This is needed to avoid OCV failures on the 6 GHz band when the channel width is larger than 20 MHz. Signed-off-by: Veerendranath Jakkam <vjakkam@codeaurora.org>
Diffstat (limited to 'src/drivers/driver_common.c')
0 files changed, 0 insertions, 0 deletions