]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211/cfg80211: add 5 and 10 MHz defines and wiphy flag
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
Thu, 16 May 2013 11:00:28 +0000 (13:00 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 18 Jun 2013 14:06:50 +0000 (16:06 +0200)
commit21f626d2d30f81331b13480deb093b3e73869e61
tree9f433169001a6d349e7f6b923d278327483cb08a
parentc7fb04201daea814589d57ae98247837fcd08d91
nl80211/cfg80211: add 5 and 10 MHz defines and wiphy flag

Add defines for 5 and 10 MHz channel width and fix channel
handling functions accordingly.

Also check for and report the WIPHY_FLAG_SUPPORTS_5_10_MHZ
capability.

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
[fix spelling in comment]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/chan.c
net/wireless/nl80211.c