diff options
author | Ron Rindjunsky <ron.rindjunsky@intel.com> | 2007-11-26 09:14:31 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:55:31 -0500 |
commit | c715350828b12ce3b29e655fec7a7d6b22245d00 (patch) | |
tree | e452f028a68e88b8f071bb9298d961d018f88bba /net/mac80211/ieee80211_i.h | |
parent | 10816d40f2e9500057cb46d7608a362a1d10bb9b (diff) |
mac80211: adding 802.11n IEs handling
This patch presents the ability to parse and compose HT IEs, and to put
the IE relevant data inside the mac80211's internal HT structures
Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index e2aed0b2d8be..982f99672994 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -89,6 +89,8 @@ struct ieee80211_sta_bss { | |||
89 | size_t rsn_ie_len; | 89 | size_t rsn_ie_len; |
90 | u8 *wmm_ie; | 90 | u8 *wmm_ie; |
91 | size_t wmm_ie_len; | 91 | size_t wmm_ie_len; |
92 | u8 *ht_ie; | ||
93 | size_t ht_ie_len; | ||
92 | #define IEEE80211_MAX_SUPP_RATES 32 | 94 | #define IEEE80211_MAX_SUPP_RATES 32 |
93 | u8 supp_rates[IEEE80211_MAX_SUPP_RATES]; | 95 | u8 supp_rates[IEEE80211_MAX_SUPP_RATES]; |
94 | size_t supp_rates_len; | 96 | size_t supp_rates_len; |
@@ -759,7 +761,11 @@ int ieee80211_sta_deauthenticate(struct net_device *dev, u16 reason); | |||
759 | int ieee80211_sta_disassociate(struct net_device *dev, u16 reason); | 761 | int ieee80211_sta_disassociate(struct net_device *dev, u16 reason); |
760 | void ieee80211_erp_info_change_notify(struct net_device *dev, u8 changes); | 762 | void ieee80211_erp_info_change_notify(struct net_device *dev, u8 changes); |
761 | void ieee80211_reset_erp_info(struct net_device *dev); | 763 | void ieee80211_reset_erp_info(struct net_device *dev); |
762 | 764 | int ieee80211_ht_cap_ie_to_ht_info(struct ieee80211_ht_cap *ht_cap_ie, | |
765 | struct ieee80211_ht_info *ht_info); | ||
766 | int ieee80211_ht_addt_info_ie_to_ht_bss_info( | ||
767 | struct ieee80211_ht_addt_info *ht_add_info_ie, | ||
768 | struct ieee80211_ht_bss_info *bss_info); | ||
763 | /* ieee80211_iface.c */ | 769 | /* ieee80211_iface.c */ |
764 | int ieee80211_if_add(struct net_device *dev, const char *name, | 770 | int ieee80211_if_add(struct net_device *dev, const char *name, |
765 | struct net_device **new_dev, int type); | 771 | struct net_device **new_dev, int type); |