Lines Matching refs:num_rates
1648 rateset->num_rates = 0; in ath11k_peer_assoc_h_rates()
1655 rateset->rates[rateset->num_rates] = rate; in ath11k_peer_assoc_h_rates()
1656 rateset->num_rates++; in ath11k_peer_assoc_h_rates()
1779 arg->peer_ht_rates.num_rates = 8; in ath11k_peer_assoc_h_ht()
1780 for (i = 0; i < arg->peer_ht_rates.num_rates; i++) in ath11k_peer_assoc_h_ht()
1783 arg->peer_ht_rates.num_rates = n; in ath11k_peer_assoc_h_ht()
1789 arg->peer_ht_rates.num_rates, in ath11k_peer_assoc_h_ht()
4011 int num_rates = 0; in ath11k_mac_bitrate_mask_num_vht_rates() local
4015 num_rates += hweight16(mask->control[band].vht_mcs[i]); in ath11k_mac_bitrate_mask_num_vht_rates()
4017 return num_rates; in ath11k_mac_bitrate_mask_num_vht_rates()
4025 int num_rates = 0; in ath11k_mac_bitrate_mask_num_he_rates() local
4029 num_rates += hweight16(mask->control[band].he_mcs[i]); in ath11k_mac_bitrate_mask_num_he_rates()
4031 return num_rates; in ath11k_mac_bitrate_mask_num_he_rates()
7436 int num_rates = 0; in ath11k_mac_bitrate_mask_num_ht_rates() local
7440 num_rates += hweight16(mask->control[band].ht_mcs[i]); in ath11k_mac_bitrate_mask_num_ht_rates()
7442 return num_rates; in ath11k_mac_bitrate_mask_num_ht_rates()
7450 int num_rates = 0; in ath11k_mac_has_single_legacy_rate() local
7452 num_rates = hweight32(mask->control[band].legacy); in ath11k_mac_has_single_legacy_rate()
7463 return num_rates == 1; in ath11k_mac_has_single_legacy_rate()
7895 int num_rates; in ath11k_mac_op_set_bitrate_mask() local
7975 num_rates = ath11k_mac_bitrate_mask_num_vht_rates(ar, band, in ath11k_mac_op_set_bitrate_mask()
7979 num_rates > 1) { in ath11k_mac_op_set_bitrate_mask()
7985 num_rates); in ath11k_mac_op_set_bitrate_mask()
7989 num_rates = ath11k_mac_bitrate_mask_num_he_rates(ar, band, in ath11k_mac_op_set_bitrate_mask()
7991 if (num_rates == 1) in ath11k_mac_op_set_bitrate_mask()
7995 num_rates > 1) { in ath11k_mac_op_set_bitrate_mask()