Lines Matching refs:channel

618 il4965_get_tx_atten_grp(u16 channel)  in il4965_get_tx_atten_grp()  argument
620 if (channel >= CALIB_IL_TX_ATTEN_GR5_FCH && in il4965_get_tx_atten_grp()
621 channel <= CALIB_IL_TX_ATTEN_GR5_LCH) in il4965_get_tx_atten_grp()
624 if (channel >= CALIB_IL_TX_ATTEN_GR1_FCH && in il4965_get_tx_atten_grp()
625 channel <= CALIB_IL_TX_ATTEN_GR1_LCH) in il4965_get_tx_atten_grp()
628 if (channel >= CALIB_IL_TX_ATTEN_GR2_FCH && in il4965_get_tx_atten_grp()
629 channel <= CALIB_IL_TX_ATTEN_GR2_LCH) in il4965_get_tx_atten_grp()
632 if (channel >= CALIB_IL_TX_ATTEN_GR3_FCH && in il4965_get_tx_atten_grp()
633 channel <= CALIB_IL_TX_ATTEN_GR3_LCH) in il4965_get_tx_atten_grp()
636 if (channel >= CALIB_IL_TX_ATTEN_GR4_FCH && in il4965_get_tx_atten_grp()
637 channel <= CALIB_IL_TX_ATTEN_GR4_LCH) in il4965_get_tx_atten_grp()
644 il4965_get_sub_band(const struct il_priv *il, u32 channel) in il4965_get_sub_band() argument
652 if (channel >= il->calib_info->band_info[b].ch_from && in il4965_get_sub_band()
653 channel <= il->calib_info->band_info[b].ch_to) in il4965_get_sub_band()
682 il4965_interpolate_chan(struct il_priv *il, u32 channel, in il4965_interpolate_chan() argument
694 s = il4965_get_sub_band(il, channel); in il4965_interpolate_chan()
696 IL_ERR("Tx Power can not find channel %d\n", channel); in il4965_interpolate_chan()
702 chan_info->ch_num = (u8) channel; in il4965_interpolate_chan()
704 D_TXPOWER("channel %d subband %d factory cal ch %d & %d\n", channel, s, in il4965_interpolate_chan()
716 (u8) il4965_interpolate_value(channel, ch_i1, in il4965_interpolate_chan()
720 (u8) il4965_interpolate_value(channel, ch_i1, in il4965_interpolate_chan()
724 (u8) il4965_interpolate_value(channel, ch_i1, in il4965_interpolate_chan()
729 (s8) il4965_interpolate_value(channel, ch_i1, in il4965_interpolate_chan()
1019 il4965_fill_txpower_tbl(struct il_priv *il, u8 band, u16 channel, u8 is_ht40, in il4965_fill_txpower_tbl() argument
1052 D_TXPOWER("chan %d band %d is_ht40 %d\n", channel, band, is_ht40); in il4965_fill_txpower_tbl()
1054 ch_info = il_get_channel_info(il, il->band, channel); in il4965_fill_txpower_tbl()
1061 txatten_grp = il4965_get_tx_atten_grp(channel); in il4965_fill_txpower_tbl()
1063 IL_ERR("Can't find txatten group for channel %d.\n", channel); in il4965_fill_txpower_tbl()
1067 D_TXPOWER("channel %d belongs to txatten group %d\n", channel, in il4965_fill_txpower_tbl()
1072 channel -= 2; in il4965_fill_txpower_tbl()
1074 channel += 2; in il4965_fill_txpower_tbl()
1109 il4965_interpolate_chan(il, channel, &ch_eeprom_info); in il4965_fill_txpower_tbl()
1278 cmd.channel = il->active.channel; in il4965_send_tx_power()
1281 il4965_fill_txpower_tbl(il, band, le16_to_cpu(il->active.channel), in il4965_send_tx_power()
1356 il->switch_channel != il->staging.channel) { in il4965_commit_rxon()
1412 le16_to_cpu(il->staging.channel), il->staging.bssid_addr); in il4965_commit_rxon()
1496 cmd.channel = cpu_to_le16(ch); in il4965_hw_channel_switch()
1531 il->active.channel, ch); in il4965_hw_channel_switch()