mac80211: Fix HT channel selection
authorSujith <Sujith.Manoharan@atheros.com>
Fri, 12 Dec 2008 06:27:43 +0000 (11:57 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Dec 2008 20:22:54 +0000 (15:22 -0500)
commit094d05dc32fc2930e381189a942016e5561775d9
tree4deedbcbe196f88cb8d9fe0cd0755775a7ff0939
parent420e7fabd9c6d907280ed6b3e40eef425c5d8d8d
mac80211: Fix HT channel selection

HT management is done differently for AP and STA modes, unify
to just the ->config() callback since HT is fundamentally a
PHY property and cannot be per-BSS.

Rename enum nl80211_sec_chan_offset as nl80211_channel_type to denote
the channel type ( NO_HT, HT20, HT40+, HT40- ).

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
13 files changed:
drivers/net/wireless/ath9k/main.c
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/mac80211_hwsim.c
include/linux/nl80211.h
include/net/cfg80211.h
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/ht.c
net/mac80211/ieee80211_i.h
net/mac80211/main.c
net/mac80211/mlme.c
net/mac80211/util.c
net/wireless/nl80211.c