Lines Matching refs:chan_idx
454 int chan_idx = 0, i; in mwifiex_scan_create_channel_list() local
467 scan_chan_list[chan_idx].radio_type = band; in mwifiex_scan_create_channel_list()
471 scan_chan_list[chan_idx].max_scan_time = in mwifiex_scan_create_channel_list()
476 scan_chan_list[chan_idx].max_scan_time = in mwifiex_scan_create_channel_list()
479 scan_chan_list[chan_idx].max_scan_time = in mwifiex_scan_create_channel_list()
483 scan_chan_list[chan_idx].chan_scan_mode_bitmap in mwifiex_scan_create_channel_list()
487 scan_chan_list[chan_idx].chan_scan_mode_bitmap in mwifiex_scan_create_channel_list()
489 scan_chan_list[chan_idx].chan_number = in mwifiex_scan_create_channel_list()
492 scan_chan_list[chan_idx].chan_scan_mode_bitmap in mwifiex_scan_create_channel_list()
498 scan_chan_list[chan_idx].max_scan_time = in mwifiex_scan_create_channel_list()
501 chan_idx++; in mwifiex_scan_create_channel_list()
505 return chan_idx; in mwifiex_scan_create_channel_list()
522 int chan_idx = 0, i; in mwifiex_bgscan_create_channel_list() local
534 scan_chan_list[chan_idx].radio_type = band; in mwifiex_bgscan_create_channel_list()
537 scan_chan_list[chan_idx].max_scan_time = in mwifiex_bgscan_create_channel_list()
541 scan_chan_list[chan_idx].max_scan_time = in mwifiex_bgscan_create_channel_list()
544 scan_chan_list[chan_idx].max_scan_time = in mwifiex_bgscan_create_channel_list()
549 scan_chan_list[chan_idx].chan_scan_mode_bitmap in mwifiex_bgscan_create_channel_list()
552 scan_chan_list[chan_idx].chan_scan_mode_bitmap in mwifiex_bgscan_create_channel_list()
555 scan_chan_list[chan_idx].chan_number = in mwifiex_bgscan_create_channel_list()
557 chan_idx++; in mwifiex_bgscan_create_channel_list()
560 return chan_idx; in mwifiex_bgscan_create_channel_list()
822 u32 chan_idx; in mwifiex_config_scan() local
1058 for (chan_idx = 0; in mwifiex_config_scan()
1059 chan_idx < MWIFIEX_USER_SCAN_CHAN_MAX && in mwifiex_config_scan()
1060 user_scan_in->chan_list[chan_idx].chan_number; in mwifiex_config_scan()
1061 chan_idx++) { in mwifiex_config_scan()
1063 channel = user_scan_in->chan_list[chan_idx].chan_number; in mwifiex_config_scan()
1064 scan_chan_list[chan_idx].chan_number = channel; in mwifiex_config_scan()
1067 user_scan_in->chan_list[chan_idx].radio_type; in mwifiex_config_scan()
1068 scan_chan_list[chan_idx].radio_type = radio_type; in mwifiex_config_scan()
1070 scan_type = user_scan_in->chan_list[chan_idx].scan_type; in mwifiex_config_scan()
1073 scan_chan_list[chan_idx].chan_scan_mode_bitmap in mwifiex_config_scan()
1077 scan_chan_list[chan_idx].chan_scan_mode_bitmap in mwifiex_config_scan()
1080 scan_chan_list[chan_idx].chan_scan_mode_bitmap in mwifiex_config_scan()
1083 if (user_scan_in->chan_list[chan_idx].scan_time) { in mwifiex_config_scan()
1085 chan_list[chan_idx].scan_time; in mwifiex_config_scan()
1095 scan_chan_list[chan_idx].min_scan_time = in mwifiex_config_scan()
1097 scan_chan_list[chan_idx].max_scan_time = in mwifiex_config_scan()
1102 if ((chan_idx == 1) && in mwifiex_config_scan()
2279 u32 ssid_len, chan_idx, scan_type, scan_dur, chan_num; in mwifiex_cmd_802_11_bg_scan_config() local
2384 for (chan_idx = 0; in mwifiex_cmd_802_11_bg_scan_config()
2385 chan_idx < MWIFIEX_BG_SCAN_CHAN_MAX && in mwifiex_cmd_802_11_bg_scan_config()
2386 bgscan_cfg_in->chan_list[chan_idx].chan_number; in mwifiex_cmd_802_11_bg_scan_config()
2387 chan_idx++) { in mwifiex_cmd_802_11_bg_scan_config()
2388 temp_chan = chan_list_tlv->chan_scan_param + chan_idx; in mwifiex_cmd_802_11_bg_scan_config()
2396 bgscan_cfg_in->chan_list[chan_idx].chan_number; in mwifiex_cmd_802_11_bg_scan_config()
2398 bgscan_cfg_in->chan_list[chan_idx].radio_type; in mwifiex_cmd_802_11_bg_scan_config()
2401 bgscan_cfg_in->chan_list[chan_idx].scan_type; in mwifiex_cmd_802_11_bg_scan_config()
2410 if (bgscan_cfg_in->chan_list[chan_idx].scan_time) { in mwifiex_cmd_802_11_bg_scan_config()
2412 chan_list[chan_idx].scan_time; in mwifiex_cmd_802_11_bg_scan_config()