* Active scanning on DFS channels
@ 2013-10-18 15:53 Lorenzo Bianconi
2013-10-20 9:53 ` Luis R. Rodriguez
0 siblings, 1 reply; 5+ messages in thread
From: Lorenzo Bianconi @ 2013-10-18 15:53 UTC (permalink / raw)
To: linux-wireless; +Cc: Johannes Berg, Simon Wunderlich
Hi all,
According to regdb.txt, DFS channels are not marked with passive scan flag:
country US: DFS-FCC
(2402 - 2472 @ 40), (3, 27)
(5170 - 5250 @ 80), (3, 17)
(5250 - 5330 @ 80), (3, 20), DFS
(5490 - 5600 @ 80), (3, 20), DFS
(5650 - 5710 @ 40), (3, 20), DFS
(5735 - 5835 @ 80), (3, 30)
Therefore STA device will perform active scanning on DFS channels even
if the channel is not CAC checked and available yet. Should we perform
passive scan on radar channel setting new state to SCAN_DECISION and
not to SCAN_SEND_PROBE in ieee80211_scan_state_set_channel()?
Regards,
Lorenzo
--
UNIX is Sexy: who | grep -i blonde | talk; cd ~; wine; talk; touch;
unzip; touch; strip; gasp; finger; gasp; mount; fsck; more; yes; gasp;
umount; make clean; sleep
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Active scanning on DFS channels
2013-10-18 15:53 Active scanning on DFS channels Lorenzo Bianconi
@ 2013-10-20 9:53 ` Luis R. Rodriguez
2013-10-21 6:19 ` Kalle Valo
0 siblings, 1 reply; 5+ messages in thread
From: Luis R. Rodriguez @ 2013-10-20 9:53 UTC (permalink / raw)
To: Lorenzo Bianconi; +Cc: linux-wireless, Johannes Berg, Simon Wunderlich
On Fri, Oct 18, 2013 at 5:53 PM, Lorenzo Bianconi
<lorenzo.bianconi83@gmail.com> wrote:
> Hi all,
>
> According to regdb.txt, DFS channels are not marked with passive scan flag:
>
> country US: DFS-FCC
> (2402 - 2472 @ 40), (3, 27)
> (5170 - 5250 @ 80), (3, 17)
> (5250 - 5330 @ 80), (3, 20), DFS
> (5490 - 5600 @ 80), (3, 20), DFS
> (5650 - 5710 @ 40), (3, 20), DFS
> (5735 - 5835 @ 80), (3, 30)
>
> Therefore STA device will perform active scanning on DFS channels even
> if the channel is not CAC checked and available yet.
This is certainly an issue, at least for the atheros drivers the ath
module ensures to alway set the passive-scan and no-ibss flags for DFS
frequencies, but we should at this point just standardize on this.
> Should we perform
> passive scan on radar channel setting new state to SCAN_DECISION and
> not to SCAN_SEND_PROBE in ieee80211_scan_state_set_channel()?
There's a few thing we need to do and I'm working on it.
1) no-ibss and passive-scan flags should be merged to a no-ir flag
2) beaconing should not be allowed if you have no-ir flag or radar
flag set but your device doesn't support DFS. If your wiphy supports
DFS and if CAC was cleared you can use that channel. If you had an AP
and a STA on the same wiphy and if the AP had DFS support and cleared
a CAC on a channel, the STA can resuse that information to do an
active scan, but it doesn't make sense to share CAC information across
different radios on the same system as we technically have no
guarantee they are on the same location, you never know.
I'm working on 1) right now.
Luis
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Active scanning on DFS channels
2013-10-20 9:53 ` Luis R. Rodriguez
@ 2013-10-21 6:19 ` Kalle Valo
2013-10-21 12:51 ` Luis R. Rodriguez
0 siblings, 1 reply; 5+ messages in thread
From: Kalle Valo @ 2013-10-21 6:19 UTC (permalink / raw)
To: Luis R. Rodriguez
Cc: Lorenzo Bianconi, linux-wireless, Johannes Berg, Simon Wunderlich
"Luis R. Rodriguez" <mcgrof@do-not-panic.com> writes:
>> Should we perform
>> passive scan on radar channel setting new state to SCAN_DECISION and
>> not to SCAN_SEND_PROBE in ieee80211_scan_state_set_channel()?
>
> There's a few thing we need to do and I'm working on it.
>
> 1) no-ibss and passive-scan flags should be merged to a no-ir flag
For me IR always reminds of infrared, so the name no-ir is a bit vague
to me :)
--
Kalle Valo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Active scanning on DFS channels
2013-10-21 6:19 ` Kalle Valo
@ 2013-10-21 12:51 ` Luis R. Rodriguez
2013-10-21 14:29 ` Kalle Valo
0 siblings, 1 reply; 5+ messages in thread
From: Luis R. Rodriguez @ 2013-10-21 12:51 UTC (permalink / raw)
To: Kalle Valo
Cc: Lorenzo Bianconi, linux-wireless, Johannes Berg, Simon Wunderlich
On Mon, Oct 21, 2013 at 8:19 AM, Kalle Valo <kvalo@adurom.com> wrote:
> "Luis R. Rodriguez" <mcgrof@do-not-panic.com> writes:
>
>>> Should we perform
>>> passive scan on radar channel setting new state to SCAN_DECISION and
>>> not to SCAN_SEND_PROBE in ieee80211_scan_state_set_channel()?
>>
>> There's a few thing we need to do and I'm working on it.
>>
>> 1) no-ibss and passive-scan flags should be merged to a no-ir flag
>
> For me IR always reminds of infrared, so the name no-ir is a bit vague
> to me :)
Any recommendations? I'm just lazy.
Luis
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Active scanning on DFS channels
2013-10-21 12:51 ` Luis R. Rodriguez
@ 2013-10-21 14:29 ` Kalle Valo
0 siblings, 0 replies; 5+ messages in thread
From: Kalle Valo @ 2013-10-21 14:29 UTC (permalink / raw)
To: Luis R. Rodriguez
Cc: Lorenzo Bianconi, linux-wireless, Johannes Berg, Simon Wunderlich
"Luis R. Rodriguez" <mcgrof@do-not-panic.com> writes:
> On Mon, Oct 21, 2013 at 8:19 AM, Kalle Valo <kvalo@adurom.com> wrote:
>> "Luis R. Rodriguez" <mcgrof@do-not-panic.com> writes:
>>
>>>> Should we perform
>>>> passive scan on radar channel setting new state to SCAN_DECISION and
>>>> not to SCAN_SEND_PROBE in ieee80211_scan_state_set_channel()?
>>>
>>> There's a few thing we need to do and I'm working on it.
>>>
>>> 1) no-ibss and passive-scan flags should be merged to a no-ir flag
>>
>> For me IR always reminds of infrared, so the name no-ir is a bit vague
>> to me :)
>
> Any recommendations? I'm just lazy.
no-sta-tx sounds dumb, but I can't think of anything better. Sorry.
--
Kalle Valo
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-10-21 14:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-18 15:53 Active scanning on DFS channels Lorenzo Bianconi
2013-10-20 9:53 ` Luis R. Rodriguez
2013-10-21 6:19 ` Kalle Valo
2013-10-21 12:51 ` Luis R. Rodriguez
2013-10-21 14:29 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox