Re: [patch] rtl8188eu support for urtwn(4)

2015-05-10 Thread Stefan Sperling
On Tue, May 05, 2015 at 01:25:12PM +0200, Stefan Sperling wrote: On Mon, May 04, 2015 at 01:51:28PM +0200, Stefan Sperling wrote: On Mon, May 04, 2015 at 01:23:59PM +0200, Stefan Sperling wrote: Unfortunately, this patch doesn't still fix the performance problem for me. How are you

Re: [patch] rtl8188eu support for urtwn(4)

2015-05-05 Thread Stefan Sperling
On Mon, May 04, 2015 at 01:51:28PM +0200, Stefan Sperling wrote: On Mon, May 04, 2015 at 01:23:59PM +0200, Stefan Sperling wrote: Unfortunately, this patch doesn't still fix the performance problem for me. How are you testing performance? I'm using tcpbench(1). I've committed your patch so

Re: [patch] rtl8188eu support for urtwn(4)

2015-05-04 Thread Mikhail
On 20:20 26-Apr 2015 Stefan Sperling wrote: The chunk below is wrong for OpenBSD since it sets the intitial transmit rate to an 11n rate. 0x13 corresponds to the MCS7 11n rate, see linux/drivers/net/wireless/rtlwifi/rtl8188ee/def.h enum rtl_desc92c_rate. The value 11 corresponds to OFDM 54Mbit

Re: [patch] rtl8188eu support for urtwn(4)

2015-05-04 Thread Stefan Sperling
On Mon, May 04, 2015 at 04:03:01PM +0300, Mikhail wrote: Hello, yes, this change, maybe harmless, but not accurate. I inline new patch against head with this change incorporated and with fix for USB aggregation mode, which Kevin has pushed into FreeBSD[1] to fix performance issues. [1] -

Re: [patch] rtl8188eu support for urtwn(4)

2015-05-04 Thread Stefan Sperling
On Mon, May 04, 2015 at 01:23:59PM +0200, Stefan Sperling wrote: On Mon, May 04, 2015 at 04:03:01PM +0300, Mikhail wrote: Hello, yes, this change, maybe harmless, but not accurate. I inline new patch against head with this change incorporated and with fix for USB aggregation mode, which

Re: [patch] rtl8188eu support for urtwn(4)

2015-05-02 Thread Brendan MacDonell
Just wanted to report that this works with my TL-WN723N v3.0. With both patches applied the adapter is able to saturate my DSL connection. Brendan MacDonell On Sun, Apr 26, 2015 at 4:46 PM, Mikhail mp39...@gmail.com wrote: On 21:22 26-Apr 2015 Mikhail wrote: On 20:20 26-Apr 2015 Stefan

Re: [patch] rtl8188eu support for urtwn(4)

2015-04-29 Thread Mikhail
On 23:25 26-Apr 2015 patrick keshishian wrote: On 4/26/15, Mikhail mp39...@gmail.com wrote: 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 ? +

Re: [patch] rtl8188eu support for urtwn(4)

2015-04-26 Thread Stefan Sperling
On Sun, Apr 19, 2015 at 11:48:32PM +0300, Mikhail wrote: Bellow new version of the patch with above things fixed, also I've fixed detection of ETV chip in urtwn_attach(), nothing else is changed. I've committed the part below already. I put the ID 0x0179 before 0x018a though, not after.

Re: [patch] rtl8188eu support for urtwn(4)

2015-04-26 Thread Stefan Sperling
On Sun, Apr 19, 2015 at 11:48:32PM +0300, Mikhail wrote: Bellow new version of the patch with above things fixed, also I've fixed detection of ETV chip in urtwn_attach(), nothing else is changed. I'm seeing very low data transmission rates with your patch and a TP-Link TL-WN725N device. In both

Re: [patch] rtl8188eu support for urtwn(4)

2015-04-26 Thread Mikhail
On 20:20 26-Apr 2015 Stefan Sperling wrote: On Sun, Apr 26, 2015 at 01:31:17PM +0200, Stefan Sperling wrote: On Sun, Apr 19, 2015 at 11:48:32PM +0300, Mikhail wrote: Bellow new version of the patch with above things fixed, also I've fixed detection of ETV chip in urtwn_attach(), nothing

Re: [patch] rtl8188eu support for urtwn(4)

2015-04-26 Thread patrick keshishian
On 4/26/15, Mikhail mp39...@gmail.com wrote: On 21:22 26-Apr 2015 Mikhail wrote: On 20:20 26-Apr 2015 Stefan Sperling wrote: On Sun, Apr 26, 2015 at 01:31:17PM +0200, Stefan Sperling wrote: On Sun, Apr 19, 2015 at 11:48:32PM +0300, Mikhail wrote: Bellow new version of the patch with

Re: [patch] rtl8188eu support for urtwn(4)

2015-04-26 Thread Stefan Sperling
On Sun, Apr 26, 2015 at 01:31:17PM +0200, Stefan Sperling wrote: On Sun, Apr 19, 2015 at 11:48:32PM +0300, Mikhail wrote: Bellow new version of the patch with above things fixed, also I've fixed detection of ETV chip in urtwn_attach(), nothing else is changed. I'm seeing very low data

Re: [patch] rtl8188eu support for urtwn(4)

2015-04-26 Thread Mikhail
On 21:22 26-Apr 2015 Mikhail wrote: On 20:20 26-Apr 2015 Stefan Sperling wrote: On Sun, Apr 26, 2015 at 01:31:17PM +0200, Stefan Sperling wrote: On Sun, Apr 19, 2015 at 11:48:32PM +0300, Mikhail wrote: Bellow new version of the patch with above things fixed, also I've fixed detection

Re: [patch] rtl8188eu support for urtwn(4)

2015-04-26 Thread Abel Abraham Camarillo Ojeda
On Sun, Apr 26, 2015 at 6:31 AM, Stefan Sperling s...@stsp.name wrote: On Sun, Apr 19, 2015 at 11:48:32PM +0300, Mikhail wrote: Bellow new version of the patch with above things fixed, also I've fixed detection of ETV chip in urtwn_attach(), nothing else is changed. I'm seeing very low data

Re: [patch] rtl8188eu support for urtwn(4)

2015-04-20 Thread Stuart Henderson
On 2015/04/19 23:48, Mikhail wrote: I can take care of the firmware package, can you confirm if this is correct? SHA256 (urtwn-rtl8188eufw) = 1241ddbfc87f0495e0bf09d8b94c94680b60a3d8eeab89462b3c4d8d3e8a1ee0 Yes, that's correct. Thanks. I've committed it to

[patch] rtl8188eu support for urtwn(4)

2015-04-19 Thread Mikhail
Hello, I inline the patch for rtl8188eu chip support in urtwn driver, origins for this patch are in r264912[1] from FreeBSD. In order to work, correct firmware must be presented in /etc/firmware - one can be found in FreeBSD commit itself[2] - I'm not sure what is the correct procedure of

Re: [patch] rtl8188eu support for urtwn(4)

2015-04-19 Thread Stefan Sperling
On Sun, Apr 19, 2015 at 11:27:52AM +0300, Mikhail wrote: I'm not sure what is the correct procedure of submitting it to firmware.openbsd.org. Please prepare a patch for /usr/ports/sysutils/firmware/urtwn. I've tested it with TP-LINK TL-WN725N with usual network activity. Thanks! I will take