summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271_rx.c
diff options
context:
space:
mode:
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>2010-02-22 08:38:35 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-03-09 15:03:03 -0500
commit295cc0bff60bee988028dc431fa1f1a353fd18a7 (patch)
tree6e763cdb28bc79104833d54aa8d47c79374bf518 /drivers/net/wireless/wl12xx/wl1271_rx.c
parent18f8d468919da89185e2ab90cefa6c4a1936038e (diff)
downloadlinux-295cc0bff60bee988028dc431fa1f1a353fd18a7.tar.gz
linux-295cc0bff60bee988028dc431fa1f1a353fd18a7.tar.bz2
linux-295cc0bff60bee988028dc431fa1f1a353fd18a7.zip
wl1271: Aggregate RX acknowledgements to FW
This patch will ack RX frames read from the firmware in one single write, instead of acking all the frames separately. This will reduce the amount of required communication per frame. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_rx.c')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271_rx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_rx.c b/drivers/net/wireless/wl12xx/wl1271_rx.c
index 2df7852db9a5..b824c6cc2cc5 100644
--- a/drivers/net/wireless/wl12xx/wl1271_rx.c
+++ b/drivers/net/wireless/wl12xx/wl1271_rx.c
@@ -224,6 +224,7 @@ void wl1271_rx(struct wl1271 *wl, struct wl1271_fw_status *status)
wl->rx_counter++;
drv_rx_counter = wl->rx_counter & NUM_RX_PKT_DESC_MOD_MASK;
- wl1271_write32(wl, RX_DRIVER_COUNTER_ADDRESS, wl->rx_counter);
}
+
+ wl1271_write32(wl, RX_DRIVER_COUNTER_ADDRESS, wl->rx_counter);
}