diff options
Diffstat (limited to 'net/mac80211/sta_info.h')
-rw-r--r-- | net/mac80211/sta_info.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index 220079900991..e7ce12dbf270 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h | |||
@@ -218,6 +218,7 @@ struct sta_ampdu_mlme { | |||
218 | * @plink_timeout: TBD | 218 | * @plink_timeout: TBD |
219 | * @plink_timer: TBD | 219 | * @plink_timer: TBD |
220 | * @debugfs: debug filesystem info | 220 | * @debugfs: debug filesystem info |
221 | * @sta: station information we share with the driver | ||
221 | */ | 222 | */ |
222 | struct sta_info { | 223 | struct sta_info { |
223 | /* General information, mostly static */ | 224 | /* General information, mostly static */ |
@@ -232,8 +233,7 @@ struct sta_info { | |||
232 | spinlock_t flaglock; | 233 | spinlock_t flaglock; |
233 | struct ieee80211_ht_info ht_info; | 234 | struct ieee80211_ht_info ht_info; |
234 | u64 supp_rates[IEEE80211_NUM_BANDS]; | 235 | u64 supp_rates[IEEE80211_NUM_BANDS]; |
235 | u8 addr[ETH_ALEN]; | 236 | |
236 | u16 aid; | ||
237 | u16 listen_interval; | 237 | u16 listen_interval; |
238 | 238 | ||
239 | /* | 239 | /* |
@@ -327,6 +327,9 @@ struct sta_info { | |||
327 | struct dentry *agg_status; | 327 | struct dentry *agg_status; |
328 | } debugfs; | 328 | } debugfs; |
329 | #endif | 329 | #endif |
330 | |||
331 | /* keep last! */ | ||
332 | struct ieee80211_sta sta; | ||
330 | }; | 333 | }; |
331 | 334 | ||
332 | static inline enum plink_state sta_plink_state(struct sta_info *sta) | 335 | static inline enum plink_state sta_plink_state(struct sta_info *sta) |