Home
last modified time | relevance | path

Searched refs:ielength (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/uwb/
Dhwa-rc.c124 size_t bytes_left, ielength; in hwarc_filter_evt_beacon_WUSB_0100() local
136 ielength = le16_to_cpu(be->wBeaconInfoLength); in hwarc_filter_evt_beacon_WUSB_0100()
137 if (bytes_left < ielength) { in hwarc_filter_evt_beacon_WUSB_0100()
140 bytes_left, ielength); in hwarc_filter_evt_beacon_WUSB_0100()
143 newbe = kzalloc(sizeof(*newbe) + ielength, GFP_ATOMIC); in hwarc_filter_evt_beacon_WUSB_0100()
153 memcpy(newbe->BeaconInfo, be->BeaconInfo, ielength); in hwarc_filter_evt_beacon_WUSB_0100()
155 *new_size = sizeof(*newbe) + ielength; in hwarc_filter_evt_beacon_WUSB_0100()
183 size_t bytes_left, ielength; in hwarc_filter_evt_drp_avail_WUSB_0100() local
196 ielength = le16_to_cpu(da->wIELength); in hwarc_filter_evt_drp_avail_WUSB_0100()
197 if (bytes_left < ielength) { in hwarc_filter_evt_drp_avail_WUSB_0100()
[all …]
Ddrp.c808 size_t ielength, bytes_left; in uwbd_evt_handle_rc_drp() local
822 ielength = le16_to_cpu(drp_evt->ie_length); in uwbd_evt_handle_rc_drp()
823 if (bytes_left != ielength) { in uwbd_evt_handle_rc_drp()
826 bytes_left, ielength); in uwbd_evt_handle_rc_drp()
847 uwb_drp_process_all(rc, drp_evt, ielength, src_dev); in uwbd_evt_handle_rc_drp()
/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_mlme.c1301 unsigned int ielength = 0; in r8712_restruct_wmm_ie() local
1306 ielength = initial_out_len; in r8712_restruct_wmm_ie()
1312 out_ie[ielength] = in_ie[j]; in r8712_restruct_wmm_ie()
1313 ielength++; in r8712_restruct_wmm_ie()
1322 return ielength; in r8712_restruct_wmm_ie()
1363 uint ielength, cnt, remove_cnt; in r8712_restruct_sec_ie() local
1567 ielength = 12; in r8712_restruct_sec_ie()
1570 memcpy(&out_ie[ielength], &sec_ie[0], sec_ie[1] + 2); in r8712_restruct_sec_ie()
1571 ielength += sec_ie[1] + 2; in r8712_restruct_sec_ie()
1574 out_ie[ielength - 1] = 0; in r8712_restruct_sec_ie()
[all …]
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_mlme.c1658 unsigned int ielength = 0; in rtw_restruct_wmm_ie() local
1663 ielength = initial_out_len; in rtw_restruct_wmm_ie()
1670 out_ie[ielength] = in_ie[j]; in rtw_restruct_wmm_ie()
1671 ielength++; in rtw_restruct_wmm_ie()
1679 return ielength; in rtw_restruct_wmm_ie()
1737 uint ielength; in rtw_restruct_sec_ie() local
1751 ielength = 12; in rtw_restruct_sec_ie()
1760 memcpy(out_ie+ielength, psecuritypriv->wps_ie, psecuritypriv->wps_ie_len); in rtw_restruct_sec_ie()
1762 ielength += psecuritypriv->wps_ie_len; in rtw_restruct_sec_ie()
1765 memcpy(&out_ie[ielength], &psecuritypriv->supplicant_ie[0], psecuritypriv->supplicant_ie[1]+2); in rtw_restruct_sec_ie()
[all …]
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_mlme.c2390 unsigned int ielength = 0; in rtw_restruct_wmm_ie() local
2395 ielength = initial_out_len; in rtw_restruct_wmm_ie()
2399 out_ie[ielength] = in_ie[j]; in rtw_restruct_wmm_ie()
2400 ielength++; in rtw_restruct_wmm_ie()
2412 return ielength; in rtw_restruct_wmm_ie()
2484 uint ielength; in rtw_restruct_sec_ie() local
2496 ielength = 12; in rtw_restruct_sec_ie()
2503 memcpy(out_ie+ielength, psecuritypriv->wps_ie, psecuritypriv->wps_ie_len); in rtw_restruct_sec_ie()
2505 ielength += psecuritypriv->wps_ie_len; in rtw_restruct_sec_ie()
2508 memcpy(&out_ie[ielength], &psecuritypriv->supplicant_ie[0], psecuritypriv->supplicant_ie[1]+2); in rtw_restruct_sec_ie()
[all …]