Lines Matching refs:scan_ch

457 					   struct iwl_scan_channel *scan_ch)  in iwl_get_single_channel_for_scan()  argument
479 scan_ch->channel = cpu_to_le16(channel); in iwl_get_single_channel_for_scan()
480 scan_ch->type = SCAN_CHANNEL_TYPE_PASSIVE; in iwl_get_single_channel_for_scan()
481 scan_ch->active_dwell = cpu_to_le16(active_dwell); in iwl_get_single_channel_for_scan()
482 scan_ch->passive_dwell = cpu_to_le16(passive_dwell); in iwl_get_single_channel_for_scan()
484 scan_ch->dsp_atten = 110; in iwl_get_single_channel_for_scan()
486 scan_ch->tx_gain = ((1 << 5) | (3 << 3)) | 3; in iwl_get_single_channel_for_scan()
488 scan_ch->tx_gain = ((1 << 5) | (5 << 3)); in iwl_get_single_channel_for_scan()
499 struct iwl_scan_channel *scan_ch) in iwl_get_channels_for_scan() argument
526 scan_ch->channel = cpu_to_le16(channel); in iwl_get_channels_for_scan()
538 scan_ch->type = SCAN_CHANNEL_TYPE_PASSIVE; in iwl_get_channels_for_scan()
540 scan_ch->type = SCAN_CHANNEL_TYPE_ACTIVE; in iwl_get_channels_for_scan()
543 scan_ch->type |= IWL_SCAN_PROBE_MASK(n_probes); in iwl_get_channels_for_scan()
545 scan_ch->active_dwell = cpu_to_le16(active_dwell); in iwl_get_channels_for_scan()
546 scan_ch->passive_dwell = cpu_to_le16(passive_dwell); in iwl_get_channels_for_scan()
549 scan_ch->dsp_atten = 110; in iwl_get_channels_for_scan()
556 scan_ch->tx_gain = ((1 << 5) | (3 << 3)) | 3; in iwl_get_channels_for_scan()
558 scan_ch->tx_gain = ((1 << 5) | (5 << 3)); in iwl_get_channels_for_scan()
561 channel, le32_to_cpu(scan_ch->type), in iwl_get_channels_for_scan()
562 (scan_ch->type & SCAN_CHANNEL_TYPE_ACTIVE) ? in iwl_get_channels_for_scan()
564 (scan_ch->type & SCAN_CHANNEL_TYPE_ACTIVE) ? in iwl_get_channels_for_scan()
567 scan_ch++; in iwl_get_channels_for_scan()
877 struct iwl_scan_channel *scan_ch; in iwlagn_request_scan() local
886 scan_ch = (void *)&scan->data[cmd_len]; in iwlagn_request_scan()
889 scan_ch->type = SCAN_CHANNEL_TYPE_PASSIVE; in iwlagn_request_scan()
890 scan_ch->channel = in iwlagn_request_scan()
896 scan_ch->active_dwell = in iwlagn_request_scan()
897 scan_ch->passive_dwell = cpu_to_le16(dwell); in iwlagn_request_scan()
900 scan_ch->dsp_atten = 110; in iwlagn_request_scan()
907 scan_ch->tx_gain = ((1 << 5) | (3 << 3)) | 3; in iwlagn_request_scan()
909 scan_ch->tx_gain = ((1 << 5) | (5 << 3)); in iwlagn_request_scan()
911 scan_ch++; in iwlagn_request_scan()