b43: Remove TX spinlock
PATCH 2/5 b43: Remove TX spinlock
This removes the TX spinlock and defers TX to a workqueue to allow locking wl->mutex instead and to allow sleeping for register accesses.
Signed-off-by Michael Buesch <[email protected]>
drivers/net/wireless/b43/b43.h +5 -0
@@ -683,6 +683,11 @@ struct b43_wl {* This is scheduled when we determine that the actual TX output * power doesn't match what we want. */ struct work_struct txpower_adjust_work; + +/* Packet transmit work */ +struct work_struct tx_work; +/* Queue of packets to be transmitted. */ +struct sk_buff_head tx_queue; };/* The type of the firmware file. */
drivers/net/wireless/b43/main.c +38 -37
156 lines not on this page · raw message
Signature · 1 line
Greetings, Michael.