Lines Matching refs:chan_idx
466 int chan_idx = 0, i; in mwifiex_scan_create_channel_list() local
479 scan_chan_list[chan_idx].radio_type = band; in mwifiex_scan_create_channel_list()
483 scan_chan_list[chan_idx].max_scan_time = in mwifiex_scan_create_channel_list()
488 scan_chan_list[chan_idx].max_scan_time = in mwifiex_scan_create_channel_list()
491 scan_chan_list[chan_idx].max_scan_time = in mwifiex_scan_create_channel_list()
495 scan_chan_list[chan_idx].chan_scan_mode_bitmap in mwifiex_scan_create_channel_list()
499 scan_chan_list[chan_idx].chan_scan_mode_bitmap in mwifiex_scan_create_channel_list()
501 scan_chan_list[chan_idx].chan_number = in mwifiex_scan_create_channel_list()
504 scan_chan_list[chan_idx].chan_scan_mode_bitmap in mwifiex_scan_create_channel_list()
510 scan_chan_list[chan_idx].max_scan_time = in mwifiex_scan_create_channel_list()
513 chan_idx++; in mwifiex_scan_create_channel_list()
517 return chan_idx; in mwifiex_scan_create_channel_list()
534 int chan_idx = 0, i; in mwifiex_bgscan_create_channel_list() local
546 scan_chan_list[chan_idx].radio_type = band; in mwifiex_bgscan_create_channel_list()
549 scan_chan_list[chan_idx].max_scan_time = in mwifiex_bgscan_create_channel_list()
553 scan_chan_list[chan_idx].max_scan_time = in mwifiex_bgscan_create_channel_list()
556 scan_chan_list[chan_idx].max_scan_time = in mwifiex_bgscan_create_channel_list()
561 scan_chan_list[chan_idx].chan_scan_mode_bitmap in mwifiex_bgscan_create_channel_list()
564 scan_chan_list[chan_idx].chan_scan_mode_bitmap in mwifiex_bgscan_create_channel_list()
567 scan_chan_list[chan_idx].chan_number = in mwifiex_bgscan_create_channel_list()
569 chan_idx++; in mwifiex_bgscan_create_channel_list()
572 return chan_idx; in mwifiex_bgscan_create_channel_list()
834 u32 chan_idx; in mwifiex_config_scan() local
1070 for (chan_idx = 0; in mwifiex_config_scan()
1071 chan_idx < MWIFIEX_USER_SCAN_CHAN_MAX && in mwifiex_config_scan()
1072 user_scan_in->chan_list[chan_idx].chan_number; in mwifiex_config_scan()
1073 chan_idx++) { in mwifiex_config_scan()
1075 channel = user_scan_in->chan_list[chan_idx].chan_number; in mwifiex_config_scan()
1076 scan_chan_list[chan_idx].chan_number = channel; in mwifiex_config_scan()
1079 user_scan_in->chan_list[chan_idx].radio_type; in mwifiex_config_scan()
1080 scan_chan_list[chan_idx].radio_type = radio_type; in mwifiex_config_scan()
1082 scan_type = user_scan_in->chan_list[chan_idx].scan_type; in mwifiex_config_scan()
1085 scan_chan_list[chan_idx].chan_scan_mode_bitmap in mwifiex_config_scan()
1089 scan_chan_list[chan_idx].chan_scan_mode_bitmap in mwifiex_config_scan()
1092 scan_chan_list[chan_idx].chan_scan_mode_bitmap in mwifiex_config_scan()
1095 if (user_scan_in->chan_list[chan_idx].scan_time) { in mwifiex_config_scan()
1097 chan_list[chan_idx].scan_time; in mwifiex_config_scan()
1107 scan_chan_list[chan_idx].min_scan_time = in mwifiex_config_scan()
1109 scan_chan_list[chan_idx].max_scan_time = in mwifiex_config_scan()
1114 if ((chan_idx == 1) && in mwifiex_config_scan()
2291 u32 ssid_len, chan_idx, scan_type, scan_dur, chan_num; in mwifiex_cmd_802_11_bg_scan_config() local
2396 for (chan_idx = 0; in mwifiex_cmd_802_11_bg_scan_config()
2397 chan_idx < MWIFIEX_BG_SCAN_CHAN_MAX && in mwifiex_cmd_802_11_bg_scan_config()
2398 bgscan_cfg_in->chan_list[chan_idx].chan_number; in mwifiex_cmd_802_11_bg_scan_config()
2399 chan_idx++) { in mwifiex_cmd_802_11_bg_scan_config()
2400 temp_chan = chan_list_tlv->chan_scan_param + chan_idx; in mwifiex_cmd_802_11_bg_scan_config()
2408 bgscan_cfg_in->chan_list[chan_idx].chan_number; in mwifiex_cmd_802_11_bg_scan_config()
2410 bgscan_cfg_in->chan_list[chan_idx].radio_type; in mwifiex_cmd_802_11_bg_scan_config()
2413 bgscan_cfg_in->chan_list[chan_idx].scan_type; in mwifiex_cmd_802_11_bg_scan_config()
2422 if (bgscan_cfg_in->chan_list[chan_idx].scan_time) { in mwifiex_cmd_802_11_bg_scan_config()
2424 chan_list[chan_idx].scan_time; in mwifiex_cmd_802_11_bg_scan_config()