Lines Matching refs:scan_ch
1520 struct il3945_scan_channel *scan_ch, in il3945_get_channels_for_scan() argument
1546 scan_ch->channel = chan->hw_value; in il3945_get_channels_for_scan()
1548 ch_info = il_get_channel_info(il, band, scan_ch->channel); in il3945_get_channels_for_scan()
1551 scan_ch->channel); in il3945_get_channels_for_scan()
1555 scan_ch->active_dwell = cpu_to_le16(active_dwell); in il3945_get_channels_for_scan()
1556 scan_ch->passive_dwell = cpu_to_le16(passive_dwell); in il3945_get_channels_for_scan()
1562 scan_ch->type = 0; /* passive */ in il3945_get_channels_for_scan()
1564 scan_ch->active_dwell = in il3945_get_channels_for_scan()
1567 scan_ch->type = 1; /* active */ in il3945_get_channels_for_scan()
1576 scan_ch->type |= IL39_SCAN_PROBE_MASK(n_probes); in il3945_get_channels_for_scan()
1580 if ((scan_ch->type & 1) && n_probes) in il3945_get_channels_for_scan()
1581 scan_ch->type |= IL39_SCAN_PROBE_MASK(n_probes); in il3945_get_channels_for_scan()
1585 scan_ch->tpc.dsp_atten = 110; in il3945_get_channels_for_scan()
1590 scan_ch->tpc.tx_gain = ((1 << 5) | (3 << 3)) | 3; in il3945_get_channels_for_scan()
1592 scan_ch->tpc.tx_gain = ((1 << 5) | (5 << 3)); in il3945_get_channels_for_scan()
1599 D_SCAN("Scanning %d [%s %d]\n", scan_ch->channel, in il3945_get_channels_for_scan()
1600 (scan_ch->type & 1) ? "ACTIVE" : "PASSIVE", in il3945_get_channels_for_scan()
1601 (scan_ch->type & 1) ? active_dwell : passive_dwell); in il3945_get_channels_for_scan()
1603 scan_ch++; in il3945_get_channels_for_scan()