projects
/
carl9170fw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f37021
)
carl9170 firmware: add comment about RX overrun recovery
author
Christian Lamparter
<chunkeey@googlemail.com>
Fri, 13 Aug 2010 23:11:18 +0000
(
01:11
+0200)
committer
Christian Lamparter
<chunkeey@googlemail.com>
Fri, 13 Aug 2010 23:11:18 +0000
(
01:11
+0200)
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carlfw/src/wlan.c
patch
|
blob
|
history
diff --git
a/carlfw/src/wlan.c
b/carlfw/src/wlan.c
index dc37a9f47586001cc5624b9f12ec50f9fdefec62..279aedd7d9b66addd4824b980bcf80d5c1cff3d6 100644
(file)
--- a/
carlfw/src/wlan.c
+++ b/
carlfw/src/wlan.c
@@
-562,6
+562,11
@@
static void wlan_check_rx_overrun(void)
fw.wlan.rx_overruns += overruns = get(AR9170_MAC_REG_RX_OVERRUN);
if (unlikely(overruns)) {
if (overruns == total) {
+ /*
+ * Theoretically, it should be enough to
+ * trigger the WLAN RX DMA bit. But the
+ * original firmware wanted a reset...
+ */
DBG("RX Overrun");
fw.wlan.mac_reset++;
}