mac80211_hwsim: Add radar bandwidths to the P2P Device combination
authorIlan Peer <ilan.peer@intel.com>
Tue, 5 Jul 2016 12:23:09 +0000 (15:23 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Jul 2016 12:46:30 +0000 (14:46 +0200)
commitf7736f501f87b3f6ffbf07d173a6893dd419ac50
tree26db1bc269c803c4aa9bb3ae6f8ce3b4fc29ff69
parentc6e6a0c8be575c830a97b1942dabeab70f423fe0
mac80211_hwsim: Add radar bandwidths to the P2P Device combination

Add radar_detect_widths to the interface combination that allows
concurrent P2P Device dedicated interface and AP interfaces, to enable
testing of radar detection when P2P Device interface is used.

Clear the radar_detect_widths in case of multi channel contexts
as this is not currently supported.

As radar_detect_widths are now supported in all combinations,
remove the hwsim_if_dfs_limits definition since it is no longer
needed.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c