/linux-6.6.21/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 | 1224 int r8712_restruct_wmm_ie(struct _adapter *adapter, u8 *in_ie, u8 *out_ie, in r8712_restruct_wmm_ie() argument 1233 if (in_ie[i] == 0xDD && in_ie[i + 2] == 0x00 && in r8712_restruct_wmm_ie() 1234 in_ie[i + 3] == 0x50 && in_ie[i + 4] == 0xF2 && in r8712_restruct_wmm_ie() 1235 in_ie[i + 5] == 0x02 && i + 5 < in_len) { in r8712_restruct_wmm_ie() 1238 out_ie[ielength] = in_ie[j]; in r8712_restruct_wmm_ie() 1246 i += (in_ie[i + 1] + 2); /* to the next IE element */ in r8712_restruct_wmm_ie() 1270 sint r8712_restruct_sec_ie(struct _adapter *adapter, u8 *in_ie, in r8712_restruct_sec_ie() argument 1317 if (in_ie[cnt] == authmode) { in r8712_restruct_sec_ie() 1319 (!memcmp(&in_ie[cnt + 2], &wpa_oui[0], 4))) { in r8712_restruct_sec_ie() 1320 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);
|
/linux-6.6.21/drivers/staging/rtl8723bs/core/ |
D | rtw_ieee80211.c | 174 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 182 if (!in_ie || in_len <= 0) in rtw_get_ie_ex() 188 if (eid == in_ie[cnt] in rtw_get_ie_ex() 189 && (!oui || !memcmp(&in_ie[cnt+2], oui, oui_len))) { in rtw_get_ie_ex() 190 target_ie = &in_ie[cnt]; in rtw_get_ie_ex() 193 memcpy(ie, &in_ie[cnt], in_ie[cnt+1]+2); in rtw_get_ie_ex() 196 *ielen = in_ie[cnt+1]+2; in rtw_get_ie_ex() 200 cnt += in_ie[cnt+1]+2; /* goto next */ in rtw_get_ie_ex() 563 int rtw_get_wapi_ie(u8 *in_ie, uint in_len, u8 *wapi_ie, u16 *wapi_len) in rtw_get_wapi_ie() argument 574 if (!in_ie || in_len <= 0) in rtw_get_wapi_ie() [all …]
|
D | rtw_mlme.c | 1992 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 2001 …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() 2003 out_ie[ielength] = in_ie[j]; in rtw_restruct_wmm_ie() 2013 i += (in_ie[i+1]+2); /* to the next IE element */ in rtw_restruct_wmm_ie() 2068 signed int rtw_restruct_sec_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, uint in_len) in rtw_restruct_sec_ie() argument 2079 memcpy(out_ie, in_ie, 12); in rtw_restruct_sec_ie() 2282 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 2306 if (!in_ie) { in rtw_restructure_ht_ie() 2316 p = rtw_get_ie(in_ie, WLAN_EID_HT_OPERATION, &ielen, in_len); in rtw_restructure_ht_ie() 2399 if (in_ie) { in rtw_restructure_ht_ie() [all …]
|
/linux-6.6.21/drivers/staging/rtl8723bs/include/ |
D | ieee80211.h | 737 u8 *rtw_get_ie_ex(u8 *in_ie, uint in_len, u8 eid, u8 *oui, u8 oui_len, u8 *ie, uint *ielen); 746 int rtw_get_wapi_ie(u8 *in_ie, uint in_len, u8 *wapi_ie, u16 *wapi_len); 750 void rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len); 752 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
|
D | rtw_mlme.h | 506 extern int rtw_restruct_sec_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, uint in_len); 507 extern int rtw_restruct_wmm_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, uint in_len, uint in… 549 unsigned int rtw_restructure_ht_ie(struct adapter *padapter, u8 *in_ie, u8 *out_ie, uint in_len, ui…
|