Home | History | Annotate | Download | only in rsn_supp

Lines Matching refs:kde

714 	struct wpa_eapol_ie_parse kde;
741 if (wpa_supplicant_parse_ies((const u8 *) pos, ielen, &kde) < 0) {
746 if (kde.lnkid == NULL || kde.lnkid_len < 3 * ETH_ALEN) {
751 lnkid = (struct wpa_tdls_lnkid *) kde.lnkid;
756 if (kde.ftie == NULL || kde.ftie_len < sizeof(*ftie)) {
761 ftie = (struct wpa_tdls_ftie *) kde.ftie;
1151 struct wpa_eapol_ie_parse kde;
1184 if (wpa_supplicant_parse_ies(cpos, ielen, &kde) < 0) {
1189 if (kde.lnkid == NULL || kde.lnkid_len < 3 * ETH_ALEN) {
1195 kde.lnkid, kde.lnkid_len);
1196 lnkid = (struct wpa_tdls_lnkid *) kde.lnkid;
1241 if (kde.rsn_ie) {
1250 if (kde.ftie == NULL || kde.ftie_len < sizeof(*ftie) ||
1251 kde.rsn_ie == NULL) {
1257 if (kde.rsn_ie_len > TDLS_MAX_IE_LEN) {
1264 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) {
1290 if (kde.key_lifetime == NULL) {
1295 timeoutie = (struct wpa_tdls_timeoutie *) kde.key_lifetime;
1373 ftie = (struct wpa_tdls_ftie *) kde.ftie;
1375 os_memcpy(peer->rsnie_i, kde.rsn_ie, kde.rsn_ie_len);
1376 peer->rsnie_i_len = kde.rsn_ie_len;
1388 hdr = (struct rsn_ie_hdr *) kde.rsn_ie;
1478 struct wpa_eapol_ie_parse kde;
1528 if (wpa_supplicant_parse_ies(pos, ielen, &kde) < 0) {
1541 if (kde.lnkid == NULL || kde.lnkid_len < 3 * ETH_ALEN) {
1547 kde.lnkid, kde.lnkid_len);
1548 lnkid = (struct wpa_tdls_lnkid *) kde.lnkid;
1562 if (kde.ftie == NULL || kde.ftie_len < sizeof(*ftie) ||
1563 kde.rsn_ie == NULL) {
1569 kde.rsn_ie, kde.rsn_ie_len);
1577 if (kde.rsn_ie_len != peer->rsnie_i_len ||
1578 os_memcmp(peer->rsnie_i, kde.rsn_ie, peer->rsnie_i_len) != 0) {
1584 kde.rsn_ie, kde.rsn_ie_len);
1589 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) {
1606 kde.ftie, sizeof(*ftie));
1607 ftie = (struct wpa_tdls_ftie *) kde.ftie;
1618 os_memcpy(peer->rsnie_p, kde.rsn_ie, kde.rsn_ie_len);
1619 peer->rsnie_p_len = kde.rsn_ie_len;
1623 if (kde.key_lifetime == NULL) {
1628 timeoutie = (struct wpa_tdls_timeoutie *) kde.key_lifetime;
1674 struct wpa_eapol_ie_parse kde;
1711 if (wpa_supplicant_parse_ies((const u8 *) pos, ielen, &kde) < 0) {
1716 if (kde.lnkid == NULL || kde.lnkid_len < 3 * ETH_ALEN) {
1721 (u8 *) kde.lnkid, kde.lnkid_len);
1722 lnkid = (struct wpa_tdls_lnkid *) kde.lnkid;
1732 if (kde.ftie == NULL || kde.ftie_len < sizeof(*ftie)) {
1737 kde.ftie, sizeof(*ftie));
1738 ftie = (struct wpa_tdls_ftie *) kde.ftie;
1740 if (kde.rsn_ie == NULL) {
1745 kde.rsn_ie, kde.rsn_ie_len);
1746 if (kde.rsn_ie_len != peer->rsnie_p_len ||
1747 os_memcmp(kde.rsn_ie, peer->rsnie_p, peer->rsnie_p_len) != 0) {
1765 if (kde.key_lifetime == NULL) {
1769 timeoutie = (struct wpa_tdls_timeoutie *) kde.key_lifetime;