]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: 802.11: basic implementation of *queue(s)/*txq*
authorBjoern A. Zeeb <bz@FreeBSD.org>
Tue, 31 Jan 2023 16:17:14 +0000 (16:17 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Thu, 23 Feb 2023 19:33:01 +0000 (19:33 +0000)
commit0b165b1fce848c6c636548d54064eec5a9d82c55
tree61bf8696feef4a1af65d9e70691d75cf2dcefb29
parent8e45120aceeb5a1457b9406c9b1543e5a1d1d314
LinuxKPI: 802.11: basic implementation of *queue(s)/*txq*
LinuxKPI: 802.11: deal with stopped queues

Very basic implementations of ieee80211_{wake,stop}_queue[s],
as well as ieee80211_txq_schedule_start(), ieee80211_next_txq(),
and ieee80211_schedule_txq().
Various combinations of these are used by different wireless
drivers, incl. iwlwifi.

Following 5a9a0d7803382321b5f9fff1deae5fb08463cf1a initialize the
queue values explicitly and deal with a stopped queue in
ieee80211_tx_dequeue().

Sponsored by: The FreeBSD Foundation (parts of this work)
Approved by: re (cperciva)

(cherry picked from commit 5a9a0d7803382321b5f9fff1deae5fb08463cf1a)
(cherry picked from commit 0cbcfa1964de89cd346ee6f79437c6ab83a3b716)
(cherry picked from commit 9f9d047405778b2d2aca829a2037532b8ae8ed5d)
sys/compat/linuxkpi/common/include/net/mac80211.h
sys/compat/linuxkpi/common/src/linux_80211.c
sys/compat/linuxkpi/common/src/linux_80211.h