bcm43xx: suspend MAC while executing long pwork
Subsystems (3)
PATCH 1/1 bcm43xx: suspend MAC while executing long pwork
Hi John,
Please queue this for 2.6.18.
--
Suspend MAC (and make MAC-suspend refcounting) when doing long periodic work.
On long periodic work, we disable IRQs on the device, so we don't want the MAC to stay operating and probably miss packets due do non-delivery of interrupts.
Signed-off-by Michael Buesch <[email protected]>
drivers/net/wireless/bcm43xx/bcm43xx.h +2 -0
@@ -723,6 +723,8 @@u32 irq_savedstate;/* Link Quality calculation context. */ struct bcm43xx_noise_calculation noisecalc; +/* if > 0 MAC is suspended. if == 0 MAC is enabled. */ +int mac_suspended;/* Threshold values. */ //TODO: The RTS thr has to be _used_. Currently, it is only set via WX.
drivers/net/wireless/bcm43xx/bcm43xx_main.c +32 -19
83 lines not on this page · raw message
Signature · 1 line
Greetings Michael.