Lines Matching refs:u8

30 		       const u8 *addr, int key_idx, int set_tx,
31 const u8 *seq, size_t seq_len,
32 const u8 *key, size_t key_len);
34 int (*get_bssid)(void *ctx, u8 *bssid);
35 int (*ether_send)(void *ctx, const u8 *dest, u16 proto, const u8 *buf,
39 u8 * (*alloc_eapol)(void *ctx, u8 type, const void *data, u16 data_len,
41 int (*add_pmkid)(void *ctx, const u8 *bssid, const u8 *pmkid);
42 int (*remove_pmkid)(void *ctx, const u8 *bssid, const u8 *pmkid);
46 int (*mlme_setprotection)(void *ctx, const u8 *addr,
48 int (*update_ft_ies)(void *ctx, const u8 *md, const u8 *ies,
50 int (*send_ft_action)(void *ctx, u8 action, const u8 *target_ap,
51 const u8 *ies, size_t ies_len);
52 int (*mark_authenticated)(void *ctx, const u8 *target_ap);
56 int (*send_tdls_mgmt)(void *ctx, const u8 *dst,
57 u8 action_code, u8 dialog_token,
59 int initiator, const u8 *buf, size_t len);
60 int (*tdls_oper)(void *ctx, int oper, const u8 *peer);
61 int (*tdls_peer_addset)(void *ctx, const u8 *addr, int add, u16 aid,
62 u16 capability, const u8 *supp_rates,
66 u8 qosinfo, int wmm, const u8 *ext_capab,
67 size_t ext_capab_len, const u8 *supp_channels,
69 const u8 *supp_oper_classes,
72 void *ctx, const u8 *addr, u8 oper_class,
74 int (*tdls_disable_channel_switch)(void *ctx, const u8 *addr);
76 void (*set_rekey_offload)(void *ctx, const u8 *kek, size_t kek_len,
77 const u8 *kck, size_t kck_len,
78 const u8 *replay_ctr);
79 int (*key_mgmt_set_pmk)(void *ctx, const u8 *pmk, size_t pmk_len);
103 const u8 *ssid;
113 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid);
115 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len,
116 const u8 *bssid);
121 void wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr);
125 int wpa_sm_set_assoc_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len);
126 int wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie,
128 int wpa_sm_set_ap_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len);
129 int wpa_sm_set_ap_rsn_ie(struct wpa_sm *sm, const u8 *ie, size_t len);
141 int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len,
145 int wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr,
146 const u8 *buf, size_t len);
152 void wpa_sm_update_replay_ctr(struct wpa_sm *sm, const u8 *replay_ctr);
156 int wpa_sm_get_p2p_ip_addr(struct wpa_sm *sm, u8 *buf);
158 void wpa_sm_set_rx_replay_ctr(struct wpa_sm *sm, const u8 *rx_replay_counter);
160 const u8 *ptk_kck, size_t ptk_kck_len,
161 const u8 *ptk_kek, size_t ptk_kek_len);
174 static inline void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid) in wpa_sm_notify_assoc()
182 static inline void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, in wpa_sm_set_pmk()
204 static inline void wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr) in wpa_sm_set_own_addr()
217 static inline int wpa_sm_set_assoc_wpa_ie(struct wpa_sm *sm, const u8 *ie, in wpa_sm_set_assoc_wpa_ie()
224 u8 *wpa_ie, in wpa_sm_set_assoc_wpa_ie_default()
230 static inline int wpa_sm_set_ap_wpa_ie(struct wpa_sm *sm, const u8 *ie, in wpa_sm_set_ap_wpa_ie()
236 static inline int wpa_sm_set_ap_rsn_ie(struct wpa_sm *sm, const u8 *ie, in wpa_sm_set_ap_rsn_ie()
270 static inline int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, in wpa_parse_wpa_ie()
280 static inline int wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr, in wpa_sm_rx_eapol()
281 const u8 *buf, size_t len) in wpa_sm_rx_eapol()
308 const u8 *replay_ctr) in wpa_sm_update_replay_ctr()
318 const u8 *rx_replay_counter) in wpa_sm_set_rx_replay_ctr()
322 static inline void wpa_sm_set_ptk_kck_kek(struct wpa_sm *sm, const u8 *ptk_kck, in wpa_sm_set_ptk_kck_kek()
323 const u8 *ptk_kek) in wpa_sm_set_ptk_kck_kek()
330 int wpa_sm_stkstart(struct wpa_sm *sm, const u8 *peer);
331 int wpa_sm_rx_eapol_peerkey(struct wpa_sm *sm, const u8 *src_addr,
332 const u8 *buf, size_t len);
334 static inline int wpa_sm_stkstart(struct wpa_sm *sm, const u8 *peer) in wpa_sm_stkstart()
339 static inline int wpa_sm_rx_eapol_peerkey(struct wpa_sm *sm, const u8 *src_addr, in wpa_sm_rx_eapol_peerkey()
340 const u8 *buf, size_t len) in wpa_sm_rx_eapol_peerkey()
348 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len);
349 int wpa_ft_prepare_auth_request(struct wpa_sm *sm, const u8 *mdie);
350 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len,
351 int ft_action, const u8 *target_ap,
352 const u8 *ric_ies, size_t ric_ies_len);
355 int wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies,
356 size_t ies_len, const u8 *src_addr);
357 int wpa_ft_start_over_ds(struct wpa_sm *sm, const u8 *target_ap,
358 const u8 *mdie);
363 wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params()
369 const u8 *mdie) in wpa_ft_prepare_auth_request()
375 wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response()
376 int ft_action, const u8 *target_ap) in wpa_ft_process_response()
391 wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_validate_reassoc_resp()
392 const u8 *src_addr) in wpa_ft_validate_reassoc_resp()
401 void wpa_tdls_ap_ies(struct wpa_sm *sm, const u8 *ies, size_t len);
402 void wpa_tdls_assoc_resp_ies(struct wpa_sm *sm, const u8 *ies, size_t len);
403 int wpa_tdls_start(struct wpa_sm *sm, const u8 *addr);
404 void wpa_tdls_remove(struct wpa_sm *sm, const u8 *addr);
405 int wpa_tdls_teardown_link(struct wpa_sm *sm, const u8 *addr, u16 reason_code);
406 int wpa_tdls_send_discovery_request(struct wpa_sm *sm, const u8 *addr);
411 void wpa_tdls_disable_unreachable_link(struct wpa_sm *sm, const u8 *addr);
412 const char * wpa_tdls_get_link_status(struct wpa_sm *sm, const u8 *addr);
414 int wpa_tdls_enable_chan_switch(struct wpa_sm *sm, const u8 *addr,
415 u8 oper_class,
417 int wpa_tdls_disable_chan_switch(struct wpa_sm *sm, const u8 *addr);
419 int wpa_wnmsleep_install_key(struct wpa_sm *sm, u8 subelem_id, u8 *buf);