Lines Matching refs:msta
475 mt76x02_mac_fill_tx_status(struct mt76x02_dev *dev, struct mt76x02_sta *msta, in mt76x02_mac_fill_tx_status() argument
498 if (!msta) in mt76x02_mac_fill_tx_status()
501 mt76x02_mac_process_tx_rate(&rate[0], msta->wcid.tx_info, in mt76x02_mac_fill_tx_status()
553 struct mt76x02_sta *msta = NULL; in mt76x02_send_tx_status() local
572 priv = msta = container_of(wcid, struct mt76x02_sta, wcid); in mt76x02_send_tx_status()
593 if (msta && stat->aggr && !status.skb) { in mt76x02_send_tx_status()
598 stat_cache = msta->status.rate; in mt76x02_send_tx_status()
599 stat_cache |= ((u32)msta->status.retry) << 16; in mt76x02_send_tx_status()
602 stat->wcid == msta->status.wcid && msta->n_frames < 32) { in mt76x02_send_tx_status()
603 msta->n_frames++; in mt76x02_send_tx_status()
608 cur_pktid = msta->status.pktid; in mt76x02_send_tx_status()
609 mt76x02_mac_fill_tx_status(dev, msta, status.info, in mt76x02_send_tx_status()
610 &msta->status, msta->n_frames); in mt76x02_send_tx_status()
612 msta->status = *stat; in mt76x02_send_tx_status()
613 msta->n_frames = 1; in mt76x02_send_tx_status()
617 mt76x02_mac_fill_tx_status(dev, msta, status.info, stat, 1); in mt76x02_send_tx_status()
626 } else if (msta) { in mt76x02_send_tx_status()
627 len = status.info->status.ampdu_len * ewma_pktlen_read(&msta->pktlen); in mt76x02_send_tx_status()
645 if (msta) in mt76x02_send_tx_status()