summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/boot.c
diff options
context:
space:
mode:
authorIdo Yariv <ido@wizery.com>2011-03-01 15:14:38 +0200
committerLuciano Coelho <coelho@ti.com>2011-03-03 16:10:46 +0200
commit8aad24642a7c06832a75f1d20e8e3112b4fbd815 (patch)
tree53d29682577134e535cf3b96281fec45847c61f1 /drivers/net/wireless/wl12xx/boot.c
parent50e9f746f63c9b881f2ca4a35dbdfd34b1a8a215 (diff)
wl12xx: Reorder data handling in irq_work
The FW has a limited amount of memory for holding frames. In case it runs out of memory reserved for RX frames, it'll have no other choice but to drop packets received from the AP. Thus, it is important to handle RX data interrupts as soon as possible, before handling anything else. In addition, since there are enough TX descriptors to go around, it is better to first send TX frames, and only then handle TX completions. Fix this by changing the order of function calls in wl1271_irq_work. Signed-off-by: Ido Yariv <ido@wizery.com> Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com> Reviewed-by: Luciano Coelho <coelho@ti.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/boot.c')
0 files changed, 0 insertions, 0 deletions