Skip to content

RFC DFS/radar state/userspace handling

Bernhard Schmidt linux-wireless 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest9 patches 14 repliesIn review
  2. v1 RFC0 of 13 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9add method to access oper chaninclude/net/cfg80211.h net/mac80211/cfg.c net/wireless/chan.c+11 -11 reply
2/9Add 2 new radar channel flagsinclude/linux/nl80211.h include/net/cfg80211.h net/mac80211/cfg.c +2 more+32 -83 replies
3/9enable radar detectioninclude/net/mac80211.h net/mac80211/cfg.c net/mac80211/driver-ops.h +1 more+54 -01 reply
4/9add preliminary radar processing codenet/wireless/Makefile net/wireless/core.c net/wireless/radar.c +2 more+143 -14 replies
5/9channel availability check (CAC) supportinclude/linux/nl80211.h net/wireless/chan.c net/wireless/core.c +4 more+271 -00 replies
6/9no operation list (NOL) supportnet/wireless/radar.c net/wireless/radar.h+147 -11 reply
7/9abide channel closing timenet/wireless/radar.c net/wireless/radar.h+99 -00 replies
8/9announce flag changes to userspaceinclude/linux/nl80211.h net/wireless/nl80211.c net/wireless/nl80211.h +1 more+60 -00 replies
9/9interference reportinginclude/net/cfg80211.h net/wireless/core.c net/wireless/radar.c+59 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [RFC 0/9 v2] DFS/radar state/userspace handling

Hi,

This is second version of state/userspace handling, the main diff to v1 is that state are no global and no per wiphy.

Implemented so far is the complete state machine, handling CAC and NOL as well as starting appropriate action in hostapd. Note, this is based on top of the 'dfs region support' work posted by Luis.

I don't include the hostapd patches this time, because there are no real changes compared to the last series.

If you want to test this code on hardware which has no radar detection support (well, currently there is none with support), skip patch 3/9 and use the ieee80211/radar/bang debugfs file. Writing a frequency there will simulate interference on the channel.

Signature · 8 lines
Best regards,

Dipl.-Inf. (FH) Bernhard Schmidt (software development)

saxnet GmbH, Willy-Brandt-Ring 1, 08606 Oelsnitz
Tel. +49 (0) 3741 300 6. 100 - Fax +49 (0) 3741 300 6. 101
managing director: Steffen Dreise - county court Chemnitz - HRB 23017
http://www.saxnet.de