Lines Matching refs:wpa_sm
52 struct wpa_sm;
111 struct wpa_sm * wpa_sm_init(struct wpa_sm_ctx *ctx);
112 void wpa_sm_deinit(struct wpa_sm *sm);
113 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid);
114 void wpa_sm_notify_disassoc(struct wpa_sm *sm);
115 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len);
116 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm);
117 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth);
118 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx);
119 void wpa_sm_set_config(struct wpa_sm *sm, struct wpa_ssid *config);
120 void wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr);
121 void wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname,
123 void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol);
124 int wpa_sm_set_assoc_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len);
125 int wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie,
127 int wpa_sm_set_ap_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len);
128 int wpa_sm_set_ap_rsn_ie(struct wpa_sm *sm, const u8 *ie, size_t len);
129 int wpa_sm_get_mib(struct wpa_sm *sm, char *buf, size_t buflen);
131 int wpa_sm_set_param(struct wpa_sm *sm, enum wpa_sm_conf_params param,
133 unsigned int wpa_sm_get_param(struct wpa_sm *sm,
136 int wpa_sm_get_status(struct wpa_sm *sm, char *buf, size_t buflen,
139 void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise);
141 int wpa_sm_stkstart(struct wpa_sm *sm, const u8 *peer);
146 void wpa_sm_aborted_cached(struct wpa_sm *sm);
147 int wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr,
149 int wpa_sm_parse_own_wpa_ie(struct wpa_sm *sm, struct wpa_ie_data *data);
153 static inline struct wpa_sm * wpa_sm_init(struct wpa_sm_ctx *ctx) in wpa_sm_init()
155 return (struct wpa_sm *) 1; in wpa_sm_init()
158 static inline void wpa_sm_deinit(struct wpa_sm *sm) in wpa_sm_deinit()
162 static inline void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid) in wpa_sm_notify_assoc()
166 static inline void wpa_sm_notify_disassoc(struct wpa_sm *sm) in wpa_sm_notify_disassoc()
170 static inline void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, in wpa_sm_set_pmk()
175 static inline void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm) in wpa_sm_set_pmk_from_pmksa()
179 static inline void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth) in wpa_sm_set_fast_reauth()
183 static inline void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx) in wpa_sm_set_scard_ctx()
187 static inline void wpa_sm_set_config(struct wpa_sm *sm, in wpa_sm_set_config()
192 static inline void wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr) in wpa_sm_set_own_addr()
196 static inline void wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname, in wpa_sm_set_ifname()
201 static inline void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) in wpa_sm_set_eapol()
205 static inline int wpa_sm_set_assoc_wpa_ie(struct wpa_sm *sm, const u8 *ie, in wpa_sm_set_assoc_wpa_ie()
211 static inline int wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, in wpa_sm_set_assoc_wpa_ie_default()
218 static inline int wpa_sm_set_ap_wpa_ie(struct wpa_sm *sm, const u8 *ie, in wpa_sm_set_ap_wpa_ie()
224 static inline int wpa_sm_set_ap_rsn_ie(struct wpa_sm *sm, const u8 *ie, in wpa_sm_set_ap_rsn_ie()
230 static inline int wpa_sm_get_mib(struct wpa_sm *sm, char *buf, size_t buflen) in wpa_sm_get_mib()
235 static inline int wpa_sm_set_param(struct wpa_sm *sm, in wpa_sm_set_param()
242 static inline unsigned int wpa_sm_get_param(struct wpa_sm *sm, in wpa_sm_get_param()
248 static inline int wpa_sm_get_status(struct wpa_sm *sm, char *buf, in wpa_sm_get_status()
254 static inline void wpa_sm_key_request(struct wpa_sm *sm, int error, in wpa_sm_key_request()
259 static inline int wpa_sm_stkstart(struct wpa_sm *sm, const u8 *peer) in wpa_sm_stkstart()
270 static inline void wpa_sm_aborted_cached(struct wpa_sm *sm) in wpa_sm_aborted_cached()
274 static inline int wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr, in wpa_sm_rx_eapol()
280 static inline int wpa_sm_parse_own_wpa_ie(struct wpa_sm *sm, in wpa_sm_parse_own_wpa_ie()