Searched refs:in_ie (Results 1 – 4 of 4) sorted by relevance
/drivers/staging/rtl8712/ |
D | ieee80211.c | 370 int r8712_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, in r8712_get_sec_ie() argument 381 authmode = in_ie[cnt]; in r8712_get_sec_ie() 383 (!memcmp(&in_ie[cnt + 2], &wpa_oui[0], 4))) { in r8712_get_sec_ie() 384 memcpy(wpa_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in r8712_get_sec_ie() 385 *wpa_len = in_ie[cnt+1]+2; in r8712_get_sec_ie() 386 cnt += in_ie[cnt + 1] + 2; /*get next */ in r8712_get_sec_ie() 389 memcpy(rsn_ie, &in_ie[cnt], in r8712_get_sec_ie() 390 in_ie[cnt + 1] + 2); in r8712_get_sec_ie() 391 *rsn_len = in_ie[cnt+1] + 2; in r8712_get_sec_ie() 392 cnt += in_ie[cnt+1] + 2; /*get next*/ in r8712_get_sec_ie() [all …]
|
D | rtl871x_mlme.c | 1309 int r8712_restruct_wmm_ie(struct _adapter *adapter, u8 *in_ie, u8 *out_ie, in r8712_restruct_wmm_ie() argument 1318 if (in_ie[i] == 0xDD && in_ie[i + 2] == 0x00 && in r8712_restruct_wmm_ie() 1319 in_ie[i + 3] == 0x50 && in_ie[i + 4] == 0xF2 && in r8712_restruct_wmm_ie() 1320 in_ie[i + 5] == 0x02 && i + 5 < in_len) { in r8712_restruct_wmm_ie() 1323 out_ie[ielength] = in_ie[j]; in r8712_restruct_wmm_ie() 1331 i += (in_ie[i + 1] + 2); /* to the next IE element */ in r8712_restruct_wmm_ie() 1367 sint r8712_restruct_sec_ie(struct _adapter *adapter, u8 *in_ie, in r8712_restruct_sec_ie() argument 1418 if (in_ie[cnt] == authmode) { in r8712_restruct_sec_ie() 1420 (!memcmp(&in_ie[cnt+2], &wpa_oui[0], 4))) { in r8712_restruct_sec_ie() 1421 memcpy(&sec_ie[0], &in_ie[cnt], in r8712_restruct_sec_ie() [all …]
|
D | rtl871x_mlme.h | 213 int r8712_restruct_sec_ie(struct _adapter *adapter, u8 *in_ie, 215 int r8712_restruct_wmm_ie(struct _adapter *adapter, u8 *in_ie, 227 unsigned int r8712_restructure_ht_ie(struct _adapter *padapter, u8 *in_ie,
|
D | ieee80211.h | 788 int r8712_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, 790 int r8712_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
|