This patch series is another attempt to mainline support for ITS-G5 band (5.9 GHz) designated for Intelligent Transportation Systems. Based on the discussion with Jouni [1], this version adds the following restrictions for using the band: 1. Custom reg db must be provided by the user. 2. CONFIG_CFG80211_REG_ITSG5_BAND must be enabled. 3. The band is restricted to OCB mode. I.e. beaconing and scanning is disabled. Patches 1-3 do some refactoring and cleanup. They are independent of the rest of the series. Patches 4-7 add regulatory support (mainly the points mentioned above) and finally patch 8 adds support for ITS-G5 to the ath9k driver. [1]: http://www.mail-archive.com/ath9k-devel at lists.ath9k.org/msg13795.html Michal Sojka (8): cfg80211: reg: Remove unused function parameter cfg80211: Remove unused cfg80211_can_use_iftype_chan() cfg80211: reg: Refactor calculation of bandwidth flags cfg80211: reg: Properly handle rules for 5 and 10 MHz channels cfg80211: Add support for OCB-only channels cfg80211: reg: Add NL80211_RRF_USER_REGD_NEEDED flag cfg80211: Add Kconfig option for ITS-G5 band (5.9 GHz) ath9k: Add support for ITS-G5 band (5.9 GHz) drivers/net/wireless/ath/ath9k/common-init.c | 19 +++++ drivers/net/wireless/ath/ath9k/hw.h | 2 +- drivers/net/wireless/ath/regd.c | 23 +++-- include/net/cfg80211.h | 5 ++ include/uapi/linux/nl80211.h | 6 ++ net/wireless/Kconfig | 27 ++++++ net/wireless/chan.c | 6 +- net/wireless/core.h | 7 -- net/wireless/ibss.c | 12 ++- net/wireless/mesh.c | 3 +- net/wireless/nl80211.c | 12 +-- net/wireless/reg.c | 123 +++++++++++++-------------- net/wireless/scan.c | 4 +- net/wireless/sme.c | 3 +- net/wireless/util.c | 114 ------------------------- net/wireless/wext-sme.c | 3 +- 16 files changed, 161 insertions(+), 208 deletions(-) -- 2.5.3