Lines Matching refs:msta
219 struct mt76_sta *msta = (struct mt76_sta *) sta->drv_priv; in mt7601u_sta_add() local
232 msta->wcid.idx = idx; in mt7601u_sta_add()
233 msta->wcid.hw_key_idx = -1; in mt7601u_sta_add()
236 rcu_assign_pointer(dev->wcid[idx], &msta->wcid); in mt7601u_sta_add()
250 struct mt76_sta *msta = (struct mt76_sta *) sta->drv_priv; in mt7601u_sta_remove() local
251 int idx = msta->wcid.idx; in mt7601u_sta_remove()
298 struct mt76_sta *msta = sta ? (struct mt76_sta *) sta->drv_priv : NULL; in mt7601u_set_key() local
299 struct mt76_wcid *wcid = msta ? &msta->wcid : &mvif->group_wcid; in mt7601u_set_key()
313 if (!msta) { in mt7601u_set_key()
323 return mt76_mac_wcid_set_key(dev, msta->wcid.idx, key); in mt7601u_set_key()
342 struct mt76_sta *msta = (struct mt76_sta *) sta->drv_priv; in mt76_ampdu_action() local
344 WARN_ON(msta->wcid.idx > GROUP_WCID(0)); in mt76_ampdu_action()
348 mt76_set(dev, MT_WCID_ADDR(msta->wcid.idx) + 4, BIT(16 + tid)); in mt76_ampdu_action()
351 mt76_clear(dev, MT_WCID_ADDR(msta->wcid.idx) + 4, in mt76_ampdu_action()
355 ieee80211_send_bar(vif, sta->addr, tid, msta->agg_ssn[tid]); in mt76_ampdu_action()
361 msta->agg_ssn[tid] = *ssn << 4; in mt76_ampdu_action()
377 struct mt76_sta *msta = (struct mt76_sta *) sta->drv_priv; in mt76_sta_rate_tbl_update() local
389 mt76_mac_wcid_set_rate(dev, &msta->wcid, &rate); in mt76_sta_rate_tbl_update()