nl80211: Move more event processing into driver_nl80211_event.c

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2014-10-26 16:23:46 +02:00
parent 8a906d1251
commit 159a17916f
3 changed files with 1265 additions and 1281 deletions

File diff suppressed because it is too large Load diff

View file

@ -181,7 +181,6 @@ struct wpa_driver_nl80211_data {
}; };
struct nl_msg; struct nl_msg;
struct nlattr;
int nl80211_set_iface_id(struct nl_msg *msg, struct i802_bss *bss); int nl80211_set_iface_id(struct nl_msg *msg, struct i802_bss *bss);
void * nl80211_cmd(struct wpa_driver_nl80211_data *drv, void * nl80211_cmd(struct wpa_driver_nl80211_data *drv,
@ -210,7 +209,6 @@ int nl80211_get_wiphy_index(struct i802_bss *bss);
int wpa_driver_nl80211_set_mode(struct i802_bss *bss, int wpa_driver_nl80211_set_mode(struct i802_bss *bss,
enum nl80211_iftype nlmode); enum nl80211_iftype nlmode);
void wpa_driver_nl80211_scan_timeout(void *eloop_ctx, void *timeout_ctx); void wpa_driver_nl80211_scan_timeout(void *eloop_ctx, void *timeout_ctx);
const char * nl80211_command_to_string(enum nl80211_commands cmd);
int nl80211_create_monitor_interface(struct wpa_driver_nl80211_data *drv); int nl80211_create_monitor_interface(struct wpa_driver_nl80211_data *drv);
void nl80211_remove_monitor_interface(struct wpa_driver_nl80211_data *drv); void nl80211_remove_monitor_interface(struct wpa_driver_nl80211_data *drv);
@ -222,26 +220,9 @@ int wpa_driver_nl80211_capa(struct wpa_driver_nl80211_data *drv);
struct hostapd_hw_modes * struct hostapd_hw_modes *
nl80211_get_hw_feature_data(void *priv, u16 *num_modes, u16 *flags); nl80211_get_hw_feature_data(void *priv, u16 *num_modes, u16 *flags);
void mlme_event_connect(struct wpa_driver_nl80211_data *drv, int process_global_event(struct nl_msg *msg, void *arg);
enum nl80211_commands cmd, struct nlattr *status, int process_drv_event(struct nl_msg *msg, void *arg);
struct nlattr *addr, struct nlattr *req_ie, int process_bss_event(struct nl_msg *msg, void *arg);
struct nlattr *resp_ie,
struct nlattr *authorized,
struct nlattr *key_replay_ctr,
struct nlattr *ptk_kck,
struct nlattr *ptk_kek);
void mlme_event(struct i802_bss *bss,
enum nl80211_commands cmd, struct nlattr *frame,
struct nlattr *addr, struct nlattr *timed_out,
struct nlattr *freq, struct nlattr *ack,
struct nlattr *cookie, struct nlattr *sig);
void mlme_event_ch_switch(struct wpa_driver_nl80211_data *drv,
struct nlattr *ifindex, struct nlattr *freq,
struct nlattr *type, struct nlattr *bw,
struct nlattr *cf1, struct nlattr *cf2);
void mlme_event_disconnect(struct wpa_driver_nl80211_data *drv,
struct nlattr *reason, struct nlattr *addr,
struct nlattr *by_ap);
#ifdef ANDROID #ifdef ANDROID
int android_nl_socket_set_nonblocking(struct nl_handle *handle); int android_nl_socket_set_nonblocking(struct nl_handle *handle);

File diff suppressed because it is too large Load diff