Lines Matching refs:msta
332 struct mt7603_sta *msta = (struct mt7603_sta *)sta->drv_priv; in mt7603_wtbl_update_cap() local
333 int idx = msta->wcid.idx; in mt7603_wtbl_update_cap()
415 struct mt7603_sta *msta; in mt7603_mac_sta_poll() local
432 msta = list_first_entry(&dev->mt76.sta_poll_list, in mt7603_mac_sta_poll()
434 list_del_init(&msta->wcid.poll_list); in mt7603_mac_sta_poll()
437 addr = mt7603_wtbl4_addr(msta->wcid.idx); in mt7603_mac_sta_poll()
439 u32 airtime_last = msta->tx_airtime_ac[i]; in mt7603_mac_sta_poll()
441 msta->tx_airtime_ac[i] = mt76_rr(dev, addr + i * 8); in mt7603_mac_sta_poll()
442 airtime[i] = msta->tx_airtime_ac[i] - airtime_last; in mt7603_mac_sta_poll()
446 if (msta->tx_airtime_ac[i] & BIT(22)) in mt7603_mac_sta_poll()
451 mt7603_wtbl_update(dev, msta->wcid.idx, in mt7603_mac_sta_poll()
453 memset(msta->tx_airtime_ac, 0, in mt7603_mac_sta_poll()
454 sizeof(msta->tx_airtime_ac)); in mt7603_mac_sta_poll()
457 if (!msta->wcid.sta) in mt7603_mac_sta_poll()
460 sta = container_of((void *)msta, struct ieee80211_sta, drv_priv); in mt7603_mac_sta_poll()
948 struct mt7603_sta *msta = (struct mt7603_sta *)sta->drv_priv; in mt7603_mac_write_txwi() local
950 tx_count = msta->rate_count; in mt7603_mac_write_txwi()
1053 struct mt7603_sta *msta = container_of(wcid, struct mt7603_sta, wcid); in mt7603_tx_prepare_skb() local
1062 msta = (struct mt7603_sta *)sta->drv_priv; in mt7603_tx_prepare_skb()
1067 mt7603_wtbl_set_ps(dev, msta, false); in mt7603_tx_prepare_skb()
1076 mt7603_wtbl_set_rates(dev, msta, &info->control.rates[0], in mt7603_tx_prepare_skb()
1077 msta->rates); in mt7603_tx_prepare_skb()
1078 msta->rate_probe = true; in mt7603_tx_prepare_skb()
1257 struct mt7603_sta *msta = NULL; in mt7603_mac_add_txs() local
1278 msta = container_of(wcid, struct mt7603_sta, wcid); in mt7603_mac_add_txs()
1280 mt76_wcid_add_poll(&dev->mt76, &msta->wcid); in mt7603_mac_add_txs()
1282 if (mt7603_mac_add_txs_skb(dev, msta, pid, txs_data)) in mt7603_mac_add_txs()
1288 if (mt7603_fill_txs(dev, msta, &info, txs_data)) { in mt7603_mac_add_txs()