Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/wireless/mediatek/mt76/mt7603/
Dmain.c90 struct mt7603_sta *msta = &mvif->sta; in mt7603_remove_interface() local
92 int idx = msta->wcid.idx; in mt7603_remove_interface()
103 if (!list_empty(&msta->poll_list)) in mt7603_remove_interface()
104 list_del_init(&msta->poll_list); in mt7603_remove_interface()
324 struct mt7603_sta *msta = (struct mt7603_sta *)sta->drv_priv; in mt7603_sta_add() local
333 INIT_LIST_HEAD(&msta->poll_list); in mt7603_sta_add()
334 __skb_queue_head_init(&msta->psq); in mt7603_sta_add()
335 msta->ps = ~0; in mt7603_sta_add()
336 msta->smps = ~0; in mt7603_sta_add()
337 msta->wcid.sta = 1; in mt7603_sta_add()
[all …]
Dmac.c320 struct mt7603_sta *msta = (struct mt7603_sta *)sta->drv_priv; in mt7603_wtbl_update_cap() local
321 int idx = msta->wcid.idx; in mt7603_wtbl_update_cap()
401 struct mt7603_sta *msta; in mt7603_mac_sta_poll() local
418 msta = list_first_entry(&dev->sta_poll_list, struct mt7603_sta, in mt7603_mac_sta_poll()
420 list_del_init(&msta->poll_list); in mt7603_mac_sta_poll()
423 addr = mt7603_wtbl4_addr(msta->wcid.idx); in mt7603_mac_sta_poll()
425 u32 airtime_last = msta->tx_airtime_ac[i]; in mt7603_mac_sta_poll()
427 msta->tx_airtime_ac[i] = mt76_rr(dev, addr + i * 8); in mt7603_mac_sta_poll()
428 airtime[i] = msta->tx_airtime_ac[i] - airtime_last; in mt7603_mac_sta_poll()
432 if (msta->tx_airtime_ac[i] & BIT(22)) in mt7603_mac_sta_poll()
[all …]
Ddma.c44 struct mt7603_sta *msta; in mt7603_rx_loopback_skb() local
65 priv = msta = container_of(wcid, struct mt7603_sta, wcid); in mt7603_rx_loopback_skb()
80 __skb_queue_tail(&msta->psq, skb); in mt7603_rx_loopback_skb()
81 if (skb_queue_len(&msta->psq) >= 64) { in mt7603_rx_loopback_skb()
82 skb = __skb_dequeue(&msta->psq); in mt7603_rx_loopback_skb()
/Linux-v5.10/drivers/net/wireless/mediatek/mt76/mt7915/
Dmain.c184 struct mt7915_sta *msta = &mvif->sta; in mt7915_remove_interface() local
187 int idx = msta->wcid.idx; in mt7915_remove_interface()
201 if (!list_empty(&msta->poll_list)) in mt7915_remove_interface()
202 list_del_init(&msta->poll_list); in mt7915_remove_interface()
266 struct mt7915_sta *msta = sta ? (struct mt7915_sta *)sta->drv_priv : in mt7915_set_key() local
268 struct mt76_wcid *wcid = &msta->wcid; in mt7915_set_key()
308 return mt7915_mcu_add_key(dev, vif, msta, key, cmd); in mt7915_set_key()
487 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_mac_sta_add() local
495 INIT_LIST_HEAD(&msta->rc_list); in mt7915_mac_sta_add()
496 INIT_LIST_HEAD(&msta->stats_list); in mt7915_mac_sta_add()
[all …]
Dmac.c109 struct mt7915_sta *msta; in mt7915_mac_sta_poll() local
130 msta = list_first_entry(&sta_poll_list, in mt7915_mac_sta_poll()
132 list_del_init(&msta->poll_list); in mt7915_mac_sta_poll()
135 idx = msta->wcid.idx; in mt7915_mac_sta_poll()
139 u32 tx_last = msta->airtime_ac[i]; in mt7915_mac_sta_poll()
140 u32 rx_last = msta->airtime_ac[i + 4]; in mt7915_mac_sta_poll()
142 msta->airtime_ac[i] = mt76_rr(dev, addr); in mt7915_mac_sta_poll()
143 msta->airtime_ac[i + 4] = mt76_rr(dev, addr + 4); in mt7915_mac_sta_poll()
145 tx_time[i] = msta->airtime_ac[i] - tx_last; in mt7915_mac_sta_poll()
146 rx_time[i] = msta->airtime_ac[i + 4] - rx_last; in mt7915_mac_sta_poll()
[all …]
Dmcu.c518 struct mt7915_sta *msta; in mt7915_mcu_tx_rate_report() local
528 msta = container_of(wcid, struct mt7915_sta, wcid); in mt7915_mcu_tx_rate_report()
529 stats = &msta->stats; in mt7915_mcu_tx_rate_report()
531 if (msta->wcid.ext_phy && dev->mt76.phy2) in mt7915_mcu_tx_rate_report()
628 struct mt7915_sta *msta, int len) in mt7915_mcu_alloc_sta_req() argument
632 .wlan_idx_lo = msta ? to_wcid_lo(msta->wcid.idx) : 0, in mt7915_mcu_alloc_sta_req()
633 .wlan_idx_hi = msta ? to_wcid_hi(msta->wcid.idx) : 0, in mt7915_mcu_alloc_sta_req()
634 .muar_idx = msta ? mvif->omac_idx : 0, in mt7915_mcu_alloc_sta_req()
649 mt7915_mcu_alloc_wtbl_req(struct mt7915_dev *dev, struct mt7915_sta *msta, in mt7915_mcu_alloc_wtbl_req() argument
654 .wlan_idx_lo = to_wcid_lo(msta->wcid.idx), in mt7915_mcu_alloc_wtbl_req()
[all …]
Ddebugfs.c400 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_sta_fixed_rate_set() local
402 return mt7915_mcu_set_fixed_rate(msta->vif->phy->dev, sta, rate); in mt7915_sta_fixed_rate_set()
412 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_sta_stats_read() local
413 struct mt7915_sta_stats *stats = &msta->stats; in mt7915_sta_stats_read()
Dmt7915.h299 struct mt7915_sta *msta, struct ieee80211_key_conf *key,
/Linux-v5.10/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.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dmain.c28 struct mt7615_sta *msta) in mt7615_free_pending_tx_skbs() argument
34 if (msta && dev->pm.tx_q[i].msta != msta) in mt7615_free_pending_tx_skbs()
233 struct mt7615_sta *msta = &mvif->sta; in mt7615_remove_interface() local
236 int idx = msta->wcid.idx; in mt7615_remove_interface()
246 mt7615_free_pending_tx_skbs(dev, msta); in mt7615_remove_interface()
266 if (!list_empty(&msta->poll_list)) in mt7615_remove_interface()
267 list_del_init(&msta->poll_list); in mt7615_remove_interface()
339 struct mt7615_sta *msta, in mt7615_queue_key_update() argument
349 wd->sta = msta; in mt7615_queue_key_update()
376 struct mt7615_sta *msta = sta ? (struct mt7615_sta *)sta->drv_priv : in mt7615_set_key() local
[all …]
Dmac.c260 struct mt7615_sta *msta; in mt7615_mac_fill_rx() local
262 msta = container_of(status->wcid, struct mt7615_sta, wcid); in mt7615_mac_fill_rx()
264 if (list_empty(&msta->poll_list)) in mt7615_mac_fill_rx()
265 list_add_tail(&msta->poll_list, &dev->sta_poll_list); in mt7615_mac_fill_rx()
554 struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv; in mt7615_mac_write_txwi() local
556 tx_count = msta->rate_count; in mt7615_mac_write_txwi()
764 struct mt7615_sta *msta; in mt7615_mac_sta_poll() local
777 msta = list_first_entry(&sta_poll_list, struct mt7615_sta, in mt7615_mac_sta_poll()
779 list_del_init(&msta->poll_list); in mt7615_mac_sta_poll()
781 addr = mt7615_mac_wtbl_addr(dev, msta->wcid.idx) + 19 * 4; in mt7615_mac_sta_poll()
[all …]
Dmcu.c790 struct mt7615_sta *msta) in mt7615_mcu_alloc_sta_req() argument
794 .wlan_idx = msta ? msta->wcid.idx : 0, in mt7615_mcu_alloc_sta_req()
795 .muar_idx = msta ? mvif->omac_idx : 0, in mt7615_mcu_alloc_sta_req()
810 mt7615_mcu_alloc_wtbl_req(struct mt7615_dev *dev, struct mt7615_sta *msta, in mt7615_mcu_alloc_wtbl_req() argument
815 .wlan_idx = msta->wcid.idx, in mt7615_mcu_alloc_wtbl_req()
887 struct mt7615_sta *msta; in mt7615_mcu_bss_basic_tlv() local
889 msta = (struct mt7615_sta *)sta->drv_priv; in mt7615_mcu_bss_basic_tlv()
890 wlan_idx = msta->wcid.idx; in mt7615_mcu_bss_basic_tlv()
1290 struct mt7615_sta *msta = (struct mt7615_sta *)params->sta->drv_priv; in mt7615_mcu_wtbl_tx_ba() local
1291 struct mt7615_vif *mvif = msta->vif; in mt7615_mcu_wtbl_tx_ba()
[all …]
Dpci_mac.c136 struct mt7615_sta *msta = container_of(wcid, struct mt7615_sta, wcid); in mt7615_tx_prepare_skb() local
156 mt7615_mac_set_rates(phy, msta, &info->control.rates[0], in mt7615_tx_prepare_skb()
157 msta->rates); in mt7615_tx_prepare_skb()
Dusb_sdio.c246 struct mt7615_sta *msta = container_of(wcid, struct mt7615_sta, wcid); in mt7663_usb_sdio_tx_prepare_skb() local
253 !msta->rate_probe) { in mt7663_usb_sdio_tx_prepare_skb()
256 mt7615_mac_set_rates(&dev->phy, msta, &info->control.rates[0], in mt7663_usb_sdio_tx_prepare_skb()
257 msta->rates); in mt7663_usb_sdio_tx_prepare_skb()
Dmt7615.h314 struct mt7615_sta *msta; member
/Linux-v5.10/drivers/net/wireless/mediatek/mt76/
Dmt76x02_util.c246 struct mt76x02_sta *msta = (struct mt76x02_sta *)sta->drv_priv; in mt76x02_sta_add() local
250 memset(msta, 0, sizeof(*msta)); in mt76x02_sta_add()
256 msta->vif = mvif; in mt76x02_sta_add()
257 msta->wcid.sta = 1; in mt76x02_sta_add()
258 msta->wcid.idx = idx; in mt76x02_sta_add()
259 msta->wcid.hw_key_idx = -1; in mt76x02_sta_add()
262 ewma_pktlen_init(&msta->pktlen); in mt76x02_sta_add()
265 set_bit(MT_WCID_FLAG_CHECK_PS, &msta->wcid.flags); in mt76x02_sta_add()
358 struct mt76x02_sta *msta = (struct mt76x02_sta *)sta->drv_priv; in mt76x02_ampdu_action() local
373 mt76_rx_aggr_start(&dev->mt76, &msta->wcid, tid, in mt76x02_ampdu_action()
[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()
176 struct mt76x02_sta *msta = (struct mt76x02_sta *)sta->drv_priv; in mt76x02_tx_prepare_skb() local
178 ewma_pktlen_add(&msta->pktlen, tx_info->skb->len); in mt76x02_tx_prepare_skb()
Dmt76x02_mac.c475 mt76x02_mac_fill_tx_status(struct mt76x02_dev *dev, struct mt76x02_sta *msta, in mt76x02_mac_fill_tx_status() argument
498 if (!msta) in mt76x02_mac_fill_tx_status()
501 mt76x02_mac_process_tx_rate(&rate[0], msta->wcid.tx_info, in mt76x02_mac_fill_tx_status()
553 struct mt76x02_sta *msta = NULL; in mt76x02_send_tx_status() local
572 priv = msta = container_of(wcid, struct mt76x02_sta, wcid); in mt76x02_send_tx_status()
593 if (msta && stat->aggr && !status.skb) { in mt76x02_send_tx_status()
598 stat_cache = msta->status.rate; in mt76x02_send_tx_status()
599 stat_cache |= ((u32)msta->status.retry) << 16; in mt76x02_send_tx_status()
602 stat->wcid == msta->status.wcid && msta->n_frames < 32) { in mt76x02_send_tx_status()
603 msta->n_frames++; in mt76x02_send_tx_status()
[all …]
Dmt76x02_mmio.c409 struct mt76x02_sta *msta; in mt76x02_reset_state() local
420 priv = msta = container_of(wcid, struct mt76x02_sta, wcid); in mt76x02_reset_state()
423 priv = msta->vif; in mt76x02_reset_state()
427 memset(msta, 0, sizeof(*msta)); in mt76x02_reset_state()
Dmt76x02_usb_core.c104 struct mt76x02_sta *msta = (struct mt76x02_sta *)sta->drv_priv; in mt76x02u_tx_prepare_skb() local
106 ewma_pktlen_add(&msta->pktlen, tx_info->skb->len); in mt76x02u_tx_prepare_skb()
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.c2334 struct iwl_mvm_int_sta *msta = &mvmvif->mcast_sta; in iwl_mvm_add_mcast_sta() local
2340 .sta_id = msta->sta_id, in iwl_mvm_add_mcast_sta()
2371 msta->tfd_queue_msk |= BIT(mvmvif->cab_queue); in iwl_mvm_add_mcast_sta()
2373 ret = iwl_mvm_add_int_sta_common(mvm, msta, maddr, in iwl_mvm_add_mcast_sta()
2386 int queue = iwl_mvm_tvqm_enable_txq(mvm, msta->sta_id, in iwl_mvm_add_mcast_sta()
2401 iwl_mvm_dealloc_int_sta(mvm, msta); in iwl_mvm_add_mcast_sta()
/Linux-v5.10/arch/s390/tools/
Dopcodes.txt243 b247 msta RRE_R0