diff options
author | Arik Nemtsov <arik@wizery.com> | 2014-11-09 11:50:15 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-11-19 12:45:04 -0500 |
commit | 9041c1fa5722250025be9a7450622c9108088c5a (patch) | |
tree | 0771cbcc4518a708ac58aec7388c06eb926bba39 /net/mac80211/sta_info.h | |
parent | 78632a17eaa7a5abdc22aac8ca5932d6cad59984 (diff) |
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>
Diffstat (limited to 'net/mac80211/sta_info.h')
-rw-r--r-- | net/mac80211/sta_info.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index bcda2ac7d844..b6702c810ad3 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h | |||
@@ -49,6 +49,7 @@ | |||
49 | * packets. This means the link is enabled. | 49 | * packets. This means the link is enabled. |
50 | * @WLAN_STA_TDLS_INITIATOR: We are the initiator of the TDLS link with this | 50 | * @WLAN_STA_TDLS_INITIATOR: We are the initiator of the TDLS link with this |
51 | * station. | 51 | * station. |
52 | * @WLAN_STA_TDLS_CHAN_SWITCH: This TDLS peer supports TDLS channel-switching | ||
52 | * @WLAN_STA_UAPSD: Station requested unscheduled SP while driver was | 53 | * @WLAN_STA_UAPSD: Station requested unscheduled SP while driver was |
53 | * keeping station in power-save mode, reply when the driver | 54 | * keeping station in power-save mode, reply when the driver |
54 | * unblocks the station. | 55 | * unblocks the station. |
@@ -78,6 +79,7 @@ enum ieee80211_sta_info_flags { | |||
78 | WLAN_STA_TDLS_PEER, | 79 | WLAN_STA_TDLS_PEER, |
79 | WLAN_STA_TDLS_PEER_AUTH, | 80 | WLAN_STA_TDLS_PEER_AUTH, |
80 | WLAN_STA_TDLS_INITIATOR, | 81 | WLAN_STA_TDLS_INITIATOR, |
82 | WLAN_STA_TDLS_CHAN_SWITCH, | ||
81 | WLAN_STA_UAPSD, | 83 | WLAN_STA_UAPSD, |
82 | WLAN_STA_SP, | 84 | WLAN_STA_SP, |
83 | WLAN_STA_4ADDR_EVENT, | 85 | WLAN_STA_4ADDR_EVENT, |