Lines Matching refs:supp
43 wpa_sm_deinit(peer->supp);
68 wpa_printf(MSG_DEBUG, "SUPP: %s(dest=" MACSTR " proto=0x%04x "
84 wpa_printf(MSG_DEBUG, "SUPP: %s(type=%d data_len=%d)",
112 wpa_printf(MSG_DEBUG, "SUPP: %s", __func__);
114 return wpa_sm_set_ap_rsn_ie(peer->supp,
146 wpa_printf(MSG_DEBUG, "SUPP: %s(alg=%d addr=" MACSTR " key_idx=%d "
149 wpa_hexdump(MSG_DEBUG, "SUPP: set_key - seq", seq, seq_len);
150 wpa_hexdump_key(MSG_DEBUG, "SUPP: set_key - key", key, key_len);
161 wpa_printf(MSG_DEBUG, "SUPP: Do not use this PTK");
183 wpa_printf(MSG_DEBUG, "SUPP: %s(addr=" MACSTR " protection_type=%d "
192 wpa_printf(MSG_DEBUG, "SUPP: %s", __func__);
198 wpa_printf(MSG_DEBUG, "SUPP: %s (TODO)", __func__);
221 peer->supp = wpa_sm_init(ctx);
222 if (peer->supp == NULL) {
223 wpa_printf(MSG_DEBUG, "SUPP: wpa_sm_init() failed");
228 wpa_sm_set_own_addr(peer->supp, own_addr);
229 wpa_sm_set_param(peer->supp, WPA_PARAM_RSN_ENABLED, 1);
230 wpa_sm_set_param(peer->supp, WPA_PARAM_PROTO, WPA_PROTO_RSN);
231 wpa_sm_set_param(peer->supp, WPA_PARAM_PAIRWISE, WPA_CIPHER_CCMP);
232 wpa_sm_set_param(peer->supp, WPA_PARAM_GROUP, WPA_CIPHER_CCMP);
233 wpa_sm_set_param(peer->supp, WPA_PARAM_KEY_MGMT, WPA_KEY_MGMT_PSK);
234 wpa_sm_set_pmk(peer->supp, psk, PMK_LEN, NULL, NULL);
237 if (wpa_sm_set_assoc_wpa_ie_default(peer->supp, peer->supp_ie,
239 wpa_printf(MSG_DEBUG, "SUPP: wpa_sm_set_assoc_wpa_ie_default()"
244 wpa_sm_notify_assoc(peer->supp, peer->addr);
756 int supp;
759 supp = ibss_rsn_eapol_dst_supp(buf, len);
760 if (supp < 0)
767 if (supp) {
771 wpa_sm_rx_eapol(peer->supp, peer->addr, tmp, len);