Lines Matching refs:sta

144 		/* next, try to find a free repeater entry for the sta */
225 INIT_LIST_HEAD(&mvif->sta.wcid.poll_list);
226 mvif->sta.wcid.idx = idx;
227 mvif->sta.wcid.phy_idx = mvif->mt76.band_idx;
228 mvif->sta.wcid.hw_key_idx = -1;
229 mt76_wcid_init(&mvif->sta.wcid);
234 rcu_assign_pointer(dev->mt76.wcid[idx], &mvif->sta.wcid);
251 struct mt7615_sta *msta = &mvif->sta;
282 mt76_wcid_cleanup(&dev->mt76, &mvif->sta.wcid);
344 struct ieee80211_vif *vif, struct ieee80211_sta *sta,
350 struct mt7615_sta *msta = sta ? (struct mt7615_sta *)sta->drv_priv :
351 &mvif->sta;
387 if (cmd == SET_KEY && !sta && !mvif->mt76.cipher) {
648 struct ieee80211_sta *sta)
651 struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv;
662 msta->wcid.sta = 1;
671 if (vif->type == NL80211_IFTYPE_STATION && !sta->tdls) {
672 err = mt7615_mcu_add_bss_info(phy, vif, sta, true);
679 err = mt7615_mcu_sta_add(&dev->phy, vif, sta, true);
690 struct ieee80211_sta *sta)
693 struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv;
702 mt7615_mcu_sta_add(&dev->phy, vif, sta, false);
705 if (vif->type == NL80211_IFTYPE_STATION && !sta->tdls)
706 mt7615_mcu_add_bss_info(phy, vif, sta, false);
719 struct ieee80211_sta *sta)
723 struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv;
724 struct ieee80211_sta_rates *sta_rates = rcu_dereference(sta->rates);
773 if (control->sta) {
774 msta = (struct mt7615_sta *)control->sta->drv_priv;
778 if (vif && !control->sta) {
782 msta = &mvif->sta;
787 mt76_tx(mphy, control->sta, wcid, skb);
820 struct ieee80211_sta *sta = params->sta;
821 struct ieee80211_txq *txq = sta->txq[params->tid];
822 struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv;
850 ieee80211_send_bar(vif, sta->addr, tid,
866 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
876 struct ieee80211_sta *sta)
878 return mt76_sta_state(hw, vif, sta, IEEE80211_STA_NOTEXIST,
884 struct ieee80211_sta *sta)
886 return mt76_sta_state(hw, vif, sta, IEEE80211_STA_NONE,
1223 struct ieee80211_sta *sta,
1227 struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv;
1236 mt7615_mcu_set_sta_decap_offload(dev, vif, sta);