summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/b43.h
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2009-09-04 22:53:18 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-09-08 16:31:06 -0400
commitf5d40eedb32aa9a0e226d468e1f89fb676824694 (patch)
tree8fb9fce1dd10b71fd940cbb22cbbf12887fe2d4b /drivers/net/wireless/b43/b43.h
parent36dbd9548e92268127b0c31b0e121e63e9207108 (diff)
downloadblackbird-op-linux-f5d40eedb32aa9a0e226d468e1f89fb676824694.tar.gz
blackbird-op-linux-f5d40eedb32aa9a0e226d468e1f89fb676824694.zip
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 <mb@bu3sch.de> Tested-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/b43.h')
-rw-r--r--drivers/net/wireless/b43/b43.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/b43.h b/drivers/net/wireless/b43/b43.h
index d63af926d058..1cd470d6e2da 100644
--- a/drivers/net/wireless/b43/b43.h
+++ b/drivers/net/wireless/b43/b43.h
@@ -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. */
OpenPOWER on IntegriCloud