Lines Matching defs:rate
285 u16 *rate)
300 *rate = ath11k_legacy_rates[i].bitrate;
427 const struct ieee80211_rate *rate;
431 rate = &sband->bitrates[i];
433 if (ath11k_mac_bitrate_is_cck(rate->bitrate) != cck)
436 if (rate->hw_value == hw_rate)
438 else if (rate->flags & IEEE80211_RATE_SHORT_PREAMBLE &&
439 rate->hw_value_short == hw_rate)
652 * are in BSS) or by default only for second rate series.
960 u8 rate;
980 rate = ath11k_mac_bitrate_to_rate(rates->bitrate);
981 rateset->rates[rateset->num_rates] = rate;
1244 /* In IPQ8074 platform, VHT mcs rate 10 and 11 is enabled by default.
1245 * VHT mcs rate 10 and 11 is not suppoerted in 11ac standard.
1246 * so explicitly disable the VHT MCS rate 10 and 11 in 11ac mode.
1800 int rate;
1813 rate = ATH11K_HW_RATE_CODE(hw_value, 0, preamble);
1815 return rate;
1849 ath11k_warn(ar->ab, "failed to set mgmt tx rate %d\n", ret);
1855 ath11k_warn(ar->ab, "failed to set beacon tx rate %d\n", ret);
1875 u32 rate;
2056 rate = ATH11K_HW_RATE_CODE(hw_value, 0, preamble);
2060 arvif->vdev_id, rate);
2064 vdev_param, rate);
2067 "failed to set mcast rate on vdev %i: %d\n",
2072 vdev_param, rate);
2075 "failed to set bcast rate on vdev %i: %d\n",
2658 ath11k_warn(ar->ab, "No single VHT Fixed rate found to set for %pM",
2719 /* If single VHT rate is configured (by set_bitrate_mask()),
2872 * But, Single rate in VHT mask can be set as per-peer
2873 * fixed rate. But even if any HT rates are configured in
2875 * when per-peer Fixed rate is set.
2883 /* If the peer is non-VHT or no fixed VHT rate
5549 u32 *rate, u8 *nss)
5573 *rate = ATH11K_HW_RATE_CODE(hw_rate, 0, preamble);
5579 u32 rate, u8 nss, u8 sgi, u8 ldpc)
5587 ath11k_dbg(ar->ab, ATH11K_DBG_MAC, "mac set fixed rate params vdev %i rate 0x%02hhx nss %hhu sgi %hhu\n",
5588 arvif->vdev_id, rate, nss, sgi);
5592 vdev_param, rate);
5594 ath11k_warn(ar->ab, "failed to set fixed rate param 0x%02x: %d\n",
5595 rate, ret);
5681 "failed to disable peer fixed rate for STA %pM ret %d\n",
5696 u32 rate;
5718 * Fixed rate setting across different preambles(legacy, HT, VHT) is
5721 * But, there could be a single basic rate passed from userspace which
5725 ret = ath11k_mac_get_single_legacy_rate(ar, band, mask, &rate,
5728 ath11k_warn(ar->ab, "failed to get single legacy rate for vdev %i: %d\n",
5737 rate = WMI_FIXED_RATE_NONE;
5740 rate = WMI_FIXED_RATE_NONE;
5753 * we could set this VHT rate as peer fixed rate param, which
5754 * will override FIXED rate and FW rate control algorithm.
5755 * If single VHT rate is passed along with HT rates, we select
5756 * the VHT rate as fixed rate for vht peers.
5758 * can be set using RATEMASK CMD which uses FW rate-ctl alg.
5794 ret = ath11k_mac_set_fixed_rate_params(arvif, rate, nss, sgi, ldpc);
5796 ath11k_warn(ar->ab, "failed to set fixed rate params on vdev %i: %d\n",