802.11 cards may have different country IE parsing preferences and vendors have to support these. We currently provide support for country IE behavioural preferences by using the flags WIPHY_FLAG_STRICT_REGULATORY, WIPHY_FLAG_CUSTOM_REGULATORY and their combination. Instead of extending the definition by using the existing regulatory flags, split out the desired behaviours into a new wiphy flag. This will allow us to add more customizations in a more easily maintainable fashion. Mihir Shete (2): cfg80211: add flags to define country IE processing rules cfg80211: add an option to disable processing country IEs drivers/net/wireless/ath/regd.c | 1 + include/net/cfg80211.h | 36 +++++++++++++++++++++++------------- include/uapi/linux/nl80211.h | 34 ++++++++++++++++++++++++++++++++++ net/wireless/reg.c | 11 ++++++----- 4 files changed, 64 insertions(+), 18 deletions(-) -- 1.8.2.1 -- 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