Lines Matching refs:i

39 	uint32_t len, i;  in send_ocb_set_utc_time_cmd_tlv()  local
55 for (i = 0; i < SIZE_UTC_TIME; i++) in send_ocb_set_utc_time_cmd_tlv()
56 WMI_UTC_TIME_SET(cmd, i, utc->utc_time[i]); in send_ocb_set_utc_time_cmd_tlv()
58 for (i = 0; i < SIZE_UTC_TIME_ERROR; i++) in send_ocb_set_utc_time_cmd_tlv()
59 WMI_TIME_ERROR_SET(cmd, i, utc->time_error[i]); in send_ocb_set_utc_time_cmd_tlv()
238 uint32_t i; in send_dcc_get_stats_cmd_tlv() local
277 for (i = 0; i < cmd->num_channels; i++) in send_dcc_get_stats_cmd_tlv()
278 WMITLV_SET_HDR(&channel_stats_array[i].tlv_header, in send_dcc_get_stats_cmd_tlv()
364 uint32_t i; in send_dcc_update_ndl_cmd_tlv() local
374 for (i = 0; i < update_ndl_param->channel_count; i++) in send_dcc_update_ndl_cmd_tlv()
376 WMI_NDL_NUM_ACTIVE_STATE_GET(&ndl_chan_array[i]); in send_dcc_update_ndl_cmd_tlv()
415 for (i = 0; i < cmd->num_channel; i++) in send_dcc_update_ndl_cmd_tlv()
416 WMITLV_SET_HDR(&ndl_chan_array[i].tlv_header, in send_dcc_update_ndl_cmd_tlv()
430 for (i = 0; i < active_state_count; i++) { in send_dcc_update_ndl_cmd_tlv()
431 WMITLV_SET_HDR(&ndl_active_state_array[i].tlv_header, in send_dcc_update_ndl_cmd_tlv()
472 int32_t i, j, active_state_count; in send_ocb_set_config_cmd_tlv() local
488 for (i = 0, ndl_chan = config->dcc_ndl_chan_list; in send_ocb_set_config_cmd_tlv()
489 i < config->channel_count; ++i, ++ndl_chan) in send_ocb_set_config_cmd_tlv()
536 for (i = 0; i < config->channel_count; i++) { in send_ocb_set_config_cmd_tlv()
541 chan->mhz = config->channels[i].chan_freq; in send_ocb_set_config_cmd_tlv()
542 chan->band_center_freq1 = config->channels[i].chan_freq; in send_ocb_set_config_cmd_tlv()
546 WMI_SET_CHANNEL_MODE(chan, config->channels[i].ch_mode); in send_ocb_set_config_cmd_tlv()
547 WMI_SET_CHANNEL_MAX_POWER(chan, config->channels[i].max_pwr); in send_ocb_set_config_cmd_tlv()
548 WMI_SET_CHANNEL_MIN_POWER(chan, config->channels[i].min_pwr); in send_ocb_set_config_cmd_tlv()
549 WMI_SET_CHANNEL_MAX_TX_POWER(chan, config->channels[i].max_pwr); in send_ocb_set_config_cmd_tlv()
550 WMI_SET_CHANNEL_REG_POWER(chan, config->channels[i].reg_pwr); in send_ocb_set_config_cmd_tlv()
552 config->channels[i].antenna_max); in send_ocb_set_config_cmd_tlv()
554 if (config->channels[i].bandwidth < 10) in send_ocb_set_config_cmd_tlv()
556 else if (config->channels[i].bandwidth < 20) in send_ocb_set_config_cmd_tlv()
565 for (i = 0; i < config->channel_count; i++) { in send_ocb_set_config_cmd_tlv()
570 ocb_chan->bandwidth = config->channels[i].bandwidth; in send_ocb_set_config_cmd_tlv()
572 config->channels[i].mac_address.bytes, in send_ocb_set_config_cmd_tlv()
582 for (i = 0; i < config->channel_count; i++) { in send_ocb_set_config_cmd_tlv()
589 config->channels[i].qos_params[j].aifsn; in send_ocb_set_config_cmd_tlv()
591 config->channels[i].qos_params[j].cwmin; in send_ocb_set_config_cmd_tlv()
593 config->channels[i].qos_params[j].cwmax; in send_ocb_set_config_cmd_tlv()
606 for (i = 0; i < config->channel_count; i++) in send_ocb_set_config_cmd_tlv()
607 WMITLV_SET_HDR(&(ndl_chan[i].tlv_header), in send_ocb_set_config_cmd_tlv()
622 for (i = 0; i < active_state_count; ++i) in send_ocb_set_config_cmd_tlv()
623 WMITLV_SET_HDR(&(ndl_active_config[i].tlv_header), in send_ocb_set_config_cmd_tlv()
635 for (i = 0; i < config->schedule_size; i++) { in send_ocb_set_config_cmd_tlv()
640 sched_elem->channel_freq = config->schedule[i].chan_freq; in send_ocb_set_config_cmd_tlv()
641 sched_elem->total_duration = config->schedule[i].total_duration; in send_ocb_set_config_cmd_tlv()
642 sched_elem->guard_interval = config->schedule[i].guard_interval; in send_ocb_set_config_cmd_tlv()