Lines Matching refs:num_rates
1293 rateset->num_rates = 0; in ath12k_peer_assoc_h_rates()
1300 rateset->rates[rateset->num_rates] = rate; in ath12k_peer_assoc_h_rates()
1301 rateset->num_rates++; in ath12k_peer_assoc_h_rates()
1416 arg->peer_ht_rates.num_rates = 8; in ath12k_peer_assoc_h_ht()
1417 for (i = 0; i < arg->peer_ht_rates.num_rates; i++) in ath12k_peer_assoc_h_ht()
1420 arg->peer_ht_rates.num_rates = n; in ath12k_peer_assoc_h_ht()
1426 arg->peer_ht_rates.num_rates, in ath12k_peer_assoc_h_ht()
3050 int num_rates = 0; in ath12k_mac_bitrate_mask_num_vht_rates() local
3054 num_rates += hweight16(mask->control[band].vht_mcs[i]); in ath12k_mac_bitrate_mask_num_vht_rates()
3056 return num_rates; in ath12k_mac_bitrate_mask_num_vht_rates()
5965 int num_rates = 0; in ath12k_mac_bitrate_mask_num_ht_rates() local
5969 num_rates += hweight16(mask->control[band].ht_mcs[i]); in ath12k_mac_bitrate_mask_num_ht_rates()
5971 return num_rates; in ath12k_mac_bitrate_mask_num_ht_rates()
5979 int num_rates = 0; in ath12k_mac_has_single_legacy_rate() local
5981 num_rates = hweight32(mask->control[band].legacy); in ath12k_mac_has_single_legacy_rate()
5989 return num_rates == 1; in ath12k_mac_has_single_legacy_rate()
6199 int num_rates; in ath12k_mac_op_set_bitrate_mask() local
6262 num_rates = ath12k_mac_bitrate_mask_num_vht_rates(ar, band, in ath12k_mac_op_set_bitrate_mask()
6266 num_rates > 1) { in ath12k_mac_op_set_bitrate_mask()