From: Christian Lamparter Date: Mon, 26 Jul 2010 21:55:09 +0000 (+0200) Subject: carl9170 firmware: speedup handle_rx X-Git-Tag: 1.7.3~1 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=59c208a70905fc6376383aa1e7f4f7c6811c69b3;p=carl9170fw.git carl9170 firmware: speedup handle_rx Thanks to the improved rx processing in the driver, rx overruns should no longer happen that frequently. Also, The overrun detection might not be triggered in this code-path at all when the recv wlan queue has run dry. Signed-off-by: Christian Lamparter --- diff --git a/carlfw/src/wlan.c b/carlfw/src/wlan.c index d0adb59..9ef0ad8 100644 --- a/carlfw/src/wlan.c +++ b/carlfw/src/wlan.c @@ -572,8 +572,6 @@ static void handle_rx(void) { struct dma_desc *desc; - wlan_check_rx_overrun(); - for_each_desc_not_bits(desc, &fw.wlan.rx_queue, AR9170_OWN_BITS_HW) { if (unlikely(desc->totalLen < 26 || desc->totalLen > CONFIG_CARL9170FW_RX_FRAME_LEN)) {