Home
last modified time | relevance | path

Searched refs:wcid (Results 1 – 16 of 16) sorted by relevance

/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
Dmain.c59 unsigned int wcid = GROUP_WCID(idx); in mt7601u_add_interface() local
68 if (dev->wcid_mask[wcid / BITS_PER_LONG] & BIT(wcid % BITS_PER_LONG)) in mt7601u_add_interface()
70 dev->wcid_mask[wcid / BITS_PER_LONG] |= BIT(wcid % BITS_PER_LONG); in mt7601u_add_interface()
71 mvif->group_wcid.idx = wcid; in mt7601u_add_interface()
82 unsigned int wcid = mvif->group_wcid.idx; in mt7601u_remove_interface() local
84 dev->wcid_mask[wcid / BITS_PER_LONG] &= ~BIT(wcid % BITS_PER_LONG); in mt7601u_remove_interface()
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()
251 int idx = msta->wcid.idx; in mt7601u_sta_remove()
[all …]
Dmac.c138 void mt76_mac_wcid_set_rate(struct mt7601u_dev *dev, struct mt76_wcid *wcid, in mt76_mac_wcid_set_rate() argument
144 wcid->tx_rate = mt76_mac_tx_rate_val(dev, rate, &wcid->tx_rate_nss); in mt76_mac_wcid_set_rate()
145 wcid->tx_rate_set = true; in mt76_mac_wcid_set_rate()
160 stat.wcid = MT76_GET(MT_TX_STAT_FIFO_WCID, val); in mt7601u_mac_fetch_tx_status()
170 struct mt76_wcid *wcid = NULL; in mt76_send_tx_status() local
174 if (stat->wcid < ARRAY_SIZE(dev->wcid)) in mt76_send_tx_status()
175 wcid = rcu_dereference(dev->wcid[stat->wcid]); in mt76_send_tx_status()
177 if (wcid) { in mt76_send_tx_status()
178 msta = container_of(wcid, struct mt76_sta, wcid); in mt76_send_tx_status()
366 struct mt76_wcid *wcid; in mt7601u_mac_set_ampdu_factor() local
[all …]
Dtx.c139 struct ieee80211_sta *sta, struct mt76_wcid *wcid, in mt7601u_push_txwi() argument
154 if (!wcid->tx_rate_set) in mt7601u_push_txwi()
160 rate_ctl = wcid->tx_rate; in mt7601u_push_txwi()
187 txwi->wcid = wcid->idx; in mt7601u_push_txwi()
205 struct mt76_wcid *wcid = dev->mon_wcid; in mt7601u_tx() local
220 wcid = &msta->wcid; in mt7601u_tx()
224 wcid = &mvif->group_wcid; in mt7601u_tx()
227 txwi = mt7601u_push_txwi(dev, skb, sta, wcid, pkt_len); in mt7601u_tx()
229 if (mt7601u_dma_enqueue_tx(dev, skb, wcid, hw_q)) in mt7601u_tx()
Dmac.h24 u8 wcid; member
122 u8 wcid; member
167 void mt76_mac_wcid_set_rate(struct mt7601u_dev *dev, struct mt76_wcid *wcid,
Dmt7601u.h178 struct mt76_wcid __rcu *wcid[N_WCIDS]; member
272 struct mt76_wcid wcid; member
394 struct mt76_wcid *wcid, int hw_q);
Ddma.c340 struct mt76_wcid *wcid, int hw_q) in mt7601u_dma_enqueue_tx() argument
347 if (wcid->hw_key_idx == 0xff) in mt7601u_dma_enqueue_tx()
Dtrace.h306 __entry->h.ack_ctl, __entry->h.wcid,
/linux-4.4.14/arch/arm/kernel/
Dpj4-cp0.c77 u32 cp_access, wcid; in pj4_get_iwmmxt_version() local
89 __asm__ __volatile__ ("mrc p1, 0, %0, c0, c0, 0\n" : "=r" (wcid)); in pj4_get_iwmmxt_version()
94 if ((wcid & 0xffffff00) == 0x56051000) in pj4_get_iwmmxt_version()
97 if ((wcid & 0xffffff00) == 0x56052000) in pj4_get_iwmmxt_version()
/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2x00mac.c494 crypto.wcid = sta_priv->wcid; in rt2x00mac_set_key()
549 return rt2x00dev->ops->lib->sta_remove(rt2x00dev, sta_priv->wcid); in rt2x00mac_sta_remove()
Drt2x00.h468 int wcid; member
507 int wcid; member
629 int wcid);
Drt2800mmio.c173 int wcid, tx_wcid; in rt2800mmio_txdone_entry_check() local
175 wcid = rt2x00_get_field32(status, TX_STA_FIFO_WCID); in rt2800mmio_txdone_entry_check()
181 return (tx_wcid == wcid); in rt2800mmio_txdone_entry_check()
Drt2x00queue.h322 int wcid; member
Drt2800lib.c749 txdesc->key_idx : txdesc->u.ht.wcid); in rt2800_write_tx_data()
1245 int wcid) in rt2800_config_wcid() argument
1250 offset = MAC_WCID_ENTRY(wcid); in rt2800_config_wcid()
1260 static void rt2800_delete_wcid_attr(struct rt2x00_dev *rt2x00dev, int wcid) in rt2800_delete_wcid_attr() argument
1263 offset = MAC_WCID_ATTR_ENTRY(wcid); in rt2800_delete_wcid_attr()
1268 int wcid, u32 bssidx) in rt2800_config_wcid_attr_bssidx() argument
1270 u32 offset = MAC_WCID_ATTR_ENTRY(wcid); in rt2800_config_wcid_attr_bssidx()
1396 if (crypto->wcid > WCID_END) in rt2800_config_pairwise_key()
1398 key->hw_key_idx = crypto->wcid; in rt2800_config_pairwise_key()
1424 int wcid; in rt2800_sta_add() local
[all …]
Drt2800usb.c553 int wcid, ack, pid; in rt2800usb_txdone_entry_check() local
564 wcid = rt2x00_get_field32(reg, TX_STA_FIFO_WCID); in rt2800usb_txdone_entry_check()
580 if (wcid != tx_wcid || ack != tx_ack || (!is_agg && pid != tx_pid)) { in rt2800usb_txdone_entry_check()
Drt2800lib.h186 int rt2800_sta_remove(struct rt2x00_dev *rt2x00dev, int wcid);
Drt2x00queue.c315 txdesc->u.ht.wcid = sta_priv->wcid; in rt2x00queue_create_tx_descriptor_ht()