On Fri, Nov 15, 2013 at 10:37 AM, Janusz Dziedzic <janusz.dziedzic@xxxxxxxxx> wrote: > 1) request CAC > 2) mac80211 will call driver radar detection (ETSI) and will start cac > timer (60s) > 3) after 40 seconds we will change regdom and dfs_region (eg. from > ETSI -> FCC) - tested using iw reg set US > > Currently we will not cancel CAC and will mark channels as > DFS_AVAILABLE after 1 minute. > So, probably we will need cancel_radar_detection() callback that will > cancel mac80211 timer here when cac_started and regulatory_update() > and different dfs_regions. > > 4) CAC end and we set DFS_AVAILABLE state > 5) we start beaconning (even we do radar_detection for FCC only for > about 20 seconds) > > This is probably rare case when we will change dfs_region between > start_cac() and can_beacon() - so I am not sure we have to handle > this? Ah great point. I had not considered this. The regulatory code I added to quiesce would take care of this, it'd force wdev's to tear down any active sessions they have. That is provided I convince Johannes this is indeed necessary. Luis -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html