aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-09-10 21:14:11 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-09-15 16:48:24 -0400
commit687c7c0807371aeaa94ff2fff511eeb326b5c5de (patch)
tree5f1a51d7f42dba9718ab7286768a5d3c7a4b4b34 /include/net/mac80211.h
parentae17e986091637e7ef5a8224c7b689029b105131 (diff)
mac80211: share sta_info->ht_info
Rate control algorithms may need access to a station's HT capabilities, so share the ht_info struct in the public station API. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index ef8e4cc32c2e..d6669fd3ffa8 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -667,6 +667,7 @@ enum set_key_cmd {
667 * @addr: MAC address 667 * @addr: MAC address
668 * @aid: AID we assigned to the station if we're an AP 668 * @aid: AID we assigned to the station if we're an AP
669 * @supp_rates: Bitmap of supported rates (per band) 669 * @supp_rates: Bitmap of supported rates (per band)
670 * @ht_info: HT capabilities of this STA
670 * @drv_priv: data area for driver use, will always be aligned to 671 * @drv_priv: data area for driver use, will always be aligned to
671 * sizeof(void *), size is determined in hw information. 672 * sizeof(void *), size is determined in hw information.
672 */ 673 */
@@ -674,6 +675,7 @@ struct ieee80211_sta {
674 u64 supp_rates[IEEE80211_NUM_BANDS]; 675 u64 supp_rates[IEEE80211_NUM_BANDS];
675 u8 addr[ETH_ALEN]; 676 u8 addr[ETH_ALEN];
676 u16 aid; 677 u16 aid;
678 struct ieee80211_ht_info ht_info;
677 679
678 /* must be last */ 680 /* must be last */
679 u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *)))); 681 u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *))));