aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorYogesh Ashok Powar <yogeshp@marvell.com>2011-08-09 21:02:26 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-08-12 13:45:03 -0400
commit0879fa44b54101c9955123582018cb511047a2b6 (patch)
tree0a9c1f5fc10a3b320d0db793598822a43b2dc719 /net/mac80211/ieee80211_i.h
parentf3d4505de539f754b78d5c30e5d2cb41a0ed0117 (diff)
cfg80211/mac80211: move information element parsing logic to cfg80211
Moving the parsing logic for retrieving the information elements stored in management frames, e.g. beacons or probe responses, and making it available to other cfg80211 drivers. Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h63
1 files changed, 0 insertions, 63 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 286ac5dbeeea..ea7419050846 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -1021,69 +1021,6 @@ struct ieee80211_ra_tid {
1021 u16 tid; 1021 u16 tid;
1022}; 1022};
1023 1023
1024/* Parsed Information Elements */
1025struct ieee802_11_elems {
1026 u8 *ie_start;
1027 size_t total_len;
1028
1029 /* pointers to IEs */
1030 u8 *ssid;
1031 u8 *supp_rates;
1032 u8 *fh_params;
1033 u8 *ds_params;
1034 u8 *cf_params;
1035 struct ieee80211_tim_ie *tim;
1036 u8 *ibss_params;
1037 u8 *challenge;
1038 u8 *wpa;
1039 u8 *rsn;
1040 u8 *erp_info;
1041 u8 *ext_supp_rates;
1042 u8 *wmm_info;
1043 u8 *wmm_param;
1044 struct ieee80211_ht_cap *ht_cap_elem;
1045 struct ieee80211_ht_info *ht_info_elem;
1046 struct ieee80211_meshconf_ie *mesh_config;
1047 u8 *mesh_id;
1048 u8 *peer_link;
1049 u8 *preq;
1050 u8 *prep;
1051 u8 *perr;
1052 struct ieee80211_rann_ie *rann;
1053 u8 *ch_switch_elem;
1054 u8 *country_elem;
1055 u8 *pwr_constr_elem;
1056 u8 *quiet_elem; /* first quite element */
1057 u8 *timeout_int;
1058
1059 /* length of them, respectively */
1060 u8 ssid_len;
1061 u8 supp_rates_len;
1062 u8 fh_params_len;
1063 u8 ds_params_len;
1064 u8 cf_params_len;
1065 u8 tim_len;
1066 u8 ibss_params_len;
1067 u8 challenge_len;
1068 u8 wpa_len;
1069 u8 rsn_len;
1070 u8 erp_info_len;
1071 u8 ext_supp_rates_len;
1072 u8 wmm_info_len;
1073 u8 wmm_param_len;
1074 u8 mesh_id_len;
1075 u8 peer_link_len;
1076 u8 preq_len;
1077 u8 prep_len;
1078 u8 perr_len;
1079 u8 ch_switch_elem_len;
1080 u8 country_elem_len;
1081 u8 pwr_constr_elem_len;
1082 u8 quiet_elem_len;
1083 u8 num_of_quiet_elem; /* can be more the one */
1084 u8 timeout_int_len;
1085};
1086
1087static inline struct ieee80211_local *hw_to_local( 1024static inline struct ieee80211_local *hw_to_local(
1088 struct ieee80211_hw *hw) 1025 struct ieee80211_hw *hw)
1089{ 1026{