Home
last modified time | relevance | path

Searched refs:ch_info (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.10/drivers/net/wireless/intel/iwlegacy/
D3945.c1327 struct il_channel_info *ch_info, int band_idx) in il3945_hw_reg_set_scan_power() argument
1333 scan_power_info = &ch_info->scan_pwr_info[scan_tbl_idx]; in il3945_hw_reg_set_scan_power()
1338 power = min(ch_info->scan_power, clip_pwrs[RATE_6M_IDX_TBL]); in il3945_hw_reg_set_scan_power()
1349 ch_info->power_info[rate_idx].power_table_idx - (power - in il3945_hw_reg_set_scan_power()
1350 ch_info-> in il3945_hw_reg_set_scan_power()
1385 const struct il_channel_info *ch_info = NULL; in il3945_send_tx_power() local
1399 ch_info = il_get_channel_info(il, il->band, chan); in il3945_send_tx_power()
1400 if (!ch_info) { in il3945_send_tx_power()
1406 if (!il_is_channel_valid(ch_info)) { in il3945_send_tx_power()
1416 txpower.power[i].tpc = ch_info->power_info[i].tpc; in il3945_send_tx_power()
[all …]
Dcommon.c849 struct il_channel_info *ch_info; in il_mod_ht40_chan_info() local
851 ch_info = in il_mod_ht40_chan_info()
854 if (!il_is_channel_valid(ch_info)) in il_mod_ht40_chan_info()
858 " Ad-Hoc %ssupported\n", ch_info->channel, in il_mod_ht40_chan_info()
859 il_is_channel_a_band(ch_info) ? "5.2" : "2.4", in il_mod_ht40_chan_info()
867 ch_info->ht40_eeprom = *eeprom_ch; in il_mod_ht40_chan_info()
868 ch_info->ht40_max_power_avg = eeprom_ch->max_power_avg; in il_mod_ht40_chan_info()
869 ch_info->ht40_flags = eeprom_ch->flags; in il_mod_ht40_chan_info()
871 ch_info->ht40_extension_channel &= in il_mod_ht40_chan_info()
890 struct il_channel_info *ch_info; in il_init_channel_map() local
[all …]
D4965.c1017 const struct il_channel_info *ch_info = NULL; in il4965_fill_txpower_tbl() local
1038 ch_info = il_get_channel_info(il, il->band, channel); in il4965_fill_txpower_tbl()
1040 if (!il_is_channel_valid(ch_info)) in il4965_fill_txpower_tbl()
1079 reg_limit = ch_info->ht40_max_power_avg * 2; in il4965_fill_txpower_tbl()
1081 reg_limit = ch_info->max_power_avg * 2; in il4965_fill_txpower_tbl()
1462 const struct il_channel_info *ch_info; in il4965_hw_channel_switch() local
1512 ch_info = il_get_channel_info(il, il->band, ch); in il4965_hw_channel_switch()
1513 if (ch_info) in il4965_hw_channel_switch()
1514 cmd.expect_beacon = il_is_channel_radar(ch_info); in il4965_hw_channel_switch()
Dcommon.h1449 il_is_channel_valid(const struct il_channel_info *ch_info) in il_is_channel_valid() argument
1451 if (ch_info == NULL) in il_is_channel_valid()
1453 return (ch_info->flags & EEPROM_CHANNEL_VALID) ? 1 : 0; in il_is_channel_valid()
1457 il_is_channel_radar(const struct il_channel_info *ch_info) in il_is_channel_radar() argument
1459 return (ch_info->flags & EEPROM_CHANNEL_RADAR) ? 1 : 0; in il_is_channel_radar()
1463 il_is_channel_a_band(const struct il_channel_info *ch_info) in il_is_channel_a_band() argument
1465 return ch_info->band == NL80211_BAND_5GHZ; in il_is_channel_a_band()
D3945-mac.c1533 const struct il_channel_info *ch_info; in il3945_get_channels_for_scan() local
1556 ch_info = il_get_channel_info(il, band, scan_ch->channel); in il3945_get_channels_for_scan()
1557 if (!il_is_channel_valid(ch_info)) { in il3945_get_channels_for_scan()
1568 if (!is_active || il_is_channel_passive(ch_info) || in il3945_get_channels_for_scan()
D4965-mac.c761 const struct il_channel_info *ch_info; in il4965_get_channels_for_scan() local
786 ch_info = il_get_channel_info(il, band, channel); in il4965_get_channels_for_scan()
787 if (!il_is_channel_valid(ch_info)) { in il4965_get_channels_for_scan()
793 if (!is_active || il_is_channel_passive(ch_info) || in il4965_get_channels_for_scan()
6052 const struct il_channel_info *ch_info; in il4965_mac_channel_switch() local
6080 ch_info = il_get_channel_info(il, channel->band, ch); in il4965_mac_channel_switch()
6081 if (!il_is_channel_valid(ch_info)) { in il4965_mac_channel_switch()
/Linux-v5.10/drivers/net/ethernet/toshiba/
Dps3_gelic_wireless.h263 u16 ch_info; /* available channels. bit0 = ch1 */ member
Dps3_gelic_wireless.c287 wl->ch_info = 0x07ff;/* 11 ch */ in gelic_wl_get_ch_info()
290 wl->ch_info = ch_info_raw >> 48; in gelic_wl_get_ch_info()
316 if (wl->ch_info & (1 << i)) { in gelic_wl_get_range()
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-eeprom-parse.c476 const struct iwl_eeprom_channel **ch_info, in iwl_init_band_reference() argument
483 *ch_info = (void *)iwl_eeprom_query_addr(eeprom, eeprom_size, offset); in iwl_init_band_reference()
/Linux-v5.10/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c1033 vti->list[i].count = adapter->ch_config.ch_info[i].count; in iavf_enable_channels()
1034 vti->list[i].offset = adapter->ch_config.ch_info[i].offset; in iavf_enable_channels()
1037 adapter->ch_config.ch_info[i].max_tx_rate; in iavf_enable_channels()
Diavf.h157 struct virtchnl_channel_info ch_info[IAVF_MAX_TRAFFIC_CLASS]; member
Diavf_main.c2655 adapter->ch_config.ch_info[i].count = in __iavf_setup_tc()
2657 adapter->ch_config.ch_info[i].offset = in __iavf_setup_tc()
2664 adapter->ch_config.ch_info[i].max_tx_rate = in __iavf_setup_tc()
2667 adapter->ch_config.ch_info[i].count = 1; in __iavf_setup_tc()
2668 adapter->ch_config.ch_info[i].offset = 0; in __iavf_setup_tc()
/Linux-v5.10/drivers/staging/ks7010/
Dks_hostif.h311 u8 ch_info; /* +15 */ member
Dks_hostif.c271 ap->channel = ap_info->ch_info; in get_ap_information()