wpa_supplicant
2014-05-08 22:07:58 7 举报
wpa_supplicant and kernel
作者其他创作
大纲/内容
struct wpa_global
struct wpa_supplicant *ifaces;struct wpa_params params;struct ctrl_iface_global_priv *ctrl_iface;void **drv_priv;...
type of 'drv_priv' here is struct i80211_bss *
802.11 (Specific)
WPA_suplicant (Specific)
802.11 (Global)
struct wpa_supplicant
struct wpa_global *global;struct wpa_supplicant *parent;struct wpa_supplicant *next;char ifname[100];char *confname;struct wpa_config *conf;void *drv_priv;void *global_drv_priv;struct ctrl_iface_priv *ctrl_iface;...
sock is the ctrl_interface socket
type of 'drv_priv' is struct nl80211_globa **drv_priv is initialized in nl80211_global_initwpa_s-global_drv_priv = global-driver_priv[i]
WPA_suplicant (Global)
struct nl80211_global
struct dl_list interface;struct netlink_data *netlink;struct nl_cb *nl_cb;struct_nl_handle *nl;int nl80211_id;int ioctl_sock;struct nl_handle *nl_event;...
struct ctrl_iface_priv
struct wpa_supplicant *wpa_s;int sock;sruct dl_list ctrl_dst;
struct ctrl_iface_global_priv
struct wpa_global *global;int sock;
struct wpa_driver_nl80211_data
struct nl80211_global *global;void *ctx;struct i802_bss first_bss;...
struct i802_bss
struct wpa_driver_nl80211_data *drv;struct i802_bss *next;char ifname[IFNAMSIZ+1];...
type of 'ctx' here is struct wpa_supplicant *
收藏
0 条评论
下一页