mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-29 05:39:24 +01:00
band: keep 6GHz frequencies out of 40mhz special case
There is no 40MHz upper/lower concept for 6GHz so avoid this special handling.
This commit is contained in:
parent
7882621ca9
commit
111e13cad6
@ -902,8 +902,12 @@ int oci_verify(const uint8_t oci[static 3], const struct band_chandef *own)
|
|||||||
* on 40 Mhz channels. If the STA is operating on 40 Mhz while the
|
* on 40 Mhz channels. If the STA is operating on 40 Mhz while the
|
||||||
* peer is operating on 80 or 160 Mhz wide channels, then only the
|
* peer is operating on 80 or 160 Mhz wide channels, then only the
|
||||||
* primary channel validation is performed
|
* primary channel validation is performed
|
||||||
|
*
|
||||||
|
* With 6GHz operating classes there is no concept of upper/lower 40mhz
|
||||||
|
* channels, therefore this special handling list not needed.
|
||||||
*/
|
*/
|
||||||
if (own_bandwidth == 40 && oci_bandwidth == 40) {
|
if (own_bandwidth == 40 && oci_bandwidth == 40 &&
|
||||||
|
info->operating_class < 131) {
|
||||||
uint32_t behavior;
|
uint32_t behavior;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user