Searched refs:rsn_ie_len (Results 1 - 25 of 47) sorted by relevance

12

/external/wpa_supplicant_8/hostapd/src/ap/
H A Dwpa_auth_ie.h16 size_t rsn_ie_len; member in struct:wpa_eapol_ie_parse
H A Dpeerkey_auth.c117 buf_len = kde.rsn_ie_len + 2 + RSN_SELECTOR_LEN + ETH_ALEN;
122 os_memcpy(buf, kde.rsn_ie, kde.rsn_ie_len);
123 pos = buf + kde.rsn_ie_len;
214 buf_len = kde->rsn_ie_len +
224 os_memcpy(buf, kde->rsn_ie, kde->rsn_ie_len);
225 pos = buf + kde->rsn_ie_len;
/external/wpa_supplicant_8/src/ap/
H A Dwpa_auth_ie.h16 size_t rsn_ie_len; member in struct:wpa_eapol_ie_parse
H A Dpeerkey_auth.c117 buf_len = kde.rsn_ie_len + 2 + RSN_SELECTOR_LEN + ETH_ALEN;
122 os_memcpy(buf, kde.rsn_ie, kde.rsn_ie_len);
123 pos = buf + kde.rsn_ie_len;
214 buf_len = kde->rsn_ie_len +
224 os_memcpy(buf, kde->rsn_ie, kde->rsn_ie_len);
225 pos = buf + kde->rsn_ie_len;
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dwpa_auth_ie.h16 size_t rsn_ie_len; member in struct:wpa_eapol_ie_parse
H A Dpeerkey_auth.c117 buf_len = kde.rsn_ie_len + 2 + RSN_SELECTOR_LEN + ETH_ALEN;
122 os_memcpy(buf, kde.rsn_ie, kde.rsn_ie_len);
123 pos = buf + kde.rsn_ie_len;
214 buf_len = kde->rsn_ie_len +
224 os_memcpy(buf, kde->rsn_ie, kde->rsn_ie_len);
225 pos = buf + kde->rsn_ie_len;
/external/wpa_supplicant_8/hostapd/src/rsn_supp/
H A Dwpa_ie.h18 size_t rsn_ie_len; member in struct:wpa_eapol_ie_parse
H A Dwpa_ie.c105 static int wpa_gen_wpa_ie_rsn(u8 *rsn_ie, size_t rsn_ie_len, argument
116 if (rsn_ie_len < sizeof(*hdr) + RSN_SELECTOR_LEN +
120 (unsigned long) rsn_ie_len);
220 WPA_ASSERT((size_t) (pos - rsn_ie) <= rsn_ie_len);
387 ie->rsn_ie_len = pos[1] + 2;
389 ie->rsn_ie, ie->rsn_ie_len);
H A Dpeerkey.c209 if (kde.rsn_ie_len > PEERKEY_MAX_IE_LEN) {
215 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) {
240 os_memcpy(peerkey->rsnie_i, kde.rsn_ie, kde.rsn_ie_len);
241 peerkey->rsnie_i_len = kde.rsn_ie_len;
469 if (kde->rsn_ie == NULL || kde->rsn_ie_len > PEERKEY_MAX_IE_LEN ||
470 wpa_parse_wpa_ie_rsn(kde->rsn_ie, kde->rsn_ie_len, &ie) < 0) {
489 os_memcpy(peerkey->rsnie_p, kde->rsn_ie, kde->rsn_ie_len);
490 peerkey->rsnie_p_len = kde->rsn_ie_len;
797 if (kde.rsn_ie_len != peerkey->rsnie_p_len ||
798 os_memcmp(kde.rsn_ie, peerkey->rsnie_p, kde.rsn_ie_len) !
[all...]
H A Dtdls.c1601 if (kde.rsn_ie_len > TDLS_MAX_IE_LEN) {
1608 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) {
1674 os_memcpy(peer->rsnie_i, kde.rsn_ie, kde.rsn_ie_len);
1675 peer->rsnie_i_len = kde.rsn_ie_len;
1912 kde.rsn_ie, kde.rsn_ie_len);
1920 if (kde.rsn_ie_len != peer->rsnie_i_len ||
1927 kde.rsn_ie, kde.rsn_ie_len);
1932 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) {
1961 os_memcpy(peer->rsnie_p, kde.rsn_ie, kde.rsn_ie_len);
1962 peer->rsnie_p_len = kde.rsn_ie_len;
[all...]
/external/wpa_supplicant_8/src/rsn_supp/
H A Dwpa_ie.h18 size_t rsn_ie_len; member in struct:wpa_eapol_ie_parse
H A Dwpa_ie.c105 static int wpa_gen_wpa_ie_rsn(u8 *rsn_ie, size_t rsn_ie_len, argument
116 if (rsn_ie_len < sizeof(*hdr) + RSN_SELECTOR_LEN +
120 (unsigned long) rsn_ie_len);
220 WPA_ASSERT((size_t) (pos - rsn_ie) <= rsn_ie_len);
387 ie->rsn_ie_len = pos[1] + 2;
389 ie->rsn_ie, ie->rsn_ie_len);
H A Dpeerkey.c209 if (kde.rsn_ie_len > PEERKEY_MAX_IE_LEN) {
215 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) {
240 os_memcpy(peerkey->rsnie_i, kde.rsn_ie, kde.rsn_ie_len);
241 peerkey->rsnie_i_len = kde.rsn_ie_len;
469 if (kde->rsn_ie == NULL || kde->rsn_ie_len > PEERKEY_MAX_IE_LEN ||
470 wpa_parse_wpa_ie_rsn(kde->rsn_ie, kde->rsn_ie_len, &ie) < 0) {
489 os_memcpy(peerkey->rsnie_p, kde->rsn_ie, kde->rsn_ie_len);
490 peerkey->rsnie_p_len = kde->rsn_ie_len;
797 if (kde.rsn_ie_len != peerkey->rsnie_p_len ||
798 os_memcmp(kde.rsn_ie, peerkey->rsnie_p, kde.rsn_ie_len) !
[all...]
H A Dtdls.c1601 if (kde.rsn_ie_len > TDLS_MAX_IE_LEN) {
1608 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) {
1674 os_memcpy(peer->rsnie_i, kde.rsn_ie, kde.rsn_ie_len);
1675 peer->rsnie_i_len = kde.rsn_ie_len;
1912 kde.rsn_ie, kde.rsn_ie_len);
1920 if (kde.rsn_ie_len != peer->rsnie_i_len ||
1927 kde.rsn_ie, kde.rsn_ie_len);
1932 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) {
1961 os_memcpy(peer->rsnie_p, kde.rsn_ie, kde.rsn_ie_len);
1962 peer->rsnie_p_len = kde.rsn_ie_len;
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/
H A Dwpa_ie.h18 size_t rsn_ie_len; member in struct:wpa_eapol_ie_parse
H A Dwpa_ie.c105 static int wpa_gen_wpa_ie_rsn(u8 *rsn_ie, size_t rsn_ie_len, argument
116 if (rsn_ie_len < sizeof(*hdr) + RSN_SELECTOR_LEN +
120 (unsigned long) rsn_ie_len);
220 WPA_ASSERT((size_t) (pos - rsn_ie) <= rsn_ie_len);
387 ie->rsn_ie_len = pos[1] + 2;
389 ie->rsn_ie, ie->rsn_ie_len);
H A Dpeerkey.c209 if (kde.rsn_ie_len > PEERKEY_MAX_IE_LEN) {
215 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) {
240 os_memcpy(peerkey->rsnie_i, kde.rsn_ie, kde.rsn_ie_len);
241 peerkey->rsnie_i_len = kde.rsn_ie_len;
469 if (kde->rsn_ie == NULL || kde->rsn_ie_len > PEERKEY_MAX_IE_LEN ||
470 wpa_parse_wpa_ie_rsn(kde->rsn_ie, kde->rsn_ie_len, &ie) < 0) {
489 os_memcpy(peerkey->rsnie_p, kde->rsn_ie, kde->rsn_ie_len);
490 peerkey->rsnie_p_len = kde->rsn_ie_len;
797 if (kde.rsn_ie_len != peerkey->rsnie_p_len ||
798 os_memcmp(kde.rsn_ie, peerkey->rsnie_p, kde.rsn_ie_len) !
[all...]
H A Dtdls.c1601 if (kde.rsn_ie_len > TDLS_MAX_IE_LEN) {
1608 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) {
1674 os_memcpy(peer->rsnie_i, kde.rsn_ie, kde.rsn_ie_len);
1675 peer->rsnie_i_len = kde.rsn_ie_len;
1912 kde.rsn_ie, kde.rsn_ie_len);
1920 if (kde.rsn_ie_len != peer->rsnie_i_len ||
1927 kde.rsn_ie, kde.rsn_ie_len);
1932 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) {
1961 os_memcpy(peer->rsnie_p, kde.rsn_ie, kde.rsn_ie_len);
1962 peer->rsnie_p_len = kde.rsn_ie_len;
[all...]
/external/wpa_supplicant_8/hostapd/src/common/
H A Dieee802_11_common.h59 u8 rsn_ie_len; member in struct:ieee802_11_elems
H A Dwpa_common.c393 * @rsn_ie_len: RSN IE buffer length (including IE number and length octets)
397 int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len, argument
420 if (rsn_ie_len == 0) {
425 if (rsn_ie_len < sizeof(struct rsn_ie_hdr)) {
427 __func__, (unsigned long) rsn_ie_len);
434 hdr->len != rsn_ie_len - 2 ||
442 left = rsn_ie_len - sizeof(*hdr);
H A Dieee802_11_common.c231 elems->rsn_ie_len = elen;
/external/wpa_supplicant_8/src/common/
H A Dieee802_11_common.h59 u8 rsn_ie_len; member in struct:ieee802_11_elems
H A Dwpa_common.c393 * @rsn_ie_len: RSN IE buffer length (including IE number and length octets)
397 int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len, argument
420 if (rsn_ie_len == 0) {
425 if (rsn_ie_len < sizeof(struct rsn_ie_hdr)) {
427 __func__, (unsigned long) rsn_ie_len);
434 hdr->len != rsn_ie_len - 2 ||
442 left = rsn_ie_len - sizeof(*hdr);
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dieee802_11_common.h59 u8 rsn_ie_len; member in struct:ieee802_11_elems
H A Dwpa_common.c393 * @rsn_ie_len: RSN IE buffer length (including IE number and length octets)
397 int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len, argument
420 if (rsn_ie_len == 0) {
425 if (rsn_ie_len < sizeof(struct rsn_ie_hdr)) {
427 __func__, (unsigned long) rsn_ie_len);
434 hdr->len != rsn_ie_len - 2 ||
442 left = rsn_ie_len - sizeof(*hdr);

Completed in 519 milliseconds

12