Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/uwb/
Dhwa-rc.c107 size_t bytes_left, ielength; in hwarc_filter_evt_beacon_WUSB_0100() local
119 ielength = le16_to_cpu(be->wBeaconInfoLength); in hwarc_filter_evt_beacon_WUSB_0100()
120 if (bytes_left < ielength) { in hwarc_filter_evt_beacon_WUSB_0100()
123 bytes_left, ielength); in hwarc_filter_evt_beacon_WUSB_0100()
126 newbe = kzalloc(sizeof(*newbe) + ielength, GFP_ATOMIC); in hwarc_filter_evt_beacon_WUSB_0100()
136 memcpy(newbe->BeaconInfo, be->BeaconInfo, ielength); in hwarc_filter_evt_beacon_WUSB_0100()
138 *new_size = sizeof(*newbe) + ielength; in hwarc_filter_evt_beacon_WUSB_0100()
166 size_t bytes_left, ielength; in hwarc_filter_evt_drp_avail_WUSB_0100() local
179 ielength = le16_to_cpu(da->wIELength); in hwarc_filter_evt_drp_avail_WUSB_0100()
180 if (bytes_left < ielength) { in hwarc_filter_evt_drp_avail_WUSB_0100()
[all …]
Ddrp.c797 size_t ielength, bytes_left; in uwbd_evt_handle_rc_drp() local
811 ielength = le16_to_cpu(drp_evt->ie_length); in uwbd_evt_handle_rc_drp()
812 if (bytes_left != ielength) { in uwbd_evt_handle_rc_drp()
815 bytes_left, ielength); in uwbd_evt_handle_rc_drp()
836 uwb_drp_process_all(rc, drp_evt, ielength, src_dev); in uwbd_evt_handle_rc_drp()
/Linux-v5.4/drivers/staging/rtl8712/
Drtl871x_mlme.c1256 unsigned int ielength = 0; in r8712_restruct_wmm_ie() local
1261 ielength = initial_out_len; in r8712_restruct_wmm_ie()
1267 out_ie[ielength] = in_ie[j]; in r8712_restruct_wmm_ie()
1268 ielength++; in r8712_restruct_wmm_ie()
1277 return ielength; in r8712_restruct_wmm_ie()
1318 uint ielength, cnt, remove_cnt; in r8712_restruct_sec_ie() local
1522 ielength = 12; in r8712_restruct_sec_ie()
1525 memcpy(&out_ie[ielength], &sec_ie[0], sec_ie[1] + 2); in r8712_restruct_sec_ie()
1526 ielength += sec_ie[1] + 2; in r8712_restruct_sec_ie()
1529 out_ie[ielength - 1] = 0; in r8712_restruct_sec_ie()
[all …]
/Linux-v5.4/drivers/staging/rtl8188eu/core/
Drtw_mlme.c1636 unsigned int ielength = 0; in rtw_restruct_wmm_ie() local
1641 ielength = initial_out_len; in rtw_restruct_wmm_ie()
1648 out_ie[ielength] = in_ie[j]; in rtw_restruct_wmm_ie()
1649 ielength++; in rtw_restruct_wmm_ie()
1657 return ielength; in rtw_restruct_wmm_ie()
1715 uint ielength; in rtw_restruct_sec_ie() local
1728 ielength = 12; in rtw_restruct_sec_ie()
1737 memcpy(out_ie+ielength, psecuritypriv->wps_ie, psecuritypriv->wps_ie_len); in rtw_restruct_sec_ie()
1739 ielength += psecuritypriv->wps_ie_len; in rtw_restruct_sec_ie()
1742 memcpy(&out_ie[ielength], &psecuritypriv->supplicant_ie[0], psecuritypriv->supplicant_ie[1]+2); in rtw_restruct_sec_ie()
[all …]
/Linux-v5.4/drivers/staging/rtl8723bs/core/
Drtw_mlme.c2327 unsigned int ielength = 0; in rtw_restruct_wmm_ie() local
2332 ielength = initial_out_len; in rtw_restruct_wmm_ie()
2336 out_ie[ielength] = in_ie[j]; in rtw_restruct_wmm_ie()
2337 ielength++; in rtw_restruct_wmm_ie()
2349 return ielength; in rtw_restruct_wmm_ie()
2421 uint ielength; in rtw_restruct_sec_ie() local
2433 ielength = 12; in rtw_restruct_sec_ie()
2440 memcpy(out_ie+ielength, psecuritypriv->wps_ie, psecuritypriv->wps_ie_len); in rtw_restruct_sec_ie()
2442 ielength += psecuritypriv->wps_ie_len; in rtw_restruct_sec_ie()
2445 memcpy(&out_ie[ielength], &psecuritypriv->supplicant_ie[0], psecuritypriv->supplicant_ie[1]+2); in rtw_restruct_sec_ie()
[all …]