/drivers/staging/rtl8712/ |
D | ieee80211.c | 364 int r8712_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, in r8712_get_sec_ie() argument 374 authmode = in_ie[cnt]; in r8712_get_sec_ie() 376 (!memcmp(&in_ie[cnt + 2], &wpa_oui[0], 4))) { in r8712_get_sec_ie() 377 memcpy(wpa_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in r8712_get_sec_ie() 378 *wpa_len = in_ie[cnt + 1] + 2; in r8712_get_sec_ie() 379 cnt += in_ie[cnt + 1] + 2; /*get next */ in r8712_get_sec_ie() 382 memcpy(rsn_ie, &in_ie[cnt], in r8712_get_sec_ie() 383 in_ie[cnt + 1] + 2); in r8712_get_sec_ie() 384 *rsn_len = in_ie[cnt + 1] + 2; in r8712_get_sec_ie() 385 cnt += in_ie[cnt + 1] + 2; /*get next*/ in r8712_get_sec_ie() [all …]
|
D | rtl871x_mlme.c | 1250 int r8712_restruct_wmm_ie(struct _adapter *adapter, u8 *in_ie, u8 *out_ie, in r8712_restruct_wmm_ie() argument 1259 if (in_ie[i] == 0xDD && in_ie[i + 2] == 0x00 && in r8712_restruct_wmm_ie() 1260 in_ie[i + 3] == 0x50 && in_ie[i + 4] == 0xF2 && in r8712_restruct_wmm_ie() 1261 in_ie[i + 5] == 0x02 && i + 5 < in_len) { in r8712_restruct_wmm_ie() 1264 out_ie[ielength] = in_ie[j]; in r8712_restruct_wmm_ie() 1272 i += (in_ie[i + 1] + 2); /* to the next IE element */ in r8712_restruct_wmm_ie() 1309 sint r8712_restruct_sec_ie(struct _adapter *adapter, u8 *in_ie, in r8712_restruct_sec_ie() argument 1356 if (in_ie[cnt] == authmode) { in r8712_restruct_sec_ie() 1358 (!memcmp(&in_ie[cnt + 2], &wpa_oui[0], 4))) { in r8712_restruct_sec_ie() 1359 memcpy(&sec_ie[0], &in_ie[cnt], in r8712_restruct_sec_ie() [all …]
|
D | rtl871x_mlme.h | 187 int r8712_restruct_sec_ie(struct _adapter *adapter, u8 *in_ie, 189 int r8712_restruct_wmm_ie(struct _adapter *adapter, u8 *in_ie, 200 unsigned int r8712_restructure_ht_ie(struct _adapter *padapter, u8 *in_ie,
|
D | ieee80211.h | 157 int r8712_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, 159 int r8712_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_ieee80211.c | 177 u8 *rtw_get_ie_ex(u8 *in_ie, uint in_len, u8 eid, u8 *oui, u8 oui_len, u8 *ie, uint *ielen) in rtw_get_ie_ex() argument 185 if (!in_ie || in_len <= 0) in rtw_get_ie_ex() 191 if (eid == in_ie[cnt] in rtw_get_ie_ex() 192 && (!oui || !memcmp(&in_ie[cnt+2], oui, oui_len))) { in rtw_get_ie_ex() 193 target_ie = &in_ie[cnt]; in rtw_get_ie_ex() 196 memcpy(ie, &in_ie[cnt], in_ie[cnt+1]+2); in rtw_get_ie_ex() 199 *ielen = in_ie[cnt+1]+2; in rtw_get_ie_ex() 203 cnt += in_ie[cnt+1]+2; /* goto next */ in rtw_get_ie_ex() 571 int rtw_get_wapi_ie(u8 *in_ie, uint in_len, u8 *wapi_ie, u16 *wapi_len) in rtw_get_wapi_ie() argument 582 if (!in_ie || in_len <= 0) in rtw_get_wapi_ie() [all …]
|
D | rtw_mlme.c | 2000 int rtw_restruct_wmm_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, uint in_len, uint initial_o… in rtw_restruct_wmm_ie() argument 2009 …if (in_ie[i] == 0xDD && in_ie[i+2] == 0x00 && in_ie[i+3] == 0x50 && in_ie[i+4] == 0xF2 && in_ie[i… in rtw_restruct_wmm_ie() 2011 out_ie[ielength] = in_ie[j]; in rtw_restruct_wmm_ie() 2021 i += (in_ie[i+1]+2); /* to the next IE element */ in rtw_restruct_wmm_ie() 2092 signed int rtw_restruct_sec_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, uint in_len) in rtw_restruct_sec_ie() argument 2103 memcpy(out_ie, in_ie, 12); in rtw_restruct_sec_ie() 2306 unsigned int rtw_restructure_ht_ie(struct adapter *padapter, u8 *in_ie, u8 *out_ie, uint in_len, ui… in rtw_restructure_ht_ie() argument 2330 if (!in_ie) { in rtw_restructure_ht_ie() 2340 p = rtw_get_ie(in_ie, WLAN_EID_HT_OPERATION, &ielen, in_len); in rtw_restructure_ht_ie() 2423 if (in_ie) { in rtw_restructure_ht_ie() [all …]
|
/drivers/staging/r8188eu/core/ |
D | rtw_ieee80211.c | 240 u8 *rtw_get_ie_ex(u8 *in_ie, uint in_len, u8 eid, u8 *oui, u8 oui_len, u8 *ie, uint *ielen) in rtw_get_ie_ex() argument 248 if (!in_ie || in_len <= 0) in rtw_get_ie_ex() 254 if (eid == in_ie[cnt] && (!oui || !memcmp(&in_ie[cnt + 2], oui, oui_len))) { in rtw_get_ie_ex() 255 target_ie = &in_ie[cnt]; in rtw_get_ie_ex() 258 memcpy(ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in rtw_get_ie_ex() 261 *ielen = in_ie[cnt + 1] + 2; in rtw_get_ie_ex() 265 cnt += in_ie[cnt + 1] + 2; /* goto next */ in rtw_get_ie_ex() 614 int rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len) in rtw_get_sec_ie() argument 625 authmode = in_ie[cnt]; in rtw_get_sec_ie() 627 if ((authmode == _WPA_IE_ID_) && (!memcmp(&in_ie[cnt + 2], &wpa_oui[0], 4))) { in rtw_get_sec_ie() [all …]
|
D | rtw_mlme.c | 1742 int rtw_restruct_wmm_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, uint in_len, uint initial_o… in rtw_restruct_wmm_ie() argument 1751 …if (in_ie[i] == 0xDD && in_ie[i + 2] == 0x00 && in_ie[i + 3] == 0x50 && in_ie[i + 4] == 0xF2 && i… in rtw_restruct_wmm_ie() 1756 out_ie[ielength] = in_ie[j]; in rtw_restruct_wmm_ie() 1764 i += (in_ie[i + 1] + 2); /* to the next IE element */ in rtw_restruct_wmm_ie() 1830 int rtw_restruct_sec_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, uint in_len) in rtw_restruct_sec_ie() argument 1840 memcpy(out_ie, in_ie, 12); in rtw_restruct_sec_ie() 1972 unsigned int rtw_restructure_ht_ie(struct adapter *padapter, u8 *in_ie, u8 *out_ie, uint in_len, ui… in rtw_restructure_ht_ie() argument 1986 p = rtw_get_ie(in_ie + 12, _HT_CAPABILITY_IE_, &ielen, in_len - 12); in rtw_restructure_ht_ie() 2028 p = rtw_get_ie(in_ie + 12, _HT_ADD_INFO_IE_, &ielen, in_len - 12); in rtw_restructure_ht_ie()
|
/drivers/staging/rtl8723bs/include/ |
D | ieee80211.h | 734 u8 *rtw_get_ie_ex(u8 *in_ie, uint in_len, u8 eid, u8 *oui, u8 oui_len, u8 *ie, uint *ielen); 743 int rtw_get_wapi_ie(u8 *in_ie, uint in_len, u8 *wapi_ie, u16 *wapi_len); 747 void rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len); 750 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
|
D | rtw_mlme.h | 522 extern int rtw_restruct_sec_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, uint in_len); 523 extern int rtw_restruct_wmm_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, uint in_len, uint in… 565 unsigned int rtw_restructure_ht_ie(struct adapter *padapter, u8 *in_ie, u8 *out_ie, uint in_len, ui…
|
/drivers/staging/r8188eu/include/ |
D | ieee80211.h | 1149 u8 *rtw_get_ie_ex(u8 *in_ie, uint in_len, u8 eid, u8 *oui, 1160 int rtw_get_wapi_ie(u8 *in_ie, uint in_len, u8 *wapi_ie, u16 *wapi_len); 1166 int rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, 1170 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen); 1191 u8 *rtw_get_p2p_ie(u8 *in_ie, int in_len, u8 *p2p_ie, uint *p2p_ielen);
|
D | rtw_mlme.h | 567 int rtw_restruct_sec_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, 569 int rtw_restruct_wmm_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, 615 unsigned int rtw_restructure_ht_ie(struct adapter *padapter, u8 *in_ie,
|