Home
last modified time | relevance | path

Searched refs:msta (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/drivers/net/wireless/mediatek/mt76/
Dmt76x2_common.c50 struct mt76x2_sta *msta = (struct mt76x2_sta *) sta->drv_priv; in mt76x2_ampdu_action() local
63 mt76_rx_aggr_start(&dev->mt76, &msta->wcid, tid, *ssn, params->buf_size); in mt76x2_ampdu_action()
64 mt76_set(dev, MT_WCID_ADDR(msta->wcid.idx) + 4, BIT(16 + tid)); in mt76x2_ampdu_action()
67 mt76_rx_aggr_stop(&dev->mt76, &msta->wcid, tid); in mt76x2_ampdu_action()
68 mt76_clear(dev, MT_WCID_ADDR(msta->wcid.idx) + 4, in mt76x2_ampdu_action()
99 struct mt76x2_sta *msta = (struct mt76x2_sta *) sta->drv_priv; in mt76x2_sta_add() local
113 msta->vif = mvif; in mt76x2_sta_add()
114 msta->wcid.sta = 1; in mt76x2_sta_add()
115 msta->wcid.idx = idx; in mt76x2_sta_add()
116 msta->wcid.hw_key_idx = -1; in mt76x2_sta_add()
[all …]
Dmt76x2_mac_common.c186 struct mt76x2_sta *msta = NULL; in mt76x2_send_tx_status() local
195 priv = msta = container_of(wcid, struct mt76x2_sta, wcid); in mt76x2_send_tx_status()
200 if (msta && stat->aggr) { in mt76x2_send_tx_status()
205 stat_cache = msta->status.rate; in mt76x2_send_tx_status()
206 stat_cache |= ((u32) msta->status.retry) << 16; in mt76x2_send_tx_status()
209 stat->wcid == msta->status.wcid && msta->n_frames < 32) { in mt76x2_send_tx_status()
210 msta->n_frames++; in mt76x2_send_tx_status()
214 mt76x2_mac_fill_tx_status(dev, &info, &msta->status, in mt76x2_send_tx_status()
215 msta->n_frames); in mt76x2_send_tx_status()
217 msta->status = *stat; in mt76x2_send_tx_status()
[all …]
Dmt76x2_tx_common.c30 struct mt76x2_sta *msta; in mt76x2_tx() local
32 msta = (struct mt76x2_sta *)control->sta->drv_priv; in mt76x2_tx()
33 wcid = &msta->wcid; in mt76x2_tx()
Dmt76x2_main.c204 struct mt76x2_sta *msta = (struct mt76x2_sta *) sta->drv_priv; in mt76x2_sta_ps() local
206 int idx = msta->wcid.idx; in mt76x2_sta_ps()
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/mt76x0/
Dmain.c202 struct mt76_sta *msta = (struct mt76_sta *) sta->drv_priv; in mt76x0_sta_add() local
215 msta->wcid.idx = idx; in mt76x0_sta_add()
216 msta->wcid.hw_key_idx = -1; in mt76x0_sta_add()
219 rcu_assign_pointer(dev->wcid[idx], &msta->wcid); in mt76x0_sta_add()
233 struct mt76_sta *msta = (struct mt76_sta *) sta->drv_priv; in mt76x0_sta_remove() local
234 int idx = msta->wcid.idx; in mt76x0_sta_remove()
285 struct mt76_sta *msta = sta ? (struct mt76_sta *) sta->drv_priv : NULL; in mt76x0_set_key() local
286 struct mt76_wcid *wcid = msta ? &msta->wcid : &mvif->group_wcid; in mt76x0_set_key()
300 if (!msta) { in mt76x0_set_key()
310 return mt76x0_mac_wcid_set_key(dev, msta->wcid.idx, key); in mt76x0_set_key()
[all …]
Dmac.c206 struct mt76_sta *msta = NULL; in mt76x0_send_tx_status() local
214 priv = msta = container_of(wcid, struct mt76_sta, wcid); in mt76x0_send_tx_status()
218 if (msta && stat->aggr) { in mt76x0_send_tx_status()
223 stat_cache = msta->status.rate; in mt76x0_send_tx_status()
224 stat_cache |= ((u32) msta->status.retry) << 16; in mt76x0_send_tx_status()
227 stat->wcid == msta->status.wcid && msta->n_frames < 32) { in mt76x0_send_tx_status()
228 msta->n_frames++; in mt76x0_send_tx_status()
232 mt76_mac_fill_tx_status(dev, &info, &msta->status, in mt76x0_send_tx_status()
233 msta->n_frames); in mt76x0_send_tx_status()
234 msta->status = *stat; in mt76x0_send_tx_status()
[all …]
Dtx.c152 struct mt76_sta *msta = NULL; in mt76x0_tx() local
167 msta = (struct mt76_sta *) sta->drv_priv; in mt76x0_tx()
168 wcid = &msta->wcid; in mt76x0_tx()
180 trace_mt76x0_tx(&dev->mt76, skb, msta, txwi); in mt76x0_tx()
/Linux-v4.19/drivers/net/wireless/mediatek/mt7601u/
Dmain.c221 struct mt76_sta *msta = (struct mt76_sta *) sta->drv_priv; in mt7601u_sta_add() local
234 msta->wcid.idx = idx; in mt7601u_sta_add()
235 msta->wcid.hw_key_idx = -1; in mt7601u_sta_add()
238 rcu_assign_pointer(dev->wcid[idx], &msta->wcid); in mt7601u_sta_add()
252 struct mt76_sta *msta = (struct mt76_sta *) sta->drv_priv; in mt7601u_sta_remove() local
253 int idx = msta->wcid.idx; in mt7601u_sta_remove()
306 struct mt76_sta *msta = sta ? (struct mt76_sta *) sta->drv_priv : NULL; in mt7601u_set_key() local
307 struct mt76_wcid *wcid = msta ? &msta->wcid : &mvif->group_wcid; in mt7601u_set_key()
332 if (!msta) { in mt7601u_set_key()
342 return mt76_mac_wcid_set_key(dev, msta->wcid.idx, key); in mt7601u_set_key()
[all …]
Dtx.c205 struct mt76_sta *msta = NULL; in mt7601u_tx() local
220 msta = (struct mt76_sta *) sta->drv_priv; in mt7601u_tx()
221 wcid = &msta->wcid; in mt7601u_tx()
233 trace_mt_tx(dev, skb, msta, txwi); in mt7601u_tx()
Dmac.c187 void *msta; in mt76_send_tx_status() local
194 msta = container_of(wcid, struct mt76_sta, wcid); in mt76_send_tx_status()
195 sta = container_of(msta, struct ieee80211_sta, in mt76_send_tx_status()
383 void *msta; in mt7601u_mac_set_ampdu_factor() local
393 msta = container_of(wcid, struct mt76_sta, wcid); in mt7601u_mac_set_ampdu_factor()
394 sta = container_of(msta, struct ieee80211_sta, drv_priv); in mt7601u_mac_set_ampdu_factor()
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.c2039 struct iwl_mvm_int_sta *msta = &mvmvif->mcast_sta; in iwl_mvm_add_mcast_sta() local
2044 .sta_id = msta->sta_id, in iwl_mvm_add_mcast_sta()
2077 msta->tfd_queue_msk |= BIT(vif->cab_queue); in iwl_mvm_add_mcast_sta()
2079 ret = iwl_mvm_add_int_sta_common(mvm, msta, maddr, in iwl_mvm_add_mcast_sta()
2082 iwl_mvm_dealloc_int_sta(mvm, msta); in iwl_mvm_add_mcast_sta()
2095 msta->sta_id, in iwl_mvm_add_mcast_sta()
/Linux-v4.19/arch/s390/tools/
Dopcodes.txt241 b247 msta RRE_R0