• Simon Wunderlich's avatar
    nl80211/cfg80211: add radar detection command/event · 04f39047
    Simon Wunderlich authored
    Add new NL80211_CMD_RADAR_DETECT, which starts the Channel
    Availability Check (CAC). This command will also notify the
    usermode about events (CAC finished, CAC aborted, radar
    detected, NOP finished).
    Once radar detection has started it should continuously
    monitor for radars as long as the channel is active.
    
    This patch enables DFS for AP mode in nl80211/cfg80211.
    
    Based on original patch by Victor Goldenshtein <victorg@ti.com>
    Signed-off-by: default avatarSimon Wunderlich <siwu@hrz.tu-chemnitz.de>
    [remove WIPHY_FLAG_HAS_RADAR_DETECT again -- my mistake]
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    04f39047
chan.c 11.8 KB