Lines Matching refs:msta

477 	struct mt792x_sta *msta = sta ? (struct mt792x_sta *)sta->drv_priv :  in mt7921_set_key()  local
479 struct mt76_wcid *wcid = &msta->wcid; in mt7921_set_key()
526 err = mt76_connac_mcu_add_key(&dev->mt76, vif, &msta->bip, in mt7921_set_key()
528 &msta->wcid, cmd); in mt7921_set_key()
711 struct mt792x_sta *msta = (struct mt792x_sta *)sta->drv_priv; in mt7921_mac_sta_add() local
719 INIT_LIST_HEAD(&msta->wcid.poll_list); in mt7921_mac_sta_add()
720 msta->vif = mvif; in mt7921_mac_sta_add()
721 msta->wcid.sta = 1; in mt7921_mac_sta_add()
722 msta->wcid.idx = idx; in mt7921_mac_sta_add()
723 msta->wcid.phy_idx = mvif->mt76.band_idx; in mt7921_mac_sta_add()
724 msta->wcid.tx_info |= MT_WCID_TX_INFO_SET; in mt7921_mac_sta_add()
725 msta->last_txs = jiffies; in mt7921_mac_sta_add()
732 mvif->wep_sta = msta; in mt7921_mac_sta_add()
752 struct mt792x_sta *msta = (struct mt792x_sta *)sta->drv_priv; in mt7921_mac_sta_assoc() local
761 ewma_avg_signal_init(&msta->avg_ack_signal); in mt7921_mac_sta_assoc()
763 mt7921_mac_wtbl_update(dev, msta->wcid.idx, in mt7921_mac_sta_assoc()
765 memset(msta->airtime_ac, 0, sizeof(msta->airtime_ac)); in mt7921_mac_sta_assoc()
777 struct mt792x_sta *msta = (struct mt792x_sta *)sta->drv_priv; in mt7921_mac_sta_remove() local
779 mt76_connac_free_pending_tx_skbs(&dev->pm, &msta->wcid); in mt7921_mac_sta_remove()
783 mt7921_mac_wtbl_update(dev, msta->wcid.idx, in mt7921_mac_sta_remove()
798 if (!list_empty(&msta->wcid.poll_list)) in mt7921_mac_sta_remove()
799 list_del_init(&msta->wcid.poll_list); in mt7921_mac_sta_remove()
825 struct mt792x_sta *msta = (struct mt792x_sta *)sta->drv_priv; in mt7921_ampdu_action() local
839 mt76_rx_aggr_start(&dev->mt76, &msta->wcid, tid, ssn, in mt7921_ampdu_action()
844 mt76_rx_aggr_stop(&dev->mt76, &msta->wcid, tid); in mt7921_ampdu_action()
855 clear_bit(tid, &msta->wcid.ampdu_state); in mt7921_ampdu_action()
859 set_bit(tid, &msta->wcid.ampdu_state); in mt7921_ampdu_action()
864 clear_bit(tid, &msta->wcid.ampdu_state); in mt7921_ampdu_action()
1076 struct mt792x_sta *msta = (struct mt792x_sta *)sta->drv_priv; in mt7921_sta_set_decap_offload() local
1082 set_bit(MT_WCID_FLAG_HDR_TRANS, &msta->wcid.flags); in mt7921_sta_set_decap_offload()
1084 clear_bit(MT_WCID_FLAG_HDR_TRANS, &msta->wcid.flags); in mt7921_sta_set_decap_offload()
1086 mt76_connac_mcu_sta_update_hdr_trans(&dev->mt76, vif, &msta->wcid, in mt7921_sta_set_decap_offload()