aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-09-10 20:45:11 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-09-15 16:48:24 -0400
commit323ce79a9cdbf838ea577677b1ddace8e0b4d4c6 (patch)
treef14a67ec7927865dc1537b2c3a4fb20c0325f517 /include/net/mac80211.h
parentb7e35008815a1c39123f4dd53b430788e2e18da4 (diff)
mac80211: share sta->supp_rates
As more preparation for a saner rate control algorithm API, share the supported rates bitmap in the public 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 5a6a029da4da..ef8e4cc32c2e 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -666,10 +666,12 @@ enum set_key_cmd {
666 * 666 *
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 * @drv_priv: data area for driver use, will always be aligned to 670 * @drv_priv: data area for driver use, will always be aligned to
670 * sizeof(void *), size is determined in hw information. 671 * sizeof(void *), size is determined in hw information.
671 */ 672 */
672struct ieee80211_sta { 673struct ieee80211_sta {
674 u64 supp_rates[IEEE80211_NUM_BANDS];
673 u8 addr[ETH_ALEN]; 675 u8 addr[ETH_ALEN];
674 u16 aid; 676 u16 aid;
675 677