The 80211-2012 specification defines in 8.4.2.20 that the supported channels information element should contain a list of the channel subbands in which the station is capable to operate. Change the mac80211 implementation to add all the channels currently enabled by the device (excluding disabled channels). Note: the implementation is not complete as it missing an better handling for subband in bands other than 2.4 GHz. Ilan Peer (2): cfg80211: Add a function to get the number of enabled channels mac80211: Add all enabled channels to the supported channels element include/net/cfg80211.h | 9 ++++++ net/mac80211/mlme.c | 80 ++++++++++++++++++++++++++++++++++++++++++------ net/wireless/util.c | 21 +++++++++++++ 3 files changed, 100 insertions(+), 10 deletions(-) -- 1.7.10.4 -- 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