aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-09-10 18:01:58 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-09-15 16:48:23 -0400
commit05c914fe330fa8e1cc67870dc0d3809dfd96c107 (patch)
treedf53bcab47335f3361c09478d6b1447b7d298536 /net/mac80211/ieee80211_i.h
parent96dd22ac06b0dbfb069fdf530c72046a941e9694 (diff)
mac80211: use nl80211 interface types
There's really no reason for mac80211 to be using its own interface type defines. Use the nl80211 types and simplify the configuration code a bit: there's no need to translate them any more now. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 21cc6d07b020..80d88f5ff90c 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -954,10 +954,10 @@ void ieee80211_rx_bss_put(struct ieee80211_local *local,
954/* interface handling */ 954/* interface handling */
955void ieee80211_if_setup(struct net_device *dev); 955void ieee80211_if_setup(struct net_device *dev);
956int ieee80211_if_add(struct ieee80211_local *local, const char *name, 956int ieee80211_if_add(struct ieee80211_local *local, const char *name,
957 struct net_device **new_dev, enum ieee80211_if_types type, 957 struct net_device **new_dev, enum nl80211_iftype type,
958 struct vif_params *params); 958 struct vif_params *params);
959int ieee80211_if_change_type(struct ieee80211_sub_if_data *sdata, 959int ieee80211_if_change_type(struct ieee80211_sub_if_data *sdata,
960 enum ieee80211_if_types type); 960 enum nl80211_iftype type);
961void ieee80211_if_remove(struct ieee80211_sub_if_data *sdata); 961void ieee80211_if_remove(struct ieee80211_sub_if_data *sdata);
962void ieee80211_remove_interfaces(struct ieee80211_local *local); 962void ieee80211_remove_interfaces(struct ieee80211_local *local);
963 963
@@ -1001,7 +1001,7 @@ extern void *mac80211_wiphy_privid; /* for wiphy privid */
1001extern const unsigned char rfc1042_header[6]; 1001extern const unsigned char rfc1042_header[6];
1002extern const unsigned char bridge_tunnel_header[6]; 1002extern const unsigned char bridge_tunnel_header[6];
1003u8 *ieee80211_get_bssid(struct ieee80211_hdr *hdr, size_t len, 1003u8 *ieee80211_get_bssid(struct ieee80211_hdr *hdr, size_t len,
1004 enum ieee80211_if_types type); 1004 enum nl80211_iftype type);
1005int ieee80211_frame_duration(struct ieee80211_local *local, size_t len, 1005int ieee80211_frame_duration(struct ieee80211_local *local, size_t len,
1006 int rate, int erp, int short_preamble); 1006 int rate, int erp, int short_preamble);
1007void mac80211_ev_michael_mic_failure(struct ieee80211_sub_if_data *sdata, int keyidx, 1007void mac80211_ev_michael_mic_failure(struct ieee80211_sub_if_data *sdata, int keyidx,