Lines Matching refs:newpos
695 u8 *newpos = pos; in iwl_mvm_copy_and_insert_ds_elem() local
698 memcpy(newpos, ies, len); in iwl_mvm_copy_and_insert_ds_elem()
699 return newpos + len; in iwl_mvm_copy_and_insert_ds_elem()
707 memcpy(newpos, ies, offs); in iwl_mvm_copy_and_insert_ds_elem()
708 newpos += offs; in iwl_mvm_copy_and_insert_ds_elem()
711 *newpos++ = WLAN_EID_DS_PARAMS; in iwl_mvm_copy_and_insert_ds_elem()
712 *newpos++ = 1; in iwl_mvm_copy_and_insert_ds_elem()
713 *newpos++ = 0; in iwl_mvm_copy_and_insert_ds_elem()
715 memcpy(newpos, ies + offs, len - offs); in iwl_mvm_copy_and_insert_ds_elem()
716 newpos += len - offs; in iwl_mvm_copy_and_insert_ds_elem()
718 return newpos; in iwl_mvm_copy_and_insert_ds_elem()
743 u8 *pos, *newpos; in iwl_mvm_build_scan_probe() local
772 newpos = iwl_mvm_copy_and_insert_ds_elem(mvm, in iwl_mvm_build_scan_probe()
777 params->preq.band_data[0].len = cpu_to_le16(newpos - pos); in iwl_mvm_build_scan_probe()
778 pos = newpos; in iwl_mvm_build_scan_probe()