aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h39
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 */
886int ieee80211_hw_config(struct ieee80211_local *local); 885int ieee80211_hw_config(struct ieee80211_local *local);
887int ieee80211_if_config(struct ieee80211_sub_if_data *sdata, u32 changed); 886int ieee80211_if_config(struct ieee80211_sub_if_data *sdata, u32 changed);
888void ieee80211_tx_set_protected(struct ieee80211_tx_data *tx); 887void ieee80211_tx_set_protected(struct ieee80211_tx_data *tx);
889u32 ieee80211_handle_ht(struct ieee80211_local *local, int enable_ht, 888u32 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);
891void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata,
892 u32 changed);
892 893
893/* ieee80211_ioctl.c */ 894/* wireless extensions */
894extern const struct iw_handler_def ieee80211_iw_handler_def; 895extern const struct iw_handler_def ieee80211_iw_handler_def;
895int ieee80211_set_freq(struct ieee80211_sub_if_data *sdata, int freq); 896int ieee80211_set_freq(struct ieee80211_sub_if_data *sdata, int freq);
896 897
897/* ieee80211_sta.c */ 898/* STA/IBSS code */
898void ieee80211_sta_timer(unsigned long data); 899void ieee80211_sta_setup_sdata(struct ieee80211_sub_if_data *sdata);
899void ieee80211_sta_work(struct work_struct *work);
900void ieee80211_sta_scan_work(struct work_struct *work); 900void ieee80211_sta_scan_work(struct work_struct *work);
901void ieee80211_sta_rx_mgmt(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, 901void 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);
903int ieee80211_sta_set_ssid(struct ieee80211_sub_if_data *sdata, char *ssid, size_t len); 903int ieee80211_sta_set_ssid(struct ieee80211_sub_if_data *sdata, char *ssid, size_t len);
904int ieee80211_sta_get_ssid(struct ieee80211_sub_if_data *sdata, char *ssid, size_t *len); 904int ieee80211_sta_get_ssid(struct ieee80211_sub_if_data *sdata, char *ssid, size_t *len);
905int ieee80211_sta_set_bssid(struct ieee80211_sub_if_data *sdata, u8 *bssid); 905int ieee80211_sta_set_bssid(struct ieee80211_sub_if_data *sdata, u8 *bssid);
906int ieee80211_sta_req_scan(struct ieee80211_sub_if_data *sdata, u8 *ssid, size_t ssid_len);
907void ieee80211_sta_req_auth(struct ieee80211_sub_if_data *sdata, 906void ieee80211_sta_req_auth(struct ieee80211_sub_if_data *sdata,
908 struct ieee80211_if_sta *ifsta); 907 struct ieee80211_if_sta *ifsta);
909int ieee80211_sta_scan_results(struct ieee80211_local *local,
910 struct iw_request_info *info,
911 char *buf, size_t len);
912ieee80211_rx_result ieee80211_sta_rx_scan(
913 struct ieee80211_sub_if_data *sdata, struct sk_buff *skb,
914 struct ieee80211_rx_status *rx_status);
915void ieee80211_rx_bss_list_init(struct ieee80211_local *local);
916void ieee80211_rx_bss_list_deinit(struct ieee80211_local *local);
917int ieee80211_sta_set_extra_ie(struct ieee80211_sub_if_data *sdata, char *ie, size_t len);
918struct sta_info *ieee80211_ibss_add_sta(struct ieee80211_sub_if_data *sdata, 908struct 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);
921int ieee80211_sta_deauthenticate(struct ieee80211_sub_if_data *sdata, u16 reason); 911int ieee80211_sta_deauthenticate(struct ieee80211_sub_if_data *sdata, u16 reason);
922int ieee80211_sta_disassociate(struct ieee80211_sub_if_data *sdata, u16 reason); 912int ieee80211_sta_disassociate(struct ieee80211_sub_if_data *sdata, u16 reason);
923void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata,
924 u32 changed);
925u32 ieee80211_reset_erp_info(struct ieee80211_sub_if_data *sdata); 913u32 ieee80211_reset_erp_info(struct ieee80211_sub_if_data *sdata);
926u64 ieee80211_sta_get_rates(struct ieee80211_local *local, 914u64 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);
929void ieee80211_send_probe_req(struct ieee80211_sub_if_data *sdata, u8 *dst, 917void 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);
931void ieee802_11_parse_elems(u8 *start, size_t len, 919
932 struct ieee802_11_elems *elems); 920/* scan/BSS handling */
921int ieee80211_sta_req_scan(struct ieee80211_sub_if_data *sdata, u8 *ssid, size_t ssid_len);
922int ieee80211_sta_scan_results(struct ieee80211_local *local,
923 struct iw_request_info *info,
924 char *buf, size_t len);
925ieee80211_rx_result ieee80211_sta_rx_scan(
926 struct ieee80211_sub_if_data *sdata, struct sk_buff *skb,
927 struct ieee80211_rx_status *rx_status);
928void ieee80211_rx_bss_list_init(struct ieee80211_local *local);
929void ieee80211_rx_bss_list_deinit(struct ieee80211_local *local);
930int ieee80211_sta_set_extra_ie(struct ieee80211_sub_if_data *sdata, char *ie, size_t len);
931
933void ieee80211_mlme_notify_scan_completed(struct ieee80211_local *local); 932void ieee80211_mlme_notify_scan_completed(struct ieee80211_local *local);
934int ieee80211_sta_start_scan(struct ieee80211_sub_if_data *scan_sdata, 933int 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
1007void ieee80211_set_wmm_default(struct ieee80211_sub_if_data *sdata); 1006void ieee80211_set_wmm_default(struct ieee80211_sub_if_data *sdata);
1008void ieee80211_tx_skb(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, 1007void ieee80211_tx_skb(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb,
1009 int encrypt); 1008 int encrypt);
1009void 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