Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: drivers/staging/brcm80211/brcmfmac/dhd_sdio.c

Issue 6484021: brcmfmac: Enabling flow control on uplink data direction (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/kernel-next.git@chromeos-2.6.37
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
diff --git a/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c b/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
index 383416d5a75024ff03d55c6c85872daef809f19b..95c170d35b4b011925a60b2c78f2246b69cc257e 100644
--- a/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
+++ b/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
@@ -60,9 +60,9 @@
#define DHDSDIO_MEM_DUMP_FNAME "mem_dump"
#endif
-#define QLEN 256 /* bulk rx and tx queue lengths */
-#define FCHI (QLEN - 10)
-#define FCLOW (FCHI / 2)
+#define QLEN 2046 /* bulk rx and tx queue lengths */
+#define FCHI (QLEN - 256)
+#define FCLOW (FCHI - 256)
#define PRIOMASK 7
#define TXRETRIES 2 /* # of retries for tx frames */
@@ -5084,7 +5084,7 @@ static void *dhdsdio_probe(u16 venid, u16 devid, u16 bus_no,
sd1idle = true;
dhd_readahead = true;
retrydata = false;
- dhd_doflow = false;
+ dhd_doflow = true;
dhd_dongle_memsize = 0;
dhd_txminmax = DHD_TXMINMAX;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698