diff options
author | Arik Nemtsov <arik@wizery.com> | 2014-05-01 10:17:27 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-05-05 15:56:02 +0200 |
commit | 0c4972ccaa27620fe4281ac5c8c536978a563345 (patch) | |
tree | 1e0d4a847fc36eab53cc459a392fe9580450210b /include/net/mac80211.h | |
parent | 8c5bb1fad0bb9c29f7d817c1e2fdb052b76f04e9 (diff) | |
download | op-kernel-dev-0c4972ccaa27620fe4281ac5c8c536978a563345.zip op-kernel-dev-0c4972ccaa27620fe4281ac5c8c536978a563345.tar.gz |
mac80211: set an external flag for TDLS stations
Expose a new tdls flag for the public ieee80211_sta struct.
This can be used in some rate control decisions.
Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 451c1bf..bdb4a7c 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -1374,6 +1374,7 @@ struct ieee80211_sta_rates { * the station moves to associated state. * @smps_mode: current SMPS mode (off, static or dynamic) * @rates: rate control selection table + * @tdls: indicates whether the STA is a TDLS peer */ struct ieee80211_sta { u32 supp_rates[IEEE80211_NUM_BANDS]; @@ -1388,6 +1389,7 @@ struct ieee80211_sta { enum ieee80211_sta_rx_bandwidth bandwidth; enum ieee80211_smps_mode smps_mode; struct ieee80211_sta_rates __rcu *rates; + bool tdls; /* must be last */ u8 drv_priv[0] __aligned(sizeof(void *)); |