mbox series

[0/9] introduce background radar detection support

Message ID cover.1640014128.git.lorenzo@kernel.org
Headers show
Series introduce background radar detection support | expand

Message

Lorenzo Bianconi Dec. 20, 2021, 3:48 p.m. UTC
Introduce background radar/CAC detection through a dedicated off-channel
chain available on some hw (e.g. mt7915).
Background radar/CAC detection allows to avoid the CAC downtime
switching on a different channel during CAC detection on the selected
radar channel.

Lorenzo Bianconi (9):
  Sync include/uapi/linux/nl80211.h with mac80211-next.git
  DFS: introduce dfs_set_valid_channel utility routine
  DFS: add capability select radar-only channels
  nl80211: report background radar/cac detection capability
  DFS: configure background radar/cac detection.
  DFS: introduce hostapd_dfs_request_channel_switch routine
  DFS: enable CSA for background radar detection
  DFS: switch to background radar channel if available
  DFS: introduce radar_background parameter to config file

 hostapd/config_file.c              |   2 +
 hostapd/hostapd.conf               |   7 +
 src/ap/ap_config.h                 |   1 +
 src/ap/ap_drv_ops.c                |   9 +-
 src/ap/ap_drv_ops.h                |   3 +-
 src/ap/dfs.c                       | 447 +++++++++++++++++++++--------
 src/ap/hostapd.h                   |  15 +
 src/drivers/driver.h               |   7 +
 src/drivers/driver_nl80211.c       |   5 +
 src/drivers/driver_nl80211_capa.c  |   4 +
 src/drivers/driver_nl80211_event.c |   7 +
 src/drivers/nl80211_copy.h         | 228 ++++++++++++++-
 12 files changed, 610 insertions(+), 125 deletions(-)

Comments

Jouni Malinen March 3, 2022, 11:19 p.m. UTC | #1
On Mon, Dec 20, 2021 at 04:48:15PM +0100, Lorenzo Bianconi wrote:
> Introduce background radar/CAC detection through a dedicated off-channel
> chain available on some hw (e.g. mt7915).
> Background radar/CAC detection allows to avoid the CAC downtime
> switching on a different channel during CAC detection on the selected
> radar channel.
> 
> Lorenzo Bianconi (9):
>   Sync include/uapi/linux/nl80211.h with mac80211-next.git
>   DFS: introduce dfs_set_valid_channel utility routine
>   DFS: add capability select radar-only channels
>   nl80211: report background radar/cac detection capability

Thanks, applied patches 2-4 with some cleanup (mainly, replaced the
int flags parameter in 3/9 with an enum to make the code more readable.
Patch 1 changes are covered by another commit.

>   DFS: configure background radar/cac detection.
>   DFS: introduce hostapd_dfs_request_channel_switch routine
>   DFS: enable CSA for background radar detection
>   DFS: switch to background radar channel if available
>   DFS: introduce radar_background parameter to config file

These have open questions or dependencies on patches with open
questions.
Lorenzo Bianconi March 4, 2022, 9:48 a.m. UTC | #2
> On Mon, Dec 20, 2021 at 04:48:15PM +0100, Lorenzo Bianconi wrote:
> > Introduce background radar/CAC detection through a dedicated off-channel
> > chain available on some hw (e.g. mt7915).
> > Background radar/CAC detection allows to avoid the CAC downtime
> > switching on a different channel during CAC detection on the selected
> > radar channel.
> > 
> > Lorenzo Bianconi (9):
> >   Sync include/uapi/linux/nl80211.h with mac80211-next.git
> >   DFS: introduce dfs_set_valid_channel utility routine
> >   DFS: add capability select radar-only channels
> >   nl80211: report background radar/cac detection capability
> 
> Thanks, applied patches 2-4 with some cleanup (mainly, replaced the
> int flags parameter in 3/9 with an enum to make the code more readable.
> Patch 1 changes are covered by another commit.
> 
> >   DFS: configure background radar/cac detection.
> >   DFS: introduce hostapd_dfs_request_channel_switch routine
> >   DFS: enable CSA for background radar detection
> >   DFS: switch to background radar channel if available
> >   DFS: introduce radar_background parameter to config file
> 
> These have open questions or dependencies on patches with open
> questions.

Hi Jouni,

Thx for the review, I will address comments in the pending patches.

Regards,
Lorenzo

>  
> -- 
> Jouni Malinen                                            PGP id EFC895FA
>