Search Linux Wireless

Re: [PATCH v3] mac80211: fix scan blocked on DFS channels in ETSI domains

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 10/2/19 6:59 AM, Aaron Komisar wrote:
In non-ETSI reg domains scan is blocked when operating channel is a DFS ch.
For ETSI domains, however, once DFS channel is marked as available afer
the CAC, this channel will remain available even after leaving this channel.
Therefore a new CAC will not be required when scan is done.

In cfg80211 scan is not blocked for ETSI reg domains.
This patch enables scan in mac80211 as well when operating channel is a radar
channel for ETSI reg domains (unless CAC is in progress).

This is not the right approach to solve the problem.

The real reason of scan failure is because mac80211 checks if it's DFS channel, but it doesn't check if CAC is done or not.

So to solve the issue, the right approach should be "check if DFS channels and check if CAC is done".

You may refer how "cfg80211_reg_can_beacon()" is doing for that.


Thanks,

Peter




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux