Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt7603/
Dmain.c318 struct mt7603_sta *msta = (struct mt7603_sta *)sta->drv_priv; in mt7603_sta_add() local
327 __skb_queue_head_init(&msta->psq); in mt7603_sta_add()
328 msta->ps = ~0; in mt7603_sta_add()
329 msta->smps = ~0; in mt7603_sta_add()
330 msta->wcid.sta = 1; in mt7603_sta_add()
331 msta->wcid.idx = idx; in mt7603_sta_add()
333 mt7603_wtbl_set_ps(dev, msta, false); in mt7603_sta_add()
336 set_bit(MT_WCID_FLAG_CHECK_PS, &msta->wcid.flags); in mt7603_sta_add()
355 struct mt7603_sta *msta = (struct mt7603_sta *)sta->drv_priv; in mt7603_sta_remove() local
359 __skb_queue_purge(&msta->psq); in mt7603_sta_remove()
[all …]
Ddma.c36 struct mt7603_sta *msta; in mt7603_rx_loopback_skb() local
57 priv = msta = container_of(wcid, struct mt7603_sta, wcid); in mt7603_rx_loopback_skb()
71 __skb_queue_tail(&msta->psq, skb); in mt7603_rx_loopback_skb()
72 if (skb_queue_len(&msta->psq) >= 64) { in mt7603_rx_loopback_skb()
73 skb = __skb_dequeue(&msta->psq); in mt7603_rx_loopback_skb()
Dmac.c306 struct mt7603_sta *msta = (struct mt7603_sta *)sta->drv_priv; in mt7603_wtbl_update_cap() local
307 int idx = msta->wcid.idx; in mt7603_wtbl_update_cap()
808 struct mt7603_sta *msta = (struct mt7603_sta *)sta->drv_priv; in mt7603_mac_write_txwi() local
810 tx_count = msta->rate_count; in mt7603_mac_write_txwi()
913 struct mt7603_sta *msta = container_of(wcid, struct mt7603_sta, wcid); in mt7603_tx_prepare_skb() local
922 msta = (struct mt7603_sta *)sta->drv_priv; in mt7603_tx_prepare_skb()
927 mt7603_wtbl_set_ps(dev, msta, false); in mt7603_tx_prepare_skb()
934 mt7603_wtbl_set_rates(dev, msta, &info->control.rates[0], in mt7603_tx_prepare_skb()
935 msta->rates); in mt7603_tx_prepare_skb()
936 msta->rate_probe = true; in mt7603_tx_prepare_skb()
[all …]
/Linux-v5.4/drivers/net/wireless/mediatek/mt7601u/
Dmain.c213 struct mt76_sta *msta = (struct mt76_sta *) sta->drv_priv; in mt7601u_sta_add() local
226 msta->wcid.idx = idx; in mt7601u_sta_add()
227 msta->wcid.hw_key_idx = -1; in mt7601u_sta_add()
230 rcu_assign_pointer(dev->wcid[idx], &msta->wcid); in mt7601u_sta_add()
244 struct mt76_sta *msta = (struct mt76_sta *) sta->drv_priv; in mt7601u_sta_remove() local
245 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()
324 if (!msta) { in mt7601u_set_key()
334 return mt76_mac_wcid_set_key(dev, msta->wcid.idx, key); in mt7601u_set_key()
[all …]
Dtx.c197 struct mt76_sta *msta = NULL; in mt7601u_tx() local
212 msta = (struct mt76_sta *) sta->drv_priv; in mt7601u_tx()
213 wcid = &msta->wcid; in mt7601u_tx()
225 trace_mt_tx(dev, skb, msta, txwi); in mt7601u_tx()
Dmac.c179 void *msta; in mt76_send_tx_status() local
186 msta = container_of(wcid, struct mt76_sta, wcid); in mt76_send_tx_status()
187 sta = container_of(msta, struct ieee80211_sta, in mt76_send_tx_status()
375 void *msta; in mt7601u_mac_set_ampdu_factor() local
385 msta = container_of(wcid, struct mt76_sta, wcid); in mt7601u_mac_set_ampdu_factor()
386 sta = container_of(msta, struct ieee80211_sta, drv_priv); in mt7601u_mac_set_ampdu_factor()
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt7615/
Dmain.c173 struct mt7615_sta *msta = sta ? (struct mt7615_sta *)sta->drv_priv : in mt7615_set_key() local
175 struct mt76_wcid *wcid = &msta->wcid; in mt7615_set_key()
343 struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv; in mt7615_sta_add() local
351 msta->vif = mvif; in mt7615_sta_add()
352 msta->wcid.sta = 1; in mt7615_sta_add()
353 msta->wcid.idx = idx; in mt7615_sta_add()
384 struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv; in mt7615_sta_rate_tbl_update() local
389 for (i = 0; i < ARRAY_SIZE(msta->rates); i++) { in mt7615_sta_rate_tbl_update()
390 msta->rates[i].idx = sta_rates->rate[i].idx; in mt7615_sta_rate_tbl_update()
391 msta->rates[i].count = sta_rates->rate[i].count; in mt7615_sta_rate_tbl_update()
[all …]
Dmcu.c835 struct mt7615_sta *msta; in mt7615_mcu_set_bss_info() local
844 msta = (struct mt7615_sta *)sta->drv_priv; in mt7615_mcu_set_bss_info()
845 tx_wlan_idx = msta->wcid.idx; in mt7615_mcu_set_bss_info()
951 struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv; in mt7615_mcu_add_wtbl() local
958 .wlan_idx = msta->wcid.idx, in mt7615_mcu_add_wtbl()
986 struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv; in mt7615_mcu_del_wtbl() local
988 .wlan_idx = msta->wcid.idx, in mt7615_mcu_del_wtbl()
1046 struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv; in mt7615_mcu_set_sta_rec() local
1054 .wlan_idx = msta->wcid.idx, in mt7615_mcu_set_sta_rec()
1345 struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv; in mt7615_mcu_set_ht_cap() local
[all …]
Dmac.c329 struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv; in mt7615_mac_write_txwi() local
331 tx_count = msta->rate_count; in mt7615_mac_write_txwi()
769 struct mt7615_sta *msta = container_of(wcid, struct mt7615_sta, wcid); in mt7615_tx_prepare_skb() local
785 mt7615_mac_set_rates(dev, msta, &info->control.rates[0], in mt7615_tx_prepare_skb()
786 msta->rates); in mt7615_tx_prepare_skb()
787 msta->rate_probe = true; in mt7615_tx_prepare_skb()
1002 struct mt7615_sta *msta = NULL; in mt7615_mac_add_txs() local
1026 msta = container_of(wcid, struct mt7615_sta, wcid); in mt7615_mac_add_txs()
1029 if (mt7615_mac_add_txs_skb(dev, msta, pid, txs_data)) in mt7615_mac_add_txs()
1035 if (mt7615_fill_txs(dev, msta, &info, txs_data)) in mt7615_mac_add_txs()
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/
Dmt76x02_util.c251 struct mt76x02_sta *msta = (struct mt76x02_sta *)sta->drv_priv; in mt76x02_sta_add() local
255 memset(msta, 0, sizeof(*msta)); in mt76x02_sta_add()
261 msta->vif = mvif; in mt76x02_sta_add()
262 msta->wcid.sta = 1; in mt76x02_sta_add()
263 msta->wcid.idx = idx; in mt76x02_sta_add()
264 msta->wcid.hw_key_idx = -1; in mt76x02_sta_add()
269 set_bit(MT_WCID_FLAG_CHECK_PS, &msta->wcid.flags); in mt76x02_sta_add()
363 struct mt76x02_sta *msta = (struct mt76x02_sta *)sta->drv_priv; in mt76x02_ampdu_action() local
376 mt76_rx_aggr_start(&dev->mt76, &msta->wcid, tid, in mt76x02_ampdu_action()
378 mt76_set(dev, MT_WCID_ADDR(msta->wcid.idx) + 4, BIT(16 + tid)); in mt76x02_ampdu_action()
[all …]
Dmt76x02_mac.c448 mt76x02_mac_fill_tx_status(struct mt76x02_dev *dev, struct mt76x02_sta *msta, in mt76x02_mac_fill_tx_status() argument
471 if (!msta) in mt76x02_mac_fill_tx_status()
474 mt76x02_mac_process_tx_rate(&rate[0], msta->wcid.tx_info, in mt76x02_mac_fill_tx_status()
520 struct mt76x02_sta *msta = NULL; in mt76x02_send_tx_status() local
535 priv = msta = container_of(wcid, struct mt76x02_sta, wcid); in mt76x02_send_tx_status()
556 if (msta && stat->aggr && !status.skb) { in mt76x02_send_tx_status()
561 stat_cache = msta->status.rate; in mt76x02_send_tx_status()
562 stat_cache |= ((u32)msta->status.retry) << 16; in mt76x02_send_tx_status()
565 stat->wcid == msta->status.wcid && msta->n_frames < 32) { in mt76x02_send_tx_status()
566 msta->n_frames++; in mt76x02_send_tx_status()
[all …]
Dmt76x02_txrx.c20 struct mt76x02_sta *msta; in mt76x02_tx() local
22 msta = (struct mt76x02_sta *)control->sta->drv_priv; in mt76x02_tx()
23 wcid = &msta->wcid; in mt76x02_tx()
Dmt76x02_mmio.c413 struct mt76x02_sta *msta; in mt76x02_reset_state() local
422 priv = msta = container_of(wcid, struct mt76x02_sta, wcid); in mt76x02_reset_state()
425 priv = msta->vif; in mt76x02_reset_state()
429 memset(msta, 0, sizeof(*msta)); in mt76x02_reset_state()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.c2290 struct iwl_mvm_int_sta *msta = &mvmvif->mcast_sta; in iwl_mvm_add_mcast_sta() local
2296 .sta_id = msta->sta_id, in iwl_mvm_add_mcast_sta()
2327 msta->tfd_queue_msk |= BIT(mvmvif->cab_queue); in iwl_mvm_add_mcast_sta()
2329 ret = iwl_mvm_add_int_sta_common(mvm, msta, maddr, in iwl_mvm_add_mcast_sta()
2342 int queue = iwl_mvm_tvqm_enable_txq(mvm, msta->sta_id, in iwl_mvm_add_mcast_sta()
2357 iwl_mvm_dealloc_int_sta(mvm, msta); in iwl_mvm_add_mcast_sta()
/Linux-v5.4/arch/s390/tools/
Dopcodes.txt243 b247 msta RRE_R0