Return-path: Received: from mail-qk0-f178.google.com ([209.85.220.178]:34122 "EHLO mail-qk0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752737AbcKGOOj (ORCPT ); Mon, 7 Nov 2016 09:14:39 -0500 Received: by mail-qk0-f178.google.com with SMTP id q130so177233128qke.1 for ; Mon, 07 Nov 2016 06:14:09 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <58208A6A.5040307@candelatech.com> References: <773DB8A82AB6A046AE0195C68612A31901C5B293@sbs2003.acksys.local> <566849DB.9040901@candelatech.com> <079401d132a6$7e7e2050$7b7a60f0$@acksys.fr> <27f802e7-79c5-a17f-1883-88e62a6520ef@ezplanet.net> <68bd7ebd-b12a-5dbf-a267-5913127718a1@candelatech.com> <58208A6A.5040307@candelatech.com> From: Bruno Antunes Date: Mon, 7 Nov 2016 14:13:48 +0000 Message-ID: (sfid-20161107_151443_668121_ED652954) Subject: Re: [OpenWrt-Devel] ATH10K VLAN firmware issue To: Ben Greear Cc: yu-chieh kung , Mauro Mozzarelli , "linux-wireless@vger.kernel.org" , OpenWrt Development List , "ath10k@lists.infradead.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 7 November 2016 at 14:06, Ben Greear wrote: > On 11/07/2016 03:54 AM, Bruno Antunes wrote: >> >> On 4 November 2016 at 22:23, Ben Greear wrote: >>> >>> The bug appears that vlan-tx-stripping is unconditionally enabled in >>> at least my firmware. I have re-compiled w/out that flag set, and it >>> appears >>> to work for me. >>> >>> Please download this firmware, rename it firmware-2.bin, make sure you >>> remove/rename >>> any firmware-5.bin (etc) so mine will load, and see if that fixes your >>> problem. >> >> >> Thanks for the fast reply but it only solves "half" the problem. >> >> Now the connection between the AP and the Sta can be secure and the >> driver doesn't need to be loaded in rawmode. >> >> Unfortunatly the the throughput is still bad. >> >> iperf3 -c 10.10.4.15 >> Connecting to host 10.10.4.15, port 5201 >> [ 4] local 10.10.4.16 port 44893 connected to 10.10.4.15 port 5201 >> [ ID] Interval Transfer Bandwidth Retr Cwnd >> [ 4] 0.00-1.01 sec 42.4 KBytes 345 Kbits/sec 6 1.41 KBytes >> [ 4] 1.01-2.01 sec 0.00 Bytes 0.00 bits/sec 1 1.41 KBytes >> [ 4] 2.01-3.01 sec 0.00 Bytes 0.00 bits/sec 1 1.41 KBytes >> [ 4] 3.01-4.01 sec 0.00 Bytes 0.00 bits/sec 0 1.41 KBytes >> [ 4] 4.01-5.01 sec 0.00 Bytes 0.00 bits/sec 0 1.41 KBytes >> [ 4] 5.01-6.01 sec 0.00 Bytes 0.00 bits/sec 0 1.41 KBytes >> [ 4] 6.01-7.01 sec 0.00 Bytes 0.00 bits/sec 1 1.41 KBytes >> [ 4] 7.01-8.01 sec 0.00 Bytes 0.00 bits/sec 0 1.41 KBytes >> [ 4] 8.01-9.01 sec 0.00 Bytes 0.00 bits/sec 0 1.41 KBytes >> [ 4] 9.01-10.01 sec 0.00 Bytes 0.00 bits/sec 0 1.41 KBytes >> - - - - - - - - - - - - - - - - - - - - - - - - - >> [ ID] Interval Transfer Bandwidth Retr >> [ 4] 0.00-10.01 sec 42.4 KBytes 34.7 Kbits/sec 9 >> sender >> [ 4] 0.00-10.01 sec 0.00 Bytes 0.00 bits/sec >> receiver > > > You have a complex setup, so I think it would be best if you could break it > into > simpler parts to test. Some of the parts I already tested and are working > > First, try just STA to AP, no vlans, and see if you get useful throughput. > Works fine > Then try with VLANs > To Do > Then, try with WDS. Works fine > > Then try with WDS and vlans. > The ultimate goal... > In STA to AP mode with VLANs, it performed well for me. > > Thanks, > Ben > > >> >> iperf Done. >> >>> >>> Please note that it is very likely you will have to use same MAC address >>> for the VLAN devices that the underlying station uses in order for this >>> to >>> work. >> >> >> Can you please elaborate more? >> My setup is the folowing. >> The connection between the AP and Sta is in WDS >> For the moment all devices are in the same VLAN. >> >> client1 --- SW1 ---- AP ...... Sta ---- SW2 --- client2 >> >> >> Thanks, >> Bruno >> >>> >>> https://www.candelatech.com/downloads/tmp/firmware-2-full-community.bin >>> >>> >>> Thanks, >>> Ben >>> >>> >>> >> >>> Ben Greear >>> Candela Technologies Inc http://www.candelatech.com >>> >> > > -- > Ben Greear > Candela Technologies Inc http://www.candelatech.com