Lines Matching refs:msta

256 	struct mt7615_sta *msta = (struct mt7615_sta *)status->wcid;  in mt7615_reverse_frag0_hdr_trans()  local
270 if (!msta || !msta->vif) in mt7615_reverse_frag0_hdr_trans()
273 sta = container_of((void *)msta, struct ieee80211_sta, drv_priv); in mt7615_reverse_frag0_hdr_trans()
274 vif = container_of((void *)msta->vif, struct ieee80211_vif, drv_priv); in mt7615_reverse_frag0_hdr_trans()
387 struct mt7615_sta *msta; in mt7615_mac_fill_rx() local
389 msta = container_of(status->wcid, struct mt7615_sta, wcid); in mt7615_mac_fill_rx()
391 if (list_empty(&msta->poll_list)) in mt7615_mac_fill_rx()
392 list_add_tail(&msta->poll_list, &dev->sta_poll_list); in mt7615_mac_fill_rx()
748 struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv; in mt7615_mac_write_txwi() local
750 tx_count = msta->rate_count; in mt7615_mac_write_txwi()
907 struct mt7615_sta *msta; in mt7615_mac_sta_poll() local
920 msta = list_first_entry(&sta_poll_list, struct mt7615_sta, in mt7615_mac_sta_poll()
922 list_del_init(&msta->poll_list); in mt7615_mac_sta_poll()
924 addr = mt7615_mac_wtbl_addr(dev, msta->wcid.idx) + 19 * 4; in mt7615_mac_sta_poll()
927 u32 tx_last = msta->airtime_ac[i]; in mt7615_mac_sta_poll()
928 u32 rx_last = msta->airtime_ac[i + 4]; in mt7615_mac_sta_poll()
930 msta->airtime_ac[i] = mt76_rr(dev, addr); in mt7615_mac_sta_poll()
931 msta->airtime_ac[i + 4] = mt76_rr(dev, addr + 4); in mt7615_mac_sta_poll()
932 tx_time[i] = msta->airtime_ac[i] - tx_last; in mt7615_mac_sta_poll()
933 rx_time[i] = msta->airtime_ac[i + 4] - rx_last; in mt7615_mac_sta_poll()
940 mt7615_mac_wtbl_update(dev, msta->wcid.idx, in mt7615_mac_sta_poll()
942 memset(msta->airtime_ac, 0, sizeof(msta->airtime_ac)); in mt7615_mac_sta_poll()
945 if (!msta->wcid.sta) in mt7615_mac_sta_poll()
948 sta = container_of((void *)msta, struct ieee80211_sta, in mt7615_mac_sta_poll()
1522 struct mt7615_sta *msta = NULL; in mt7615_mac_add_txs() local
1544 msta = container_of(wcid, struct mt7615_sta, wcid); in mt7615_mac_add_txs()
1548 if (list_empty(&msta->poll_list)) in mt7615_mac_add_txs()
1549 list_add_tail(&msta->poll_list, &dev->sta_poll_list); in mt7615_mac_add_txs()
1552 if (mt7615_mac_add_txs_skb(dev, msta, pid, txs_data)) in mt7615_mac_add_txs()
1561 if (mt7615_fill_txs(dev, msta, &info, txs_data)) in mt7615_mac_add_txs()