Lines Matching refs:newpos
710 u8 *newpos = pos; in iwl_mvm_copy_and_insert_ds_elem() local
713 memcpy(newpos, ies, len); in iwl_mvm_copy_and_insert_ds_elem()
714 return newpos + len; in iwl_mvm_copy_and_insert_ds_elem()
722 memcpy(newpos, ies, offs); in iwl_mvm_copy_and_insert_ds_elem()
723 newpos += offs; in iwl_mvm_copy_and_insert_ds_elem()
726 *newpos++ = WLAN_EID_DS_PARAMS; in iwl_mvm_copy_and_insert_ds_elem()
727 *newpos++ = 1; in iwl_mvm_copy_and_insert_ds_elem()
728 *newpos++ = 0; in iwl_mvm_copy_and_insert_ds_elem()
730 memcpy(newpos, ies + offs, len - offs); in iwl_mvm_copy_and_insert_ds_elem()
731 newpos += len - offs; in iwl_mvm_copy_and_insert_ds_elem()
733 return newpos; in iwl_mvm_copy_and_insert_ds_elem()
756 u8 *pos, *newpos; in iwl_mvm_build_scan_probe() local
785 newpos = iwl_mvm_copy_and_insert_ds_elem(mvm, in iwl_mvm_build_scan_probe()
790 params->preq.band_data[0].len = cpu_to_le16(newpos - pos); in iwl_mvm_build_scan_probe()
791 pos = newpos; in iwl_mvm_build_scan_probe()