]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/mac80211/sta_info.h
mac80211: share STA information with driver
[linux-2.6-omap-h63xx.git] / net / mac80211 / sta_info.h
index 22007990099169be95a3cc3759010aa94bfc7ffc..e7ce12dbf2701881e21ccb63d32e334cefffe92e 100644 (file)
@@ -218,6 +218,7 @@ struct sta_ampdu_mlme {
  * @plink_timeout: TBD
  * @plink_timer: TBD
  * @debugfs: debug filesystem info
+ * @sta: station information we share with the driver
  */
 struct sta_info {
        /* General information, mostly static */
@@ -232,8 +233,7 @@ struct sta_info {
        spinlock_t flaglock;
        struct ieee80211_ht_info ht_info;
        u64 supp_rates[IEEE80211_NUM_BANDS];
-       u8 addr[ETH_ALEN];
-       u16 aid;
+
        u16 listen_interval;
 
        /*
@@ -327,6 +327,9 @@ struct sta_info {
                struct dentry *agg_status;
        } debugfs;
 #endif
+
+       /* keep last! */
+       struct ieee80211_sta sta;
 };
 
 static inline enum plink_state sta_plink_state(struct sta_info *sta)