Lines Matching defs:rate

386 					  u16 *rate)
401 *rate = ath11k_legacy_rates[i].bitrate;
540 const struct ieee80211_rate *rate;
544 rate = &sband->bitrates[i];
546 if (ath11k_mac_bitrate_is_cck(rate->bitrate) != cck)
549 if (rate->hw_value == hw_rate)
551 else if (rate->flags & IEEE80211_RATE_SHORT_PREAMBLE &&
552 rate->hw_value_short == hw_rate)
805 * are in BSS) or by default only for second rate series.
1814 u8 rate;
1834 rate = ath11k_mac_bitrate_to_rate(rates->bitrate);
1835 rateset->rates[rateset->num_rates] = rate;
2154 /* In IPQ8074 platform, VHT mcs rate 10 and 11 is enabled by default.
2155 * VHT mcs rate 10 and 11 is not suppoerted in 11ac standard.
2156 * so explicitly disable the VHT MCS rate 10 and 11 in 11ac mode.
3143 int rate;
3156 rate = ATH11K_HW_RATE_CODE(hw_value, 0, preamble);
3158 return rate;
3192 ath11k_warn(ar->ab, "failed to set mgmt tx rate %d\n", ret);
3203 ath11k_warn(ar->ab, "failed to set beacon tx rate %d\n", ret);
3421 u32 rate, param;
3639 rate = ATH11K_HW_RATE_CODE(hw_value, 0, preamble);
3643 arvif->vdev_id, rate);
3647 vdev_param, rate);
3650 "failed to set mcast rate on vdev %i: %d\n",
3655 vdev_param, rate);
3658 "failed to set bcast rate on vdev %i: %d\n",
4413 ath11k_warn(ar->ab, "No single VHT Fixed rate found to set for %pM",
4418 /* Avoid updating invalid nss as fixed rate*/
4463 ath11k_warn(ar->ab, "No single he fixed rate found to set for %pM",
4468 /* Avoid updating invalid nss as fixed rate */
4473 "setting fixed he rate for peer %pM, device will not switch to any other selected rates",
4485 "failed to update sta %pM fixed rate %d: %d\n",
4512 ath11k_warn(ar->ab, "No single HT Fixed rate found to set for %pM",
4517 /* Avoid updating invalid nss as fixed rate*/
4580 /* If single VHT/HE rate is configured (by set_bitrate_mask()),
4800 * But, Single rate in VHT mask can be set as per-peer
4801 * fixed rate. But even if any HT rates are configured in
4803 * when per-peer Fixed rate is set.
4817 /* If the peer is non-VHT/HE or no fixed VHT/HE rate
4820 * the peer fixed rate settings as it has higher proprity
4829 "failed to disable peer fixed rate for sta %pM: %d\n",
7568 /* Reconfigure hardware rate code since it is cleared by firmware.
7576 ath11k_warn(ar->ab, "failed to set mgmt tx rate %d\n", ret);
7985 u32 *rate, u8 *nss)
8009 *rate = ATH11K_HW_RATE_CODE(hw_rate, 0, preamble);
8102 u32 rate, u8 nss, u8 sgi, u8 ldpc,
8112 "set rate params vdev %i rate 0x%02x nss 0x%02x sgi 0x%02x ldpc 0x%02x he_gi 0x%02x he_ltf 0x%02x he_fixed_rate %d\n",
8113 arvif->vdev_id, rate, nss, sgi, ldpc, he_gi,
8119 vdev_param, rate);
8121 ath11k_warn(ar->ab, "failed to set fixed rate param 0x%02x: %d\n",
8122 rate, ret);
8150 ath11k_warn(ar->ab, "failed to set fixed rate gi ltf: %d\n",
8158 ath11k_warn(ar->ab, "failed to set auto rate gi ltf: %d\n",
8254 "failed to disable peer fixed rate for STA %pM ret %d\n",
8325 u32 rate;
8353 * Fixed rate setting across different preambles(legacy, HT, VHT) is
8356 * But, there could be a single basic rate passed from userspace which
8360 ret = ath11k_mac_get_single_legacy_rate(ar, band, mask, &rate,
8363 ath11k_warn(ar->ab, "failed to get single legacy rate for vdev %i: %d\n",
8372 rate = WMI_FIXED_RATE_NONE;
8381 rate = WMI_FIXED_RATE_NONE;
8385 "could not update fixed rate settings to all peers due to mcs/nss incompatibility\n");
8399 * we could set this VHT rate as peer fixed rate param, which
8400 * will override FIXED rate and FW rate control algorithm.
8401 * If single VHT rate is passed along with HT rates, we select
8402 * the VHT rate as fixed rate for vht peers.
8404 * can be set using RATEMASK CMD which uses FW rate-ctl alg.
8452 ret = ath11k_mac_set_rate_params(arvif, rate, nss, sgi, ldpc, he_gi,
8455 ath11k_warn(ar->ab, "failed to set rate params on vdev %i: %d\n",