mac80211: track AP and peer STA TDLS chan-switch support
authorArik Nemtsov <arik@wizery.com>
Sun, 9 Nov 2014 16:50:15 +0000 (18:50 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 19 Nov 2014 17:45:04 +0000 (18:45 +0100)
commit9041c1fa5722250025be9a7450622c9108088c5a
tree0771cbcc4518a708ac58aec7388c06eb926bba39
parent78632a17eaa7a5abdc22aac8ca5932d6cad59984
mac80211: track AP and peer STA TDLS chan-switch support

The AP or peer can prohibit TDLS channel switch via a bit in the
extended capabilities IE. Parse the IE and track this bit. Set an
appropriate STA flag if both the AP and peer STA support TDLS
channel-switching.

Add the new STA flag and the missing TDLS_INITIATOR to debugfs.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/debugfs_sta.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/sta_info.h
net/mac80211/util.c