2014-04-07 11:30 GMT+02:00 Cedric VONCKEN <cedric.voncken@xxxxxxxxx>: > I'm doing some tests in 802.11a with ath9k driver and I found a > strange behavior. > > With iw phy0 info, I check the regulation rules. I can see some > channels needs radar detection. For test I set an AP on this channel and > I can see the beacon with wireshark. But ATH9K doesn't support radar > detection, so these channels should be disabled. > > I think the problem is on MAC80211 layer. In /net/wireless/reg.c > the function map_regdom_flags set the flags IEEE80211_CHAN_RADAR if the > regulatory domain set NL80211_RRF_DFS. > But ATH9K doesn't support the radar detection, and I don't found > in MAC80211 a test on this capability. > > I only found a capabilities in ATH9K (ATH9K_HW_CAP_DFS), but > this flag is set and not used. > > I don't know how fix this issue. For the moment I disable the > channel when the NL80211_RRF_DFS is set (in map_regdom_flags). > This seems like a bug in ath9k (init.c) driver, when register interface combinations. Seems RADAR combination should be registered only in case when ATH9K_DFS_CERTIFIED is set. BR Janusz -- 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