mbox series

[v2,0/5] introduce background radar detection support

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

Message

lorenzo@kernel.org March 6, 2022, 7:34 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.

Changes since v1:
- drop applied patches
- rebase on top of hostapd main branch
- fix compiler warnings
- fix current_vht_oper_chwidth configuration in
  hostapd_dfs_start_channel_switch
- reset radar background chain if necessary in hostapd_dfs_nop_finished
- always set channel_type to DFS_ANY_CHANNEL for ETSI regdomain in
  hostpad_dfs_update_background_chain in order to comply with uniform
  spreading.

Lorenzo Bianconi (5):
  DFS: rely on channel_type in dfs_downgrade_bandwidth signature
  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

 src/ap/ap_drv_ops.c          |   9 +-
 src/ap/ap_drv_ops.h          |   3 +-
 src/ap/dfs.c                 | 419 ++++++++++++++++++++++++++---------
 src/ap/hostapd.h             |  15 ++
 src/drivers/driver.h         |   5 +
 src/drivers/driver_nl80211.c |   5 +
 6 files changed, 345 insertions(+), 111 deletions(-)

Comments

Jouni Malinen March 13, 2022, 8:56 p.m. UTC | #1
On Sun, Mar 06, 2022 at 08:34:09PM +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.

>   DFS: rely on channel_type in dfs_downgrade_bandwidth signature
>   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

Thanks, applied with some cleanup.