Lines Matching refs:scan_ch
456 struct iwl_scan_channel *scan_ch) in iwl_get_channel_for_reset_scan() argument
469 scan_ch->channel = cpu_to_le16(channel); in iwl_get_channel_for_reset_scan()
470 scan_ch->type = SCAN_CHANNEL_TYPE_PASSIVE; in iwl_get_channel_for_reset_scan()
471 scan_ch->active_dwell = in iwl_get_channel_for_reset_scan()
473 scan_ch->passive_dwell = in iwl_get_channel_for_reset_scan()
476 scan_ch->dsp_atten = 110; in iwl_get_channel_for_reset_scan()
478 scan_ch->tx_gain = ((1 << 5) | (3 << 3)) | 3; in iwl_get_channel_for_reset_scan()
480 scan_ch->tx_gain = ((1 << 5) | (5 << 3)); in iwl_get_channel_for_reset_scan()
492 struct iwl_scan_channel *scan_ch) in iwl_get_channels_for_scan() argument
518 scan_ch->channel = cpu_to_le16(channel); in iwl_get_channels_for_scan()
521 scan_ch->type = SCAN_CHANNEL_TYPE_PASSIVE; in iwl_get_channels_for_scan()
523 scan_ch->type = SCAN_CHANNEL_TYPE_ACTIVE; in iwl_get_channels_for_scan()
526 scan_ch->type |= IWL_SCAN_PROBE_MASK(n_probes); in iwl_get_channels_for_scan()
528 scan_ch->active_dwell = cpu_to_le16(active_dwell); in iwl_get_channels_for_scan()
529 scan_ch->passive_dwell = cpu_to_le16(passive_dwell); in iwl_get_channels_for_scan()
532 scan_ch->dsp_atten = 110; in iwl_get_channels_for_scan()
539 scan_ch->tx_gain = ((1 << 5) | (3 << 3)) | 3; in iwl_get_channels_for_scan()
541 scan_ch->tx_gain = ((1 << 5) | (5 << 3)); in iwl_get_channels_for_scan()
544 channel, le32_to_cpu(scan_ch->type), in iwl_get_channels_for_scan()
545 (scan_ch->type & SCAN_CHANNEL_TYPE_ACTIVE) ? in iwl_get_channels_for_scan()
547 (scan_ch->type & SCAN_CHANNEL_TYPE_ACTIVE) ? in iwl_get_channels_for_scan()
550 scan_ch++; in iwl_get_channels_for_scan()