Lines Matching refs:msta

61 	struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv;  in mt7915_mcu_set_sta_he_mcs()  local
62 struct mt7915_dev *dev = msta->vif->phy->dev; in mt7915_mcu_set_sta_he_mcs()
63 enum nl80211_band band = msta->vif->phy->mt76->chandef.chan->band; in mt7915_mcu_set_sta_he_mcs()
64 const u16 *mask = msta->vif->bitrate_mask.control[band].he_mcs; in mt7915_mcu_set_sta_he_mcs()
116 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_mcu_set_sta_vht_mcs() local
117 struct mt7915_dev *dev = msta->vif->phy->dev; in mt7915_mcu_set_sta_vht_mcs()
718 struct mt7915_sta *msta = (struct mt7915_sta *)params->sta->drv_priv; in mt7915_mcu_add_tx_ba() local
719 struct mt7915_vif *mvif = msta->vif; in mt7915_mcu_add_tx_ba()
724 msta->wcid.amsdu = false; in mt7915_mcu_add_tx_ba()
737 struct mt7915_sta *msta = (struct mt7915_sta *)params->sta->drv_priv; in mt7915_mcu_add_rx_ba() local
738 struct mt7915_vif *mvif = msta->vif; in mt7915_mcu_add_rx_ba()
982 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_mcu_sta_amsdu_tlv() local
997 msta->wcid.amsdu = true; in mt7915_mcu_sta_amsdu_tlv()
1022 struct mt7915_sta *msta; in mt7915_mcu_sta_wtbl_tlv() local
1027 msta = sta ? (struct mt7915_sta *)sta->drv_priv : &mvif->sta; in mt7915_mcu_sta_wtbl_tlv()
1028 wcid = sta ? &msta->wcid : NULL; in mt7915_mcu_sta_wtbl_tlv()
1031 wtbl_hdr = mt76_connac_mcu_alloc_wtbl_req(&dev->mt76, &msta->wcid, in mt7915_mcu_sta_wtbl_tlv()
1344 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_mcu_set_fixed_rate_ctrl() local
1351 &msta->wcid); in mt7915_mcu_set_fixed_rate_ctrl()
1387 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_mcu_add_smps() local
1394 &msta->wcid); in mt7915_mcu_add_smps()
1400 wtbl_hdr = mt76_connac_mcu_alloc_wtbl_req(&dev->mt76, &msta->wcid, in mt7915_mcu_add_smps()
1488 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_mcu_add_rate_ctrl_fixed() local
1495 addr = mt7915_mac_wtbl_lmac_addr(dev, msta->wcid.idx, 7); in mt7915_mcu_add_rate_ctrl_fixed()
1625 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_mcu_add_rate_ctrl() local
1630 &msta->wcid); in mt7915_mcu_add_rate_ctrl()
1664 struct mt7915_sta *msta; in mt7915_mcu_add_group() local
1678 msta = sta ? (struct mt7915_sta *)sta->drv_priv : &mvif->sta; in mt7915_mcu_add_group()
1679 req.wlan_idx_lo = to_wcid_lo(msta->wcid.idx); in mt7915_mcu_add_group()
1680 req.wlan_idx_hi = to_wcid_hi(msta->wcid.idx); in mt7915_mcu_add_group()
1691 struct mt7915_sta *msta; in mt7915_mcu_add_sta() local
1695 msta = sta ? (struct mt7915_sta *)sta->drv_priv : &mvif->sta; in mt7915_mcu_add_sta()
1699 &msta->wcid); in mt7915_mcu_add_sta()
3313 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_mcu_set_txpower_frame() local
3327 .wcid = cpu_to_le16(msta->wcid.idx), in mt7915_mcu_set_txpower_frame()
3747 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_mcu_get_rx_rate() local
3757 .wcid = cpu_to_le16(msta->wcid.idx), in mt7915_mcu_get_rx_rate()