Lines Matching refs:msta
54 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_mcu_set_sta_he_mcs() local
55 struct mt7915_dev *dev = msta->vif->phy->dev; in mt7915_mcu_set_sta_he_mcs()
56 enum nl80211_band band = msta->vif->phy->mt76->chandef.chan->band; in mt7915_mcu_set_sta_he_mcs()
57 const u16 *mask = msta->vif->bitrate_mask.control[band].he_mcs; in mt7915_mcu_set_sta_he_mcs()
109 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_mcu_set_sta_vht_mcs() local
110 struct mt7915_dev *dev = msta->vif->phy->dev; in mt7915_mcu_set_sta_vht_mcs()
662 struct mt7915_sta *msta = (struct mt7915_sta *)params->sta->drv_priv; in mt7915_mcu_add_tx_ba() local
663 struct mt7915_vif *mvif = msta->vif; in mt7915_mcu_add_tx_ba()
666 msta->wcid.amsdu = false; in mt7915_mcu_add_tx_ba()
677 struct mt7915_sta *msta = (struct mt7915_sta *)params->sta->drv_priv; in mt7915_mcu_add_rx_ba() local
678 struct mt7915_vif *mvif = msta->vif; in mt7915_mcu_add_rx_ba()
920 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_mcu_sta_amsdu_tlv() local
935 msta->wcid.amsdu = true; in mt7915_mcu_sta_amsdu_tlv()
960 struct mt7915_sta *msta; in mt7915_mcu_sta_wtbl_tlv() local
965 msta = sta ? (struct mt7915_sta *)sta->drv_priv : &mvif->sta; in mt7915_mcu_sta_wtbl_tlv()
966 wcid = sta ? &msta->wcid : NULL; in mt7915_mcu_sta_wtbl_tlv()
969 wtbl_hdr = mt76_connac_mcu_alloc_wtbl_req(&dev->mt76, &msta->wcid, in mt7915_mcu_sta_wtbl_tlv()
1282 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_mcu_set_fixed_rate_ctrl() local
1289 &msta->wcid); in mt7915_mcu_set_fixed_rate_ctrl()
1322 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_mcu_add_smps() local
1329 &msta->wcid); in mt7915_mcu_add_smps()
1335 wtbl_hdr = mt76_connac_mcu_alloc_wtbl_req(&dev->mt76, &msta->wcid, in mt7915_mcu_add_smps()
1411 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_mcu_add_rate_ctrl_fixed() local
1418 addr = mt7915_mac_wtbl_lmac_addr(dev, msta->wcid.idx, 7); in mt7915_mcu_add_rate_ctrl_fixed()
1548 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_mcu_add_rate_ctrl() local
1553 &msta->wcid); in mt7915_mcu_add_rate_ctrl()
1587 struct mt7915_sta *msta; in mt7915_mcu_add_group() local
1601 msta = sta ? (struct mt7915_sta *)sta->drv_priv : &mvif->sta; in mt7915_mcu_add_group()
1602 req.wlan_idx_lo = to_wcid_lo(msta->wcid.idx); in mt7915_mcu_add_group()
1603 req.wlan_idx_hi = to_wcid_hi(msta->wcid.idx); in mt7915_mcu_add_group()
1613 struct mt7915_sta *msta; in mt7915_mcu_add_sta() local
1617 msta = sta ? (struct mt7915_sta *)sta->drv_priv : &mvif->sta; in mt7915_mcu_add_sta()
1620 &msta->wcid); in mt7915_mcu_add_sta()
1626 !rcu_access_pointer(dev->mt76.wcid[msta->wcid.idx])); in mt7915_mcu_add_sta()
3268 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_mcu_get_rx_rate() local
3278 .wcid = cpu_to_le16(msta->wcid.idx), in mt7915_mcu_get_rx_rate()