From: Peter Oh <peter.oh@xxxxxxxxxxxxxxxxx> This patchset enables DFS channels in mesh mode along with CAC and channel switch. It's been verified that works for non-dfs channels, dfs channels, w/wo encryption (none and SAE), radar detection, channel switch, and mesh re-association after channel switch. Also this patch series passes all the test cases in wpas_mesh. Only left area to cover is in the case when multiple mesh points detect radar at the same time, but they select different channels. To cover the case I think we need a private patch for it, because current 802.11s standard does not address it how to handle. * v2: corrected wrong sender's email. * v3: rebased on top of "mesh: Properly handle sae_password". fix compiler warnings on unused variables and parentheses. * v4: updated "allow mesh to send channel switch request" patch based on "2dd5fbbff wpa_supplicant: Rename wpas_event_*". fix channel switch error during CAC. * v5: some changes in "Allow DFS channels to be selected" moves to "consider mesh interface on dfs event handler" to group the similar changes together. * v6: fixed memory leak. updated ieee80211_is_dfs() usage based on "d239ab396 DFS: Mark channels required DFS based on reg-domain" commit. removed "mesh: allow mesh to send channel switch request" which is already merged to master branch. move "mesh: inform kernel driver DFS handler in userspace" patch to the last. * v7: dropped pri/sec channel swap related patches fixed "wpas_mesh_secure_sae_missing_password" test case fixed memory leak at wpa_driver_nl80211_send_action() use operating channel to determine DFS channel * v8: fixed failed test cases in wpas_mesh. re-introduce a pri/sec channel swap patch Peter Oh (16): mesh: factor out mesh join function mesh: factor out rsn initialization tests: Update mesh_oom to match implementation change mesh: relocate RSN init function mesh: use setup completion callback to complete mesh join mesh: reflect country setting to mesh configuration mesh: apply channel attributes before setup interface mesh: update ssid->frequency as pri/sec channel switch mesh: set interface type to mesh before setting interface mesh: set mesh center frequency mesh: consider mesh interface on dfs event handler mesh: Allow DFS channels to be selected if dfs is enabled mesh: do not set offchanok on DFS channels in non-ETSI mesh: fix channel switch error during CAC mesh: don't allow pri/sec channel switch mesh: inform kernel driver DFS handler in userspace src/ap/hostapd.c | 11 +- src/drivers/driver.h | 1 + src/drivers/driver_nl80211.c | 24 +++- tests/hwsim/test_wpas_mesh.py | 2 +- wpa_supplicant/ap.c | 71 +++++++--- wpa_supplicant/events.c | 7 +- wpa_supplicant/mesh.c | 264 ++++++++++++++++++++++++-------------- wpa_supplicant/wpa_supplicant.c | 24 +++- wpa_supplicant/wpa_supplicant_i.h | 1 + 9 files changed, 280 insertions(+), 125 deletions(-) -- 2.7.4 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap