Lines Matching refs:msta

253 	struct mt7615_sta *msta = (struct mt7615_sta *)status->wcid;  in mt7615_reverse_frag0_hdr_trans()  local
267 if (!msta || !msta->vif) in mt7615_reverse_frag0_hdr_trans()
270 sta = container_of((void *)msta, struct ieee80211_sta, drv_priv); in mt7615_reverse_frag0_hdr_trans()
271 vif = container_of((void *)msta->vif, struct ieee80211_vif, drv_priv); in mt7615_reverse_frag0_hdr_trans()
384 struct mt7615_sta *msta; in mt7615_mac_fill_rx() local
386 msta = container_of(status->wcid, struct mt7615_sta, wcid); in mt7615_mac_fill_rx()
387 mt76_wcid_add_poll(&dev->mt76, &msta->wcid); in mt7615_mac_fill_rx()
737 struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv; in mt7615_mac_write_txwi() local
739 tx_count = msta->rate_count; in mt7615_mac_write_txwi()
896 struct mt7615_sta *msta; in mt7615_mac_sta_poll() local
909 msta = list_first_entry(&sta_poll_list, struct mt7615_sta, in mt7615_mac_sta_poll()
913 list_del_init(&msta->wcid.poll_list); in mt7615_mac_sta_poll()
916 addr = mt7615_mac_wtbl_addr(dev, msta->wcid.idx) + 19 * 4; in mt7615_mac_sta_poll()
919 u32 tx_last = msta->airtime_ac[i]; in mt7615_mac_sta_poll()
920 u32 rx_last = msta->airtime_ac[i + 4]; in mt7615_mac_sta_poll()
922 msta->airtime_ac[i] = mt76_rr(dev, addr); in mt7615_mac_sta_poll()
923 msta->airtime_ac[i + 4] = mt76_rr(dev, addr + 4); in mt7615_mac_sta_poll()
924 tx_time[i] = msta->airtime_ac[i] - tx_last; in mt7615_mac_sta_poll()
925 rx_time[i] = msta->airtime_ac[i + 4] - rx_last; in mt7615_mac_sta_poll()
932 mt7615_mac_wtbl_update(dev, msta->wcid.idx, in mt7615_mac_sta_poll()
934 memset(msta->airtime_ac, 0, sizeof(msta->airtime_ac)); in mt7615_mac_sta_poll()
937 if (!msta->wcid.sta) in mt7615_mac_sta_poll()
940 sta = container_of((void *)msta, struct ieee80211_sta, in mt7615_mac_sta_poll()
1486 struct mt7615_sta *msta = NULL; in mt7615_mac_add_txs() local
1508 msta = container_of(wcid, struct mt7615_sta, wcid); in mt7615_mac_add_txs()
1510 mt76_wcid_add_poll(&dev->mt76, &msta->wcid); in mt7615_mac_add_txs()
1512 if (mt7615_mac_add_txs_skb(dev, msta, pid, txs_data)) in mt7615_mac_add_txs()
1521 if (mt7615_fill_txs(dev, msta, &info, txs_data)) { in mt7615_mac_add_txs()