Home
last modified time | relevance | path

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

/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.c770 size_t ielength, bytes_left; in uwbd_evt_handle_rc_drp() local
784 ielength = le16_to_cpu(drp_evt->ie_length); in uwbd_evt_handle_rc_drp()
785 if (bytes_left != ielength) { in uwbd_evt_handle_rc_drp()
788 bytes_left, ielength); in uwbd_evt_handle_rc_drp()
809 uwb_drp_process_all(rc, drp_evt, ielength, src_dev); in uwbd_evt_handle_rc_drp()
/drivers/staging/rtl8712/
Drtl871x_mlme.c1312 unsigned int ielength = 0; in r8712_restruct_wmm_ie() local
1317 ielength = initial_out_len; in r8712_restruct_wmm_ie()
1323 out_ie[ielength] = in_ie[j]; in r8712_restruct_wmm_ie()
1324 ielength++; in r8712_restruct_wmm_ie()
1333 return ielength; in r8712_restruct_wmm_ie()
1373 uint ielength, cnt, remove_cnt; in r8712_restruct_sec_ie() local
1576 ielength = 12; in r8712_restruct_sec_ie()
1579 memcpy(&out_ie[ielength], &sec_ie[0], sec_ie[1]+2); in r8712_restruct_sec_ie()
1580 ielength += sec_ie[1] + 2; in r8712_restruct_sec_ie()
1583 out_ie[ielength - 1] = 0; in r8712_restruct_sec_ie()
[all …]