Lines Matching full:nss
183 u8 phy, rate_idx, nss, bw = 0; in mt76x02_mac_tx_rate_val() local
188 nss = 1 + (rate->idx >> 4); in mt76x02_mac_tx_rate_val()
196 nss = 1 + (rate->idx >> 3); in mt76x02_mac_tx_rate_val()
215 nss = 1; in mt76x02_mac_tx_rate_val()
224 *nss_val = nss; in mt76x02_mac_tx_rate_val()
234 s8 nss; in mt76x02_mac_wcid_set_rate() local
236 rateval = mt76x02_mac_tx_rate_val(dev, rate, &nss); in mt76x02_mac_wcid_set_rate()
238 FIELD_PREP(MT_WCID_TX_INFO_NSS, nss) | in mt76x02_mac_wcid_set_rate()
346 u8 nss; in mt76x02_mac_write_txwi() local
386 nss = FIELD_GET(MT_WCID_TX_INFO_NSS, wcid_tx_info); in mt76x02_mac_write_txwi()
388 rateval = mt76x02_mac_tx_rate_val(dev, rate, &nss); in mt76x02_mac_write_txwi()
405 if ((info->flags & IEEE80211_TX_CTL_STBC) && nss == 1) in mt76x02_mac_write_txwi()
407 if (nss > 1 && sta && sta->deflink.smps_mode == IEEE80211_SMPS_DYNAMIC) in mt76x02_mac_write_txwi()
442 u8 mcs, nss; in mt76x02_tx_rate_fallback() local
452 nss = ieee80211_rate_get_vht_nss(rates); in mt76x02_tx_rate_fallback()
455 nss = max_t(int, nss - 1, 1); in mt76x02_tx_rate_fallback()
459 ieee80211_rate_set_vht(rates + 1, mcs, nss); in mt76x02_tx_rate_fallback()
696 status->nss = min_t(u8, n_rxstream, in mt76x02_mac_process_rate()