FreeBSD Bugzilla – Attachment 156016 Details for
Bug 199718
[patch] urtwn(4): poor performance on rtl8188eu devices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
urtwn.patch (text/plain), 779 bytes, created by
mp39590
on 2015-04-26 19:22:57 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
mp39590
Created:
2015-04-26 19:22:57 UTC
Size:
779 bytes
patch
obsolete
>diff --git sys/dev/usb/wlan/if_urtwn.c sys/dev/usb/wlan/if_urtwn.c >index a25114f..e3669a7 100644 >--- sys/dev/usb/wlan/if_urtwn.c >+++ sys/dev/usb/wlan/if_urtwn.c >@@ -3384,9 +3384,12 @@ urtwn_init_locked(void *arg) > urtwn_write_1(sc, R92C_TRXDMA_CTRL, > urtwn_read_1(sc, R92C_TRXDMA_CTRL) | > R92C_TRXDMA_CTRL_RXDMA_AGG_EN); >+ /* Enabling USB aggregation for 88E chips leads to bad performance */ > urtwn_write_1(sc, R92C_USB_SPECIAL_OPTION, > urtwn_read_1(sc, R92C_USB_SPECIAL_OPTION) | >- R92C_USB_SPECIAL_OPTION_AGG_EN); >+ (sc->chip & URTWN_CHIP_88E ? >+ ~R92C_USB_SPECIAL_OPTION_AGG_EN : >+ R92C_USB_SPECIAL_OPTION_AGG_EN)); > urtwn_write_1(sc, R92C_RXDMA_AGG_PG_TH, 48); > if (sc->chip & URTWN_CHIP_88E) > urtwn_write_1(sc, R92C_RXDMA_AGG_PG_TH + 1, 4);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 199718
: 156016