Home
last modified time | relevance | path

Searched refs:psq (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/net80211/
H A Dieee80211_power.c108 ieee80211_psq_init(struct ieee80211_psq *psq, const char *name) in ieee80211_psq_init() argument
110 memset(psq, 0, sizeof(*psq)); in ieee80211_psq_init()
111 psq->psq_maxlen = IEEE80211_PS_MAX_QUEUE; in ieee80211_psq_init()
112 IEEE80211_PSQ_INIT(psq, name); /* OS-dependent setup */ in ieee80211_psq_init()
116 ieee80211_psq_cleanup(struct ieee80211_psq *psq) in ieee80211_psq_cleanup() argument
119 psq_drain(psq); /* XXX should not be needed? */ in ieee80211_psq_cleanup()
121 KASSERT(psq->psq_len == 0, ("%d frames on ps q", psq->psq_len)); in ieee80211_psq_cleanup()
123 IEEE80211_PSQ_DESTROY(psq); /* OS-dependent cleanup */ in ieee80211_psq_cleanup()
132 struct ieee80211_psq *psq = &ni->ni_psq; in ieee80211_node_psq_dequeue() local
136 IEEE80211_PSQ_LOCK(psq); in ieee80211_node_psq_dequeue()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/
H A Ddma.c59 __skb_queue_tail(&msta->psq, skb); in mt7603_rx_loopback_skb()
60 if (skb_queue_len(&msta->psq) >= 64) { in mt7603_rx_loopback_skb()
61 skb = __skb_dequeue(&msta->psq); in mt7603_rx_loopback_skb()
H A Dmain.c356 __skb_queue_head_init(&msta->psq); in mt7603_sta_add()
390 __skb_queue_purge(&msta->psq); in mt7603_sta_remove()
429 skb_queue_splice_tail_init(&msta->psq, &list); in mt7603_sta_ps()
461 skb_queue_walk_safe(&msta->psq, skb, tmp) { in mt7603_release_buffered_frames()
469 __skb_unlink(skb, &msta->psq); in mt7603_release_buffered_frames()
H A Dmt7603.h69 struct sk_buff_head psq; member