/drivers/net/wireless/mwifiex/ |
D | cfp.c | 397 u32 num_rates, rate_mask; in mwifiex_get_rates_from_cfg80211() local 413 num_rates = 0; in mwifiex_get_rates_from_cfg80211() 417 rates[num_rates++] = (u8)(sband->bitrates[i].bitrate / 5); in mwifiex_get_rates_from_cfg80211() 420 return num_rates; in mwifiex_get_rates_from_cfg80211()
|
/drivers/net/wireless/rt2x00/ |
D | rt2x00dev.c | 940 unsigned int num_rates; in rt2x00lib_probe_hw_modes() local 943 num_rates = 0; in rt2x00lib_probe_hw_modes() 945 num_rates += 4; in rt2x00lib_probe_hw_modes() 947 num_rates += 8; in rt2x00lib_probe_hw_modes() 953 rates = kcalloc(num_rates, sizeof(*rates), GFP_KERNEL); in rt2x00lib_probe_hw_modes() 960 for (i = 0; i < num_rates; i++) in rt2x00lib_probe_hw_modes() 979 rt2x00dev->bands[IEEE80211_BAND_2GHZ].n_bitrates = num_rates; in rt2x00lib_probe_hw_modes() 997 num_rates - 4; in rt2x00lib_probe_hw_modes()
|
/drivers/net/wireless/iwlwifi/mvm/ |
D | rs.c | 3133 int num_rates = ARRAY_SIZE(lq_cmd->rs_table); in rs_build_rates_table_from_fixed() local 3137 for (i = 0; i < num_rates; i++) in rs_build_rates_table_from_fixed() 3143 lq_cmd->mimo_delim = num_rates - 1; in rs_build_rates_table_from_fixed() 3160 int num_rates, int num_retries, in rs_fill_rates_for_column() argument 3170 for (i = 0; i < num_rates && index < end; i++) { in rs_fill_rates_for_column() 3217 int num_rates, num_retries, index = 0; in rs_build_rates_table() local 3232 num_rates = IWL_MVM_RS_INITIAL_SISO_NUM_RATES; in rs_build_rates_table() 3235 num_rates = IWL_MVM_RS_INITIAL_MIMO_NUM_RATES; in rs_build_rates_table() 3238 num_rates = IWL_MVM_RS_INITIAL_LEGACY_NUM_RATES; in rs_build_rates_table() 3244 num_rates, num_retries, valid_tx_ant, in rs_build_rates_table() [all …]
|
/drivers/net/wireless/ipw2x00/ |
D | ipw2200.c | 5372 int num_rates, i; in ipw_compatible_rates() local 5375 num_rates = min(network->rates_len, (u8) IPW_MAX_RATES); in ipw_compatible_rates() 5376 rates->num_rates = 0; in ipw_compatible_rates() 5377 for (i = 0; i < num_rates; i++) { in ipw_compatible_rates() 5385 rates->supported_rates[rates->num_rates++] = in ipw_compatible_rates() 5395 rates->supported_rates[rates->num_rates++] = network->rates[i]; in ipw_compatible_rates() 5398 num_rates = min(network->rates_ex_len, in ipw_compatible_rates() 5399 (u8) (IPW_MAX_RATES - num_rates)); in ipw_compatible_rates() 5400 for (i = 0; i < num_rates; i++) { in ipw_compatible_rates() 5407 rates->supported_rates[rates->num_rates++] = in ipw_compatible_rates() [all …]
|
D | ipw2200.h | 751 u8 num_rates; member 907 u8 num_rates; member
|
/drivers/net/wireless/ath/ath10k/ |
D | wmi-tlv.c | 2120 if (arg->peer_legacy_rates.num_rates > MAX_SUPPORTED_RATES) in ath10k_wmi_tlv_op_gen_peer_assoc() 2122 if (arg->peer_ht_rates.num_rates > MAX_SUPPORTED_RATES) in ath10k_wmi_tlv_op_gen_peer_assoc() 2125 legacy_rate_len = roundup(arg->peer_legacy_rates.num_rates, in ath10k_wmi_tlv_op_gen_peer_assoc() 2127 ht_rate_len = roundup(arg->peer_ht_rates.num_rates, sizeof(__le32)); in ath10k_wmi_tlv_op_gen_peer_assoc() 2155 cmd->num_legacy_rates = __cpu_to_le32(arg->peer_legacy_rates.num_rates); in ath10k_wmi_tlv_op_gen_peer_assoc() 2156 cmd->num_ht_rates = __cpu_to_le32(arg->peer_ht_rates.num_rates); in ath10k_wmi_tlv_op_gen_peer_assoc() 2166 arg->peer_legacy_rates.num_rates); in ath10k_wmi_tlv_op_gen_peer_assoc() 2175 arg->peer_ht_rates.num_rates); in ath10k_wmi_tlv_op_gen_peer_assoc()
|
D | mac.c | 2074 rateset->num_rates = 0; in ath10k_peer_assoc_h_rates() 2081 rateset->rates[rateset->num_rates] = rate; in ath10k_peer_assoc_h_rates() 2082 rateset->num_rates++; in ath10k_peer_assoc_h_rates() 2202 arg->peer_ht_rates.num_rates = 8; in ath10k_peer_assoc_h_ht() 2203 for (i = 0; i < arg->peer_ht_rates.num_rates; i++) in ath10k_peer_assoc_h_ht() 2206 arg->peer_ht_rates.num_rates = n; in ath10k_peer_assoc_h_ht() 2212 arg->peer_ht_rates.num_rates, in ath10k_peer_assoc_h_ht() 6032 int num_rates = 0; in ath10k_mac_bitrate_mask_has_single_rate() local 6035 num_rates += hweight32(mask->control[band].legacy); in ath10k_mac_bitrate_mask_has_single_rate() 6038 num_rates += hweight8(mask->control[band].ht_mcs[i]); in ath10k_mac_bitrate_mask_has_single_rate() [all …]
|
D | wmi.c | 6295 cmd->peer_legacy_rates.num_rates = in ath10k_wmi_peer_assoc_fill() 6296 __cpu_to_le32(arg->peer_legacy_rates.num_rates); in ath10k_wmi_peer_assoc_fill() 6298 arg->peer_legacy_rates.num_rates); in ath10k_wmi_peer_assoc_fill() 6300 cmd->peer_ht_rates.num_rates = in ath10k_wmi_peer_assoc_fill() 6301 __cpu_to_le32(arg->peer_ht_rates.num_rates); in ath10k_wmi_peer_assoc_fill() 6303 arg->peer_ht_rates.num_rates); in ath10k_wmi_peer_assoc_fill() 6356 if (arg->peer_legacy_rates.num_rates > MAX_SUPPORTED_RATES) in ath10k_wmi_peer_assoc_check_arg() 6358 if (arg->peer_ht_rates.num_rates > MAX_SUPPORTED_RATES) in ath10k_wmi_peer_assoc_check_arg()
|
D | wmi.h | 5595 __le32 num_rates; member 5605 unsigned int num_rates; member
|
/drivers/net/wireless/ath/ath6kl/ |
D | wmi.c | 2018 int num_rates; in ath6kl_wmi_beginscan_cmd() local 2065 num_rates = 0; in ath6kl_wmi_beginscan_cmd() 2070 supp_rates[num_rates++] = in ath6kl_wmi_beginscan_cmd() 2073 sc->supp_rates[band].nrates = num_rates; in ath6kl_wmi_beginscan_cmd()
|
/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_cmn.c | 2042 uint rate, num_rates; in wlc_phy_txpower_get_current() local 2064 num_rates = ((ISNPHY(pi)) ? (TXP_NUM_RATES) : in wlc_phy_txpower_get_current() 2068 for (rate = 0; rate < num_rates; rate++) { in wlc_phy_txpower_get_current()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | fw.c | 954 dev_cap->rl_caps.num_rates = size; in mlx4_QUERY_DEV_CAP() 955 if (dev_cap->rl_caps.num_rates) { in mlx4_QUERY_DEV_CAP() 1049 rl_caps->num_rates, rl_caps->max_unit, rl_caps->max_val, in mlx4_dev_cap_dump()
|
/drivers/net/wireless/ath/wcn36xx/ |
D | hal.h | 1467 u8 num_rates; member
|
/drivers/net/wireless/ |
D | mwl8k.c | 3553 __le32 num_rates; member 3595 __le32 num_rates; member
|