diff options
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index cac0b1334548..442a43a34005 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -882,54 +882,53 @@ static inline int ieee80211_bssid_match(const u8 *raddr, const u8 *addr) | |||
882 | } | 882 | } |
883 | 883 | ||
884 | 884 | ||
885 | /* ieee80211.c */ | ||
886 | int ieee80211_hw_config(struct ieee80211_local *local); | 885 | int ieee80211_hw_config(struct ieee80211_local *local); |
887 | int ieee80211_if_config(struct ieee80211_sub_if_data *sdata, u32 changed); | 886 | int ieee80211_if_config(struct ieee80211_sub_if_data *sdata, u32 changed); |
888 | void ieee80211_tx_set_protected(struct ieee80211_tx_data *tx); | 887 | void ieee80211_tx_set_protected(struct ieee80211_tx_data *tx); |
889 | u32 ieee80211_handle_ht(struct ieee80211_local *local, int enable_ht, | 888 | u32 ieee80211_handle_ht(struct ieee80211_local *local, int enable_ht, |
890 | struct ieee80211_ht_info *req_ht_cap, | 889 | struct ieee80211_ht_info *req_ht_cap, |
891 | struct ieee80211_ht_bss_info *req_bss_cap); | 890 | struct ieee80211_ht_bss_info *req_bss_cap); |
891 | void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata, | ||
892 | u32 changed); | ||
892 | 893 | ||
893 | /* ieee80211_ioctl.c */ | 894 | /* wireless extensions */ |
894 | extern const struct iw_handler_def ieee80211_iw_handler_def; | 895 | extern const struct iw_handler_def ieee80211_iw_handler_def; |
895 | int ieee80211_set_freq(struct ieee80211_sub_if_data *sdata, int freq); | 896 | int ieee80211_set_freq(struct ieee80211_sub_if_data *sdata, int freq); |
896 | 897 | ||
897 | /* ieee80211_sta.c */ | 898 | /* STA/IBSS code */ |
898 | void ieee80211_sta_timer(unsigned long data); | 899 | void ieee80211_sta_setup_sdata(struct ieee80211_sub_if_data *sdata); |
899 | void ieee80211_sta_work(struct work_struct *work); | ||
900 | void ieee80211_sta_scan_work(struct work_struct *work); | 900 | void ieee80211_sta_scan_work(struct work_struct *work); |
901 | void ieee80211_sta_rx_mgmt(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, | 901 | void ieee80211_sta_rx_mgmt(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, |
902 | struct ieee80211_rx_status *rx_status); | 902 | struct ieee80211_rx_status *rx_status); |
903 | int ieee80211_sta_set_ssid(struct ieee80211_sub_if_data *sdata, char *ssid, size_t len); | 903 | int ieee80211_sta_set_ssid(struct ieee80211_sub_if_data *sdata, char *ssid, size_t len); |
904 | int ieee80211_sta_get_ssid(struct ieee80211_sub_if_data *sdata, char *ssid, size_t *len); | 904 | int ieee80211_sta_get_ssid(struct ieee80211_sub_if_data *sdata, char *ssid, size_t *len); |
905 | int ieee80211_sta_set_bssid(struct ieee80211_sub_if_data *sdata, u8 *bssid); | 905 | int ieee80211_sta_set_bssid(struct ieee80211_sub_if_data *sdata, u8 *bssid); |
906 | int ieee80211_sta_req_scan(struct ieee80211_sub_if_data *sdata, u8 *ssid, size_t ssid_len); | ||
907 | void ieee80211_sta_req_auth(struct ieee80211_sub_if_data *sdata, | 906 | void ieee80211_sta_req_auth(struct ieee80211_sub_if_data *sdata, |
908 | struct ieee80211_if_sta *ifsta); | 907 | struct ieee80211_if_sta *ifsta); |
909 | int ieee80211_sta_scan_results(struct ieee80211_local *local, | ||
910 | struct iw_request_info *info, | ||
911 | char *buf, size_t len); | ||
912 | ieee80211_rx_result ieee80211_sta_rx_scan( | ||
913 | struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, | ||
914 | struct ieee80211_rx_status *rx_status); | ||
915 | void ieee80211_rx_bss_list_init(struct ieee80211_local *local); | ||
916 | void ieee80211_rx_bss_list_deinit(struct ieee80211_local *local); | ||
917 | int ieee80211_sta_set_extra_ie(struct ieee80211_sub_if_data *sdata, char *ie, size_t len); | ||
918 | struct sta_info *ieee80211_ibss_add_sta(struct ieee80211_sub_if_data *sdata, | 908 | struct sta_info *ieee80211_ibss_add_sta(struct ieee80211_sub_if_data *sdata, |
919 | struct sk_buff *skb, u8 *bssid, | 909 | struct sk_buff *skb, u8 *bssid, |
920 | u8 *addr, u64 supp_rates); | 910 | u8 *addr, u64 supp_rates); |
921 | int ieee80211_sta_deauthenticate(struct ieee80211_sub_if_data *sdata, u16 reason); | 911 | int ieee80211_sta_deauthenticate(struct ieee80211_sub_if_data *sdata, u16 reason); |
922 | int ieee80211_sta_disassociate(struct ieee80211_sub_if_data *sdata, u16 reason); | 912 | int ieee80211_sta_disassociate(struct ieee80211_sub_if_data *sdata, u16 reason); |
923 | void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata, | ||
924 | u32 changed); | ||
925 | u32 ieee80211_reset_erp_info(struct ieee80211_sub_if_data *sdata); | 913 | u32 ieee80211_reset_erp_info(struct ieee80211_sub_if_data *sdata); |
926 | u64 ieee80211_sta_get_rates(struct ieee80211_local *local, | 914 | u64 ieee80211_sta_get_rates(struct ieee80211_local *local, |
927 | struct ieee802_11_elems *elems, | 915 | struct ieee802_11_elems *elems, |
928 | enum ieee80211_band band); | 916 | enum ieee80211_band band); |
929 | void ieee80211_send_probe_req(struct ieee80211_sub_if_data *sdata, u8 *dst, | 917 | void ieee80211_send_probe_req(struct ieee80211_sub_if_data *sdata, u8 *dst, |
930 | u8 *ssid, size_t ssid_len); | 918 | u8 *ssid, size_t ssid_len); |
931 | void ieee802_11_parse_elems(u8 *start, size_t len, | 919 | |
932 | struct ieee802_11_elems *elems); | 920 | /* scan/BSS handling */ |
921 | int ieee80211_sta_req_scan(struct ieee80211_sub_if_data *sdata, u8 *ssid, size_t ssid_len); | ||
922 | int ieee80211_sta_scan_results(struct ieee80211_local *local, | ||
923 | struct iw_request_info *info, | ||
924 | char *buf, size_t len); | ||
925 | ieee80211_rx_result ieee80211_sta_rx_scan( | ||
926 | struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, | ||
927 | struct ieee80211_rx_status *rx_status); | ||
928 | void ieee80211_rx_bss_list_init(struct ieee80211_local *local); | ||
929 | void ieee80211_rx_bss_list_deinit(struct ieee80211_local *local); | ||
930 | int ieee80211_sta_set_extra_ie(struct ieee80211_sub_if_data *sdata, char *ie, size_t len); | ||
931 | |||
933 | void ieee80211_mlme_notify_scan_completed(struct ieee80211_local *local); | 932 | void ieee80211_mlme_notify_scan_completed(struct ieee80211_local *local); |
934 | int ieee80211_sta_start_scan(struct ieee80211_sub_if_data *scan_sdata, | 933 | int ieee80211_sta_start_scan(struct ieee80211_sub_if_data *scan_sdata, |
935 | u8 *ssid, size_t ssid_len); | 934 | u8 *ssid, size_t ssid_len); |
@@ -1007,6 +1006,8 @@ void mac80211_ev_michael_mic_failure(struct ieee80211_sub_if_data *sdata, int ke | |||
1007 | void ieee80211_set_wmm_default(struct ieee80211_sub_if_data *sdata); | 1006 | void ieee80211_set_wmm_default(struct ieee80211_sub_if_data *sdata); |
1008 | void ieee80211_tx_skb(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, | 1007 | void ieee80211_tx_skb(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, |
1009 | int encrypt); | 1008 | int encrypt); |
1009 | void ieee802_11_parse_elems(u8 *start, size_t len, | ||
1010 | struct ieee802_11_elems *elems); | ||
1010 | 1011 | ||
1011 | #ifdef CONFIG_MAC80211_NOINLINE | 1012 | #ifdef CONFIG_MAC80211_NOINLINE |
1012 | #define debug_noinline noinline | 1013 | #define debug_noinline noinline |