]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/ap/drv_callbacks.c
DFS: Handle pre-CAC expired event
authorVasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>
Wed, 8 Mar 2017 05:13:17 +0000 (10:43 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 9 Mar 2017 15:01:50 +0000 (17:01 +0200)
commit7cbb5f1a44e73752c576e259386c541905023dc3
tree9380f786112b3e82d30ab2f1e60a29e2de560296
parent62c8c7f721563d0417fa10efb2b7faa6ee57034b
DFS: Handle pre-CAC expired event

As FCC DFS requirement does not explicitly mention about the validity of
the (pre-)CAC when channel is switched, it is safe to assume that the
pre-CAC result will not be valid once the CAC completed channel is
switched or radar detection is not active on the (CAC completed) channel
within a time period which is allowed (10 seconds - channel switch time)
as per FCC DFS requirement.

Use the new driver event to allow the driver to notify expiry of the CAC
result on a channel. Move the DFS state of the channel to 'usable' when
processing pre-CAC expired event.  This means any future operation on
that channel will require a new CAC to be completed. This event is
applicable only when DFS is not offloaded to the kernel driver.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>
src/ap/dfs.c
src/ap/dfs.h
src/ap/drv_callbacks.c
src/common/wpa_ctrl.h