Introduce new way to calculate maximum available bandwidth. Before we get this form regulatory rule. Currently we calculate this from contiguous rules and base on such calculation we set correct channel BW flags (40, 80, 160MHz). In case someone will need to use bandwidth defined in regulatory database only I also introduce new regulatory rule flag STRICT-BW. In such case maximum bandwidth from regulatory database will be used. Tested with hwsim. Janusz Dziedzic (5): cfg80211: don't check regulatory bandwidth cfg80211: add helper reg_get_regdomain() function cfg80211: fix maximum bandwidth calculation cfg80211: introduce strict bandwidth regulatory flag cfg80211: parse STRICT-BW flag for insternal regdb option include/uapi/linux/nl80211.h | 2 + net/wireless/genregdb.awk | 2 + net/wireless/reg.c | 107 ++++++++++++++++++++++++++++++++++++------ 3 files changed, 96 insertions(+), 15 deletions(-) -- 1.7.9.5 -- 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