RE: [OpenWrt-Devel] ATH10K VLAN firmware issue

2017-02-22 Thread voncken
Thanks for your answer, 

How I can know when this issue will be fixed in ath10k firmware
mainline?
Do you know if Qualcomm publish a release note for this firmware?

> -Message d'origine-
> De : linux-wireless-ow...@vger.kernel.org [mailto:linux-wireless-
> ow...@vger.kernel.org] De la part de Valo, Kalle
> Envoyé : mardi 21 février 2017 14:19
> À : voncken
> Cc : 'OpenWrt Development List'; 'linux-wireless';
> ath...@lists.infradead.org
> Objet : Re: [OpenWrt-Devel] ATH10K VLAN firmware issue
> 
> voncken <cedric.vonc...@acksys.fr> writes:
> 
> > Do you know if the firmware team planned to fix the VLAN issue on
> > ath10k firmware?
> 
> I reported it forward only this week.
> 
> --
> Kalle Valo



Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2017-02-21 Thread Bruno Antunes
On 21 February 2017 at 13:42, Tom Psyborg  wrote:
> have you tried this one
> https://forum.lede-project.org/t/new-qca988x-firmware-with-mesh-support/1587

>From my testing it does not work.

>
> On 21 February 2017 at 14:19, Valo, Kalle  wrote:
>>
>> voncken  writes:
>>
>> > Do you know if the firmware team planned to fix the VLAN issue on ath10k
>> > firmware?
>>
>> I reported it forward only this week.
>>
>> --
>> Kalle Valo
>> ___
>> openwrt-devel mailing list
>> openwrt-de...@lists.openwrt.org
>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
>
>
> ___
> openwrt-devel mailing list
> openwrt-de...@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>


RE: [OpenWrt-Devel] ATH10K VLAN firmware issue

2017-02-21 Thread voncken
Kalle, 

Do you know if the firmware team planned to fix the VLAN issue on ath10k
firmware?

Thanks for your help.

Cedric.
> -Message d'origine-
> De : linux-wireless-ow...@vger.kernel.org [mailto:linux-wireless-
> ow...@vger.kernel.org] De la part de Valo, Kalle
> Envoyé : mardi 15 novembre 2016 14:44
> À : Bruno Antunes
> Cc : OpenWrt Development List; linux-wireless; voncken;
> ath...@lists.infradead.org
> Objet : Re: [OpenWrt-Devel] ATH10K VLAN firmware issue
> 
> Bruno Antunes <baantu...@gmail.com> writes:
> 
> > On 7 November 2016 at 18:06, Valo, Kalle <kv...@qca.qualcomm.com>
> wrote:
> >> Bruno Antunes <baantu...@gmail.com> writes:
> >>
> >>> On 4 November 2016 at 21:17, Valo, Kalle <kv...@qca.qualcomm.com>
> wrote:
> >>>
> >>>> Can someone file a bug to bugzilla about this so that all the info
> >>>> is properly stored? The more comprehensive the report is the
> better.
> >>>>
> >>>> https://bugzilla.kernel.org/
> >>>
> >>> I will file a bug report.
> >>
> >> Thanks, it's good to store all in one place so that it's easier to
> >> find the relevant info.
> >
> > Just file the bug with the ID 187241 - VLAN support in ATH10k Feel
> > free to ask for adicional info. I did not mention any names in the
> bug
> > report fell free to take credit if wanted.
> 
> Thanks. I'll report it to the firmware team, let's see what happens. If
> there's more information which might help to fix this feel free to
> update that to the bug report.
> 
> https://bugzilla.kernel.org/show_bug.cgi?id=187241
> 
> --
> Kalle Valo



Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2017-02-21 Thread Valo, Kalle
voncken  writes:

> Do you know if the firmware team planned to fix the VLAN issue on ath10k
> firmware?

I reported it forward only this week.

-- 
Kalle Valo

RE: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-15 Thread voncken
Hi Ben, 

Do you plan to release a candelatech firmware with this fix?

Regards.

Cedric Voncken.
> -Message d'origine-
> De : linux-wireless-ow...@vger.kernel.org [mailto:linux-wireless-
> ow...@vger.kernel.org] De la part de Ben Greear
> Envoyé : samedi 5 novembre 2016 15:35
> À : Sebastian Gottschall; yu-chieh kung; Bruno Antunes
> Cc : Mauro Mozzarelli; linux-wireless@vger.kernel.org; OpenWrt
> Development List; ath...@lists.infradead.org
> Objet : Re: [OpenWrt-Devel] ATH10K VLAN firmware issue
> 
> Looks to me like 10.4 defaults to the right value, but possibly there
> are other issues with it.  I tested my CT 10.4 and it worked OK with
> vlans for me.
> 
> Thanks,
> Ben
> 
> On 11/05/2016 01:05 AM, Sebastian Gottschall wrote:
> > would be good if qca can fix this bug finally in all available
> > firmwares. its a very annoying issue since a long time
> >
> > Sebastian
> >
> >
> > Am 04.11.2016 um 23:23 schrieb Ben Greear:
> >> 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.
> >>
> >> 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.
> >>
> >> https://www.candelatech.com/downloads/tmp/firmware-2-full-
> community.b
> >> in
> >>
> >>
> >> Thanks,
> >> Ben
> >>
> >>
> >> On 11/04/2016 02:50 PM, Ben Greear wrote:
> >>> I can reproduce this in my CT firmware. I'll see if I can fix it,
> >>> but for stock firmware, it might be that changing the driver to use
> >>> Ethernet packet type of native-wifi would make .1q vlans work.
> >>>
> >>> Thanks,
> >>> Ben
> >>>
> >>> On 11/04/2016 10:28 AM, yu-chieh kung wrote:
> >>>> I met the same problem before,
> >>>> if i modify the 1q header to other value (0xaa00) before go into
> firmware.
> >>>> I can capture the packet in the air I think the vlan packet is
> >>>> dropped in firmware.
> >>>>
> >>>> 2016-11-04 22:41 GMT+08:00 Bruno Antunes <baantu...@gmail.com>:
> >>>>> On 4 November 2016 at 14:18, Mauro Mozzarelli
> <open...@ezplanet.net> wrote:
> >>>>>> Since the capability is implemented in software you might be
> >>>>>> testing the limit of your router's CPU i/o speed.
> >>>>>
> >>>>> By loading the module in rawmode?
> >>>>>
> >>>>> The AP is an APU and Sta is an APU2.
> >>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> On 04/11/16 14:13, Bruno Antunes wrote:
> >>>>>>>
> >>>>>>> Hi all,
> >>>>>>>
> >>>>>>> Old thread but I think the issue is still present.
> >>>>>>>
> >>>>>>> I'm running a setup with VLANs with WDS and ath10k cards.
> >>>>>>>
> >>>>>>> To make it work both cards must be loaded in rawmode, AP and
> >>>>>>> Sta, and with no security.
> >>>>>>>
> >>>>>>> I'm using a OpenWrt trunk r49941 and the most recent firmware,
> >>>>>>> 10.2.4.70.58, from Kalle ath10k firmware tree.
> >>>>>>>
> >>>>>>> Although it works the throughput is very bad.
> >>>>>>> Are there any alternatives to improve the throughput.
> >>>>>>>
> >>>>>>> Best Regards,
> >>>>>>> Bruno
> >>>>>>>
> >>>>>>> On 9 December 2015 at 17:24, voncken <cedric.vonc...@acksys.fr>
> wrote:
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>> -Message d'origine-
> >>>>>>>>> De : Ben Greear [mailto:gree...@candelatech.com] Envoyé :
> >>>>>>>>> mercredi 9 décembre 2015 16:34 À : Cedric VONCKEN;

Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-15 Thread Ben Greear



On 11/15/2016 07:00 AM, Bruno Antunes wrote:

On 15 November 2016 at 14:55, Ben Greear <gree...@candelatech.com> wrote:

The beta-18 release on my web page has the fix and should work fine.

Probably soon I will promote the beta-18 to final release
status.  Any help in testing and verifying the beta works well
is welcome.


I will also do testing with that version.

For clarity can I refer you and your firmware releases in the bug report?


It is fine by me.  It is a one-line patch to fix the firmware...QCA
can ask me as well if they don't figure it out on their own.

Thanks,
Ben



Thanks,
Bruno


Thanks,
Ben

On 11/15/2016 06:37 AM, voncken wrote:


 Hi Ben,

 Do you plan to release a candelatech firmware with this fix?

 Regards.

Cedric Voncken.


-Message d'origine-
De : linux-wireless-ow...@vger.kernel.org [mailto:linux-wireless-
ow...@vger.kernel.org] De la part de Ben Greear
Envoyé : samedi 5 novembre 2016 15:35
À : Sebastian Gottschall; yu-chieh kung; Bruno Antunes
Cc : Mauro Mozzarelli; linux-wireless@vger.kernel.org; OpenWrt
Development List; ath...@lists.infradead.org
Objet : Re: [OpenWrt-Devel] ATH10K VLAN firmware issue


Looks to me like 10.4 defaults to the right value, but possibly there
are other issues with it.  I tested my CT 10.4 and it worked OK with
vlans for me.

Thanks,
Ben

On 11/05/2016 01:05 AM, Sebastian Gottschall wrote:


would be good if qca can fix this bug finally in all available
firmwares. its a very annoying issue since a long time

Sebastian


Am 04.11.2016 um 23:23 schrieb Ben Greear:


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.



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.



https://www.candelatech.com/downloads/tmp/firmware-2-full-


community.b


in


Thanks,
Ben


On 11/04/2016 02:50 PM, Ben Greear wrote:


I can reproduce this in my CT firmware. I'll see if I can fix it,
but for stock firmware, it might be that changing the driver to use
Ethernet packet type of native-wifi would make .1q vlans work.

Thanks,
Ben

On 11/04/2016 10:28 AM, yu-chieh kung wrote:


I met the same problem before,
if i modify the 1q header to other value (0xaa00) before go into


firmware.


I can capture the packet in the air I think the vlan packet is
dropped in firmware.

2016-11-04 22:41 GMT+08:00 Bruno Antunes <baantu...@gmail.com>:


On 4 November 2016 at 14:18, Mauro Mozzarelli


<open...@ezplanet.net> wrote:


Since the capability is implemented in software you might be
testing the limit of your router's CPU i/o speed.



By loading the module in rawmode?

The AP is an APU and Sta is an APU2.





On 04/11/16 14:13, Bruno Antunes wrote:



Hi all,

Old thread but I think the issue is still present.

I'm running a setup with VLANs with WDS and ath10k cards.

To make it work both cards must be loaded in rawmode, AP and
Sta, and with no security.

I'm using a OpenWrt trunk r49941 and the most recent firmware,
10.2.4.70.58, from Kalle ath10k firmware tree.

Although it works the throughput is very bad.
Are there any alternatives to improve the throughput.

Best Regards,
Bruno

On 9 December 2015 at 17:24, voncken <cedric.vonc...@acksys.fr>


wrote:





-Message d'origine-
De : Ben Greear [mailto:gree...@candelatech.com] Envoyé :
mercredi 9 décembre 2015 16:34 À : Cedric VONCKEN;
ath...@lists.infradead.org; linux-wireless Objet : Re: ATH10K
VLAN firmware issue

This only happens when you use STA  + WDS, or is .1q broken
for you in other cases as well?



No, this issue occurs in all modes (STA, STA + WDS, AP).

Thanks

Cedric.


Thanks,
Ben

On 12/08/2015 06:29 AM, Cedric VONCKEN wrote:



   I'm testing to transmit frame with 802.1q tag (VLAN).

   My client is set in STA + WDS and the netdev is bridged


with eth0.


   I have a computer with vlan configuration set connected
to the STA eth0.

   If I try to transmit frames with 802.1q tag, the frames
are not



sent.



   I checked with wireless sniffer, and I don't see the
frame with VLAN tag (the frames without VLAN tag are sent).

   I tested with firmware 10.2.4.70.14-2 from kale github,
10.1.467-ct-com-full-015 from candelatech and 10.2.4.70-2
from openwrt, and in all cases I have the same issue.

   Thanks for your help.


--
To unsubscribe from this list: send the line "unsubscribe
linux-wireless" in the body of a message to
majord...@vger.kernel.org More majordomo info at
http://vger.kernel.org/majordomo-info.html


--
Ben Greear <gree...@candelatech.com> Candela Technologies Inc
http://www.candelatech.com


Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-15 Thread Bruno Antunes
On 15 November 2016 at 14:55, Ben Greear <gree...@candelatech.com> wrote:
> The beta-18 release on my web page has the fix and should work fine.
>
> Probably soon I will promote the beta-18 to final release
> status.  Any help in testing and verifying the beta works well
> is welcome.

I will also do testing with that version.

For clarity can I refer you and your firmware releases in the bug report?

Thanks,
Bruno
>
> Thanks,
> Ben
>
> On 11/15/2016 06:37 AM, voncken wrote:
>>
>> Hi Ben,
>>
>> Do you plan to release a candelatech firmware with this fix?
>>
>> Regards.
>>
>> Cedric Voncken.
>>>
>>> -Message d'origine-
>>> De : linux-wireless-ow...@vger.kernel.org [mailto:linux-wireless-
>>> ow...@vger.kernel.org] De la part de Ben Greear
>>> Envoyé : samedi 5 novembre 2016 15:35
>>> À : Sebastian Gottschall; yu-chieh kung; Bruno Antunes
>>> Cc : Mauro Mozzarelli; linux-wireless@vger.kernel.org; OpenWrt
>>> Development List; ath...@lists.infradead.org
>>> Objet : Re: [OpenWrt-Devel] ATH10K VLAN firmware issue
>>>
>>>
>>> Looks to me like 10.4 defaults to the right value, but possibly there
>>> are other issues with it.  I tested my CT 10.4 and it worked OK with
>>> vlans for me.
>>>
>>> Thanks,
>>> Ben
>>>
>>> On 11/05/2016 01:05 AM, Sebastian Gottschall wrote:
>>>>
>>>> would be good if qca can fix this bug finally in all available
>>>> firmwares. its a very annoying issue since a long time
>>>>
>>>> Sebastian
>>>>
>>>>
>>>> Am 04.11.2016 um 23:23 schrieb Ben Greear:
>>>>>
>>>>> 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.
>>>>>
>>>>>
>>>>> 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.
>>>>>
>>>>>
>>>>> https://www.candelatech.com/downloads/tmp/firmware-2-full-
>>>
>>> community.b
>>>>>
>>>>> in
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Ben
>>>>>
>>>>>
>>>>> On 11/04/2016 02:50 PM, Ben Greear wrote:
>>>>>>
>>>>>> I can reproduce this in my CT firmware. I'll see if I can fix it,
>>>>>> but for stock firmware, it might be that changing the driver to use
>>>>>> Ethernet packet type of native-wifi would make .1q vlans work.
>>>>>>
>>>>>> Thanks,
>>>>>> Ben
>>>>>>
>>>>>> On 11/04/2016 10:28 AM, yu-chieh kung wrote:
>>>>>>>
>>>>>>> I met the same problem before,
>>>>>>> if i modify the 1q header to other value (0xaa00) before go into
>>>
>>> firmware.
>>>>>>>
>>>>>>> I can capture the packet in the air I think the vlan packet is
>>>>>>> dropped in firmware.
>>>>>>>
>>>>>>> 2016-11-04 22:41 GMT+08:00 Bruno Antunes <baantu...@gmail.com>:
>>>>>>>>
>>>>>>>> On 4 November 2016 at 14:18, Mauro Mozzarelli
>>>
>>> <open...@ezplanet.net> wrote:
>>>>>>>>>
>>>>>>>>> Since the capability is implemented in software you might be
>>>>>>>>> testing the limit of your router's CPU i/o speed.
>>>>>>>>
>>>>>>>>
>>>>>>>> By loading the module in rawmode?
>>>>>>>>
>>>>>>>> The AP is an APU and Sta is an APU2.
>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 04/11/16 14:13, Bruno Antunes wrote:
>>>>>>>>

Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-15 Thread Ben Greear

The beta-18 release on my web page has the fix and should work fine.

Probably soon I will promote the beta-18 to final release
status.  Any help in testing and verifying the beta works well
is welcome.

Thanks,
Ben

On 11/15/2016 06:37 AM, voncken wrote:

Hi Ben,

Do you plan to release a candelatech firmware with this fix?

Regards.

Cedric Voncken.

-Message d'origine-
De : linux-wireless-ow...@vger.kernel.org [mailto:linux-wireless-
ow...@vger.kernel.org] De la part de Ben Greear
Envoyé : samedi 5 novembre 2016 15:35
À : Sebastian Gottschall; yu-chieh kung; Bruno Antunes
Cc : Mauro Mozzarelli; linux-wireless@vger.kernel.org; OpenWrt
Development List; ath...@lists.infradead.org
Objet : Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

Looks to me like 10.4 defaults to the right value, but possibly there
are other issues with it.  I tested my CT 10.4 and it worked OK with
vlans for me.

Thanks,
Ben

On 11/05/2016 01:05 AM, Sebastian Gottschall wrote:

would be good if qca can fix this bug finally in all available
firmwares. its a very annoying issue since a long time

Sebastian


Am 04.11.2016 um 23:23 schrieb Ben Greear:

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.


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.


https://www.candelatech.com/downloads/tmp/firmware-2-full-

community.b

in


Thanks,
Ben


On 11/04/2016 02:50 PM, Ben Greear wrote:

I can reproduce this in my CT firmware. I'll see if I can fix it,
but for stock firmware, it might be that changing the driver to use
Ethernet packet type of native-wifi would make .1q vlans work.

Thanks,
Ben

On 11/04/2016 10:28 AM, yu-chieh kung wrote:

I met the same problem before,
if i modify the 1q header to other value (0xaa00) before go into

firmware.

I can capture the packet in the air I think the vlan packet is
dropped in firmware.

2016-11-04 22:41 GMT+08:00 Bruno Antunes <baantu...@gmail.com>:

On 4 November 2016 at 14:18, Mauro Mozzarelli

<open...@ezplanet.net> wrote:

Since the capability is implemented in software you might be
testing the limit of your router's CPU i/o speed.


By loading the module in rawmode?

The AP is an APU and Sta is an APU2.





On 04/11/16 14:13, Bruno Antunes wrote:


Hi all,

Old thread but I think the issue is still present.

I'm running a setup with VLANs with WDS and ath10k cards.

To make it work both cards must be loaded in rawmode, AP and
Sta, and with no security.

I'm using a OpenWrt trunk r49941 and the most recent firmware,
10.2.4.70.58, from Kalle ath10k firmware tree.

Although it works the throughput is very bad.
Are there any alternatives to improve the throughput.

Best Regards,
Bruno

On 9 December 2015 at 17:24, voncken <cedric.vonc...@acksys.fr>

wrote:




-Message d'origine-
De : Ben Greear [mailto:gree...@candelatech.com] Envoyé :
mercredi 9 décembre 2015 16:34 À : Cedric VONCKEN;
ath...@lists.infradead.org; linux-wireless Objet : Re: ATH10K
VLAN firmware issue

This only happens when you use STA  + WDS, or is .1q broken
for you in other cases as well?


No, this issue occurs in all modes (STA, STA + WDS, AP).

Thanks

Cedric.


Thanks,
Ben

On 12/08/2015 06:29 AM, Cedric VONCKEN wrote:


  I'm testing to transmit frame with 802.1q tag (VLAN).

  My client is set in STA + WDS and the netdev is bridged

with eth0.

  I have a computer with vlan configuration set connected
to the STA eth0.

  If I try to transmit frames with 802.1q tag, the frames
are not


sent.


  I checked with wireless sniffer, and I don't see the
frame with VLAN tag (the frames without VLAN tag are sent).

  I tested with firmware 10.2.4.70.14-2 from kale github,
10.1.467-ct-com-full-015 from candelatech and 10.2.4.70-2
from openwrt, and in all cases I have the same issue.

  Thanks for your help.


--
To unsubscribe from this list: send the line "unsubscribe
linux-wireless" in the body of a message to
majord...@vger.kernel.org More majordomo info at
http://vger.kernel.org/majordomo-info.html


--
Ben Greear <gree...@candelatech.com> Candela Technologies Inc
http://www.candelatech.com


--
To unsubscribe from this list: send the line "unsubscribe

linux-wireless"

in
the body of a message to majord...@vger.kernel.org More
majordomo info at http://vger.kernel.org/majordomo-info.html


___
openwrt-devel mailing list
openwrt-de...@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-

devel


___
openwrt-devel mailin

Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-15 Thread Bruno Antunes
On 15 November 2016 at 13:43, Valo, Kalle  wrote:
> Bruno Antunes  writes:
>
>> On 7 November 2016 at 18:06, Valo, Kalle  wrote:
>>> Bruno Antunes  writes:
>>>
 On 4 November 2016 at 21:17, Valo, Kalle  wrote:

> Can someone file a bug to bugzilla about this so that all the info is
> properly stored? The more comprehensive the report is the better.
>
> https://bugzilla.kernel.org/

 I will file a bug report.
>>>
>>> Thanks, it's good to store all in one place so that it's easier to find
>>> the relevant info.
>>
>> Just file the bug with the ID 187241 - VLAN support in ATH10k Feel
>> free to ask for adicional info. I did not mention any names in the bug
>> report fell free to take credit if wanted.
>
> Thanks. I'll report it to the firmware team, let's see what happens. If
> there's more information which might help to fix this feel free to
> update that to the bug report.

I'm finishing my tests and will update the bug report ASAP.

Turns out the bad throughput was the result of a failure in the switch port.

With Ben's firmware the VLAN support is working fine with security.

Thanks,
Bruno
>
> https://bugzilla.kernel.org/show_bug.cgi?id=187241
>
> --
> Kalle Valo


Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-15 Thread Valo, Kalle
Bruno Antunes  writes:

> On 7 November 2016 at 18:06, Valo, Kalle  wrote:
>> Bruno Antunes  writes:
>>
>>> On 4 November 2016 at 21:17, Valo, Kalle  wrote:
>>>
 Can someone file a bug to bugzilla about this so that all the info is
 properly stored? The more comprehensive the report is the better.

 https://bugzilla.kernel.org/
>>>
>>> I will file a bug report.
>>
>> Thanks, it's good to store all in one place so that it's easier to find
>> the relevant info.
>
> Just file the bug with the ID 187241 - VLAN support in ATH10k Feel
> free to ask for adicional info. I did not mention any names in the bug
> report fell free to take credit if wanted.

Thanks. I'll report it to the firmware team, let's see what happens. If
there's more information which might help to fix this feel free to
update that to the bug report.

https://bugzilla.kernel.org/show_bug.cgi?id=187241

-- 
Kalle Valo

Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-07 Thread Bruno Antunes
On 7 November 2016 at 18:06, Valo, Kalle  wrote:
> Bruno Antunes  writes:
>
>> On 4 November 2016 at 21:17, Valo, Kalle  wrote:
>>> Bruno Antunes  writes:
>>>
 Old thread but I think the issue is still present.

 I'm running a setup with VLANs with WDS and ath10k cards.

 To make it work both cards must be loaded in rawmode, AP
 and Sta, and with no security.

 I'm using a OpenWrt trunk r49941 and the most recent firmware,
 10.2.4.70.58, from Kalle ath10k firmware tree.

 Although it works the throughput is very bad.
 Are there any alternatives to improve the throughput.
>>>
>>> Can someone file a bug to bugzilla about this so that all the info is
>>> properly stored? The more comprehensive the report is the better.
>>>
>>> https://bugzilla.kernel.org/
>>
>> I will file a bug report.
>
> Thanks, it's good to store all in one place so that it's easier to find
> the relevant info.

Just file the bug with the ID 187241 -  VLAN support in ATH10k
Feel free to ask for adicional info.
I did not mention any names in the bug report fell free to take credit
if wanted.

Regards,
Bruno

>
>> But since it appears to be a firmware related issue
>> under what category can fill in the bug?
>
> You can file it under Drivers/network-wireless, AFAIK we don't have any
> separate components for firmware bugs. Here's one example to follow:
>
> https://bugzilla.kernel.org/show_bug.cgi?id=186161
>
> --
> Kalle Valo
> ___
> openwrt-devel mailing list
> openwrt-de...@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-07 Thread Bruno Antunes
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/sec6   1.41 KBytes
>> [  4]   1.01-2.01   sec  0.00 Bytes  0.00 bits/sec1   1.41 KBytes
>> [  4]   2.01-3.01   sec  0.00 Bytes  0.00 bits/sec1   1.41 KBytes
>> [  4]   3.01-4.01   sec  0.00 Bytes  0.00 bits/sec0   1.41 KBytes
>> [  4]   4.01-5.01   sec  0.00 Bytes  0.00 bits/sec0   1.41 KBytes
>> [  4]   5.01-6.01   sec  0.00 Bytes  0.00 bits/sec0   1.41 KBytes
>> [  4]   6.01-7.01   sec  0.00 Bytes  0.00 bits/sec1   1.41 KBytes
>> [  4]   7.01-8.01   sec  0.00 Bytes  0.00 bits/sec0   1.41 KBytes
>> [  4]   8.01-9.01   sec  0.00 Bytes  0.00 bits/sec0   1.41 KBytes
>> [  4]   9.01-10.01  sec  0.00 Bytes  0.00 bits/sec0   1.41 KBytes
>> - - - - - - - - - - - - - - - - - - - - - - - - -
>> [ ID] Interval   Transfer Bandwidth   Retr
>> [  4]   0.00-10.01  sec  42.4 KBytes  34.7 Kbits/sec9
>> 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


Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-07 Thread Ben Greear

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/sec6   1.41 KBytes
[  4]   1.01-2.01   sec  0.00 Bytes  0.00 bits/sec1   1.41 KBytes
[  4]   2.01-3.01   sec  0.00 Bytes  0.00 bits/sec1   1.41 KBytes
[  4]   3.01-4.01   sec  0.00 Bytes  0.00 bits/sec0   1.41 KBytes
[  4]   4.01-5.01   sec  0.00 Bytes  0.00 bits/sec0   1.41 KBytes
[  4]   5.01-6.01   sec  0.00 Bytes  0.00 bits/sec0   1.41 KBytes
[  4]   6.01-7.01   sec  0.00 Bytes  0.00 bits/sec1   1.41 KBytes
[  4]   7.01-8.01   sec  0.00 Bytes  0.00 bits/sec0   1.41 KBytes
[  4]   8.01-9.01   sec  0.00 Bytes  0.00 bits/sec0   1.41 KBytes
[  4]   9.01-10.01  sec  0.00 Bytes  0.00 bits/sec0   1.41 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval   Transfer Bandwidth   Retr
[  4]   0.00-10.01  sec  42.4 KBytes  34.7 Kbits/sec9 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.

First, try just STA to AP, no vlans, and see if you get useful throughput.

Then try with VLANs

Then, try with WDS.

Then try with WDS and vlans.

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


Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-07 Thread Bruno Antunes
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/sec6   1.41 KBytes
[  4]   1.01-2.01   sec  0.00 Bytes  0.00 bits/sec1   1.41 KBytes
[  4]   2.01-3.01   sec  0.00 Bytes  0.00 bits/sec1   1.41 KBytes
[  4]   3.01-4.01   sec  0.00 Bytes  0.00 bits/sec0   1.41 KBytes
[  4]   4.01-5.01   sec  0.00 Bytes  0.00 bits/sec0   1.41 KBytes
[  4]   5.01-6.01   sec  0.00 Bytes  0.00 bits/sec0   1.41 KBytes
[  4]   6.01-7.01   sec  0.00 Bytes  0.00 bits/sec1   1.41 KBytes
[  4]   7.01-8.01   sec  0.00 Bytes  0.00 bits/sec0   1.41 KBytes
[  4]   8.01-9.01   sec  0.00 Bytes  0.00 bits/sec0   1.41 KBytes
[  4]   9.01-10.01  sec  0.00 Bytes  0.00 bits/sec0   1.41 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval   Transfer Bandwidth   Retr
[  4]   0.00-10.01  sec  42.4 KBytes  34.7 Kbits/sec9 sender
[  4]   0.00-10.01  sec  0.00 Bytes  0.00 bits/sec  receiver

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
>


Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-05 Thread Ben Greear

Looks to me like 10.4 defaults to the right value, but possibly there are other
issues with it.  I tested my CT 10.4 and it worked OK with vlans for me.

Thanks,
Ben

On 11/05/2016 01:05 AM, Sebastian Gottschall wrote:

would be good if qca can fix this bug finally in all available firmwares. its a 
very annoying issue since a long time

Sebastian


Am 04.11.2016 um 23:23 schrieb Ben Greear:

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.

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.

https://www.candelatech.com/downloads/tmp/firmware-2-full-community.bin


Thanks,
Ben


On 11/04/2016 02:50 PM, Ben Greear wrote:

I can reproduce this in my CT firmware. I'll see if I can fix it,
but for stock firmware, it might be that changing the driver to use Ethernet 
packet type
of native-wifi would make .1q vlans work.

Thanks,
Ben

On 11/04/2016 10:28 AM, yu-chieh kung wrote:

I met the same problem before,
if i modify the 1q header to other value (0xaa00) before go into firmware.
I can capture the packet in the air
I think the vlan packet is dropped in firmware.

2016-11-04 22:41 GMT+08:00 Bruno Antunes :

On 4 November 2016 at 14:18, Mauro Mozzarelli  wrote:

Since the capability is implemented in software you might be testing the
limit of your router's CPU i/o speed.


By loading the module in rawmode?

The AP is an APU and Sta is an APU2.





On 04/11/16 14:13, Bruno Antunes wrote:


Hi all,

Old thread but I think the issue is still present.

I'm running a setup with VLANs with WDS and ath10k cards.

To make it work both cards must be loaded in rawmode, AP
and Sta, and with no security.

I'm using a OpenWrt trunk r49941 and the most recent firmware,
10.2.4.70.58, from Kalle ath10k firmware tree.

Although it works the throughput is very bad.
Are there any alternatives to improve the throughput.

Best Regards,
Bruno

On 9 December 2015 at 17:24, voncken  wrote:




-Message d'origine-
De : Ben Greear [mailto:gree...@candelatech.com]
Envoyé : mercredi 9 décembre 2015 16:34
À : Cedric VONCKEN; ath...@lists.infradead.org; linux-wireless
Objet : Re: ATH10K VLAN firmware issue

This only happens when you use STA  + WDS, or is .1q broken for you in
other cases as well?


No, this issue occurs in all modes (STA, STA + WDS, AP).

Thanks

Cedric.


Thanks,
Ben

On 12/08/2015 06:29 AM, Cedric VONCKEN wrote:


 I'm testing to transmit frame with 802.1q tag (VLAN).

 My client is set in STA + WDS and the netdev is bridged with eth0.
 I have a computer with vlan configuration set connected to the STA
eth0.

 If I try to transmit frames with 802.1q tag, the frames are not


sent.


 I checked with wireless sniffer, and I don't see the frame with
VLAN
tag (the frames without VLAN tag are sent).

 I tested with firmware 10.2.4.70.14-2 from kale github,
10.1.467-ct-com-full-015 from candelatech and 10.2.4.70-2 from
openwrt, and in all cases I have the same issue.

 Thanks for your help.


--
To unsubscribe from this list: send the line "unsubscribe
linux-wireless" in the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html


--
Ben Greear 
Candela Technologies Inc  http://www.candelatech.com


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless"
in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html


___
openwrt-devel mailing list
openwrt-de...@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-de...@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
ath10k mailing list
ath...@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k













--
Ben Greear 
Candela Technologies Inc  http://www.candelatech.com


Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-05 Thread Sebastian Gottschall
would be good if qca can fix this bug finally in all available 
firmwares. its a very annoying issue since a long time


Sebastian


Am 04.11.2016 um 23:23 schrieb Ben Greear:

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.


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.


https://www.candelatech.com/downloads/tmp/firmware-2-full-community.bin


Thanks,
Ben


On 11/04/2016 02:50 PM, Ben Greear wrote:

I can reproduce this in my CT firmware. I'll see if I can fix it,
but for stock firmware, it might be that changing the driver to use 
Ethernet packet type

of native-wifi would make .1q vlans work.

Thanks,
Ben

On 11/04/2016 10:28 AM, yu-chieh kung wrote:

I met the same problem before,
if i modify the 1q header to other value (0xaa00) before go into 
firmware.

I can capture the packet in the air
I think the vlan packet is dropped in firmware.

2016-11-04 22:41 GMT+08:00 Bruno Antunes :
On 4 November 2016 at 14:18, Mauro Mozzarelli 
 wrote:
Since the capability is implemented in software you might be 
testing the

limit of your router's CPU i/o speed.


By loading the module in rawmode?

The AP is an APU and Sta is an APU2.





On 04/11/16 14:13, Bruno Antunes wrote:


Hi all,

Old thread but I think the issue is still present.

I'm running a setup with VLANs with WDS and ath10k cards.

To make it work both cards must be loaded in rawmode, AP
and Sta, and with no security.

I'm using a OpenWrt trunk r49941 and the most recent firmware,
10.2.4.70.58, from Kalle ath10k firmware tree.

Although it works the throughput is very bad.
Are there any alternatives to improve the throughput.

Best Regards,
Bruno

On 9 December 2015 at 17:24, voncken  
wrote:




-Message d'origine-
De : Ben Greear [mailto:gree...@candelatech.com]
Envoyé : mercredi 9 décembre 2015 16:34
À : Cedric VONCKEN; ath...@lists.infradead.org; linux-wireless
Objet : Re: ATH10K VLAN firmware issue

This only happens when you use STA  + WDS, or is .1q broken for 
you in

other cases as well?


No, this issue occurs in all modes (STA, STA + WDS, AP).

Thanks

Cedric.


Thanks,
Ben

On 12/08/2015 06:29 AM, Cedric VONCKEN wrote:


 I'm testing to transmit frame with 802.1q tag (VLAN).

 My client is set in STA + WDS and the netdev is bridged 
with eth0.
 I have a computer with vlan configuration set connected 
to the STA

eth0.

 If I try to transmit frames with 802.1q tag, the frames 
are not


sent.


 I checked with wireless sniffer, and I don't see the 
frame with

VLAN
tag (the frames without VLAN tag are sent).

 I tested with firmware 10.2.4.70.14-2 from kale github,
10.1.467-ct-com-full-015 from candelatech and 10.2.4.70-2 from
openwrt, and in all cases I have the same issue.

 Thanks for your help.


--
To unsubscribe from this list: send the line "unsubscribe
linux-wireless" in the body of a message to 
majord...@vger.kernel.org

More majordomo info at http://vger.kernel.org/majordomo-info.html


--
Ben Greear 
Candela Technologies Inc  http://www.candelatech.com


--
To unsubscribe from this list: send the line "unsubscribe 
linux-wireless"

in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html


___
openwrt-devel mailing list
openwrt-de...@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-de...@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
ath10k mailing list
ath...@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k











--
Mit freundlichen Grüssen / Regards

Sebastian Gottschall / CTO

NewMedia-NET GmbH - DD-WRT
Firmensitz:  Berliner Ring 101, 64625 Bensheim
Registergericht: Amtsgericht Darmstadt, HRB 25473
Geschäftsführer: Peter Steinhäuser, Christian Scheele
http://www.dd-wrt.com
email: s.gottsch...@dd-wrt.com
Tel.: +496251-582650 / Fax: +496251-5826565



Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-04 Thread Ben Greear

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.

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.

https://www.candelatech.com/downloads/tmp/firmware-2-full-community.bin


Thanks,
Ben


On 11/04/2016 02:50 PM, Ben Greear wrote:

I can reproduce this in my CT firmware.  I'll see if I can fix it,
but for stock firmware, it might be that changing the driver to use Ethernet 
packet type
of native-wifi would make .1q vlans work.

Thanks,
Ben

On 11/04/2016 10:28 AM, yu-chieh kung wrote:

I met the same problem before,
if i modify the 1q header to other value (0xaa00) before go into firmware.
I can capture the packet in the air
I think the vlan packet is dropped in firmware.

2016-11-04 22:41 GMT+08:00 Bruno Antunes :

On 4 November 2016 at 14:18, Mauro Mozzarelli  wrote:

Since the capability is implemented in software you might be testing the
limit of your router's CPU i/o speed.


By loading the module in rawmode?

The AP is an APU and Sta is an APU2.





On 04/11/16 14:13, Bruno Antunes wrote:


Hi all,

Old thread but I think the issue is still present.

I'm running a setup with VLANs with WDS and ath10k cards.

To make it work both cards must be loaded in rawmode, AP
and Sta, and with no security.

I'm using a OpenWrt trunk r49941 and the most recent firmware,
10.2.4.70.58, from Kalle ath10k firmware tree.

Although it works the throughput is very bad.
Are there any alternatives to improve the throughput.

Best Regards,
Bruno

On 9 December 2015 at 17:24, voncken  wrote:




-Message d'origine-
De : Ben Greear [mailto:gree...@candelatech.com]
Envoyé : mercredi 9 décembre 2015 16:34
À : Cedric VONCKEN; ath...@lists.infradead.org; linux-wireless
Objet : Re: ATH10K VLAN firmware issue

This only happens when you use STA  + WDS, or is .1q broken for you in
other cases as well?


No, this issue occurs in all modes (STA, STA + WDS, AP).

Thanks

Cedric.


Thanks,
Ben

On 12/08/2015 06:29 AM, Cedric VONCKEN wrote:


 I'm testing to transmit frame with 802.1q tag (VLAN).

 My client is set in STA + WDS and the netdev is bridged with eth0.
 I have a computer with vlan configuration set connected to the STA
eth0.

 If I try to transmit frames with 802.1q tag, the frames are not


sent.


 I checked with wireless sniffer, and I don't see the frame with
VLAN
tag (the frames without VLAN tag are sent).

 I tested with firmware 10.2.4.70.14-2 from kale github,
10.1.467-ct-com-full-015 from candelatech and 10.2.4.70-2 from
openwrt, and in all cases I have the same issue.

 Thanks for your help.


--
To unsubscribe from this list: send the line "unsubscribe
linux-wireless" in the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
Ben Greear 
Candela Technologies Inc  http://www.candelatech.com


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless"
in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


___
openwrt-devel mailing list
openwrt-de...@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-de...@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
ath10k mailing list
ath...@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k








--
Ben Greear 
Candela Technologies Inc  http://www.candelatech.com



Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-04 Thread Ben Greear

I can reproduce this in my CT firmware.  I'll see if I can fix it,
but for stock firmware, it might be that changing the driver to use Ethernet 
packet type
of native-wifi would make .1q vlans work.

Thanks,
Ben

On 11/04/2016 10:28 AM, yu-chieh kung wrote:

I met the same problem before,
if i modify the 1q header to other value (0xaa00) before go into firmware.
I can capture the packet in the air
I think the vlan packet is dropped in firmware.

2016-11-04 22:41 GMT+08:00 Bruno Antunes :

On 4 November 2016 at 14:18, Mauro Mozzarelli  wrote:

Since the capability is implemented in software you might be testing the
limit of your router's CPU i/o speed.


By loading the module in rawmode?

The AP is an APU and Sta is an APU2.





On 04/11/16 14:13, Bruno Antunes wrote:


Hi all,

Old thread but I think the issue is still present.

I'm running a setup with VLANs with WDS and ath10k cards.

To make it work both cards must be loaded in rawmode, AP
and Sta, and with no security.

I'm using a OpenWrt trunk r49941 and the most recent firmware,
10.2.4.70.58, from Kalle ath10k firmware tree.

Although it works the throughput is very bad.
Are there any alternatives to improve the throughput.

Best Regards,
Bruno

On 9 December 2015 at 17:24, voncken  wrote:




-Message d'origine-
De : Ben Greear [mailto:gree...@candelatech.com]
Envoyé : mercredi 9 décembre 2015 16:34
À : Cedric VONCKEN; ath...@lists.infradead.org; linux-wireless
Objet : Re: ATH10K VLAN firmware issue

This only happens when you use STA  + WDS, or is .1q broken for you in
other cases as well?


No, this issue occurs in all modes (STA, STA + WDS, AP).

Thanks

Cedric.


Thanks,
Ben

On 12/08/2015 06:29 AM, Cedric VONCKEN wrote:


 I'm testing to transmit frame with 802.1q tag (VLAN).

 My client is set in STA + WDS and the netdev is bridged with eth0.
 I have a computer with vlan configuration set connected to the STA
eth0.

 If I try to transmit frames with 802.1q tag, the frames are not


sent.


 I checked with wireless sniffer, and I don't see the frame with
VLAN
tag (the frames without VLAN tag are sent).

 I tested with firmware 10.2.4.70.14-2 from kale github,
10.1.467-ct-com-full-015 from candelatech and 10.2.4.70-2 from
openwrt, and in all cases I have the same issue.

 Thanks for your help.


--
To unsubscribe from this list: send the line "unsubscribe
linux-wireless" in the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
Ben Greear 
Candela Technologies Inc  http://www.candelatech.com


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless"
in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


___
openwrt-devel mailing list
openwrt-de...@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-de...@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
ath10k mailing list
ath...@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k





--
Ben Greear 
Candela Technologies Inc  http://www.candelatech.com



Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-04 Thread yu-chieh kung
I met the same problem before,
if i modify the 1q header to other value (0xaa00) before go into firmware.
I can capture the packet in the air
I think the vlan packet is dropped in firmware.

2016-11-04 22:41 GMT+08:00 Bruno Antunes :
> On 4 November 2016 at 14:18, Mauro Mozzarelli  wrote:
>> Since the capability is implemented in software you might be testing the
>> limit of your router's CPU i/o speed.
>
> By loading the module in rawmode?
>
> The AP is an APU and Sta is an APU2.
>
>>
>>
>>
>> On 04/11/16 14:13, Bruno Antunes wrote:
>>>
>>> Hi all,
>>>
>>> Old thread but I think the issue is still present.
>>>
>>> I'm running a setup with VLANs with WDS and ath10k cards.
>>>
>>> To make it work both cards must be loaded in rawmode, AP
>>> and Sta, and with no security.
>>>
>>> I'm using a OpenWrt trunk r49941 and the most recent firmware,
>>> 10.2.4.70.58, from Kalle ath10k firmware tree.
>>>
>>> Although it works the throughput is very bad.
>>> Are there any alternatives to improve the throughput.
>>>
>>> Best Regards,
>>> Bruno
>>>
>>> On 9 December 2015 at 17:24, voncken  wrote:


> -Message d'origine-
> De : Ben Greear [mailto:gree...@candelatech.com]
> Envoyé : mercredi 9 décembre 2015 16:34
> À : Cedric VONCKEN; ath...@lists.infradead.org; linux-wireless
> Objet : Re: ATH10K VLAN firmware issue
>
> This only happens when you use STA  + WDS, or is .1q broken for you in
> other cases as well?

 No, this issue occurs in all modes (STA, STA + WDS, AP).

 Thanks

 Cedric.

> Thanks,
> Ben
>
> On 12/08/2015 06:29 AM, Cedric VONCKEN wrote:
>>
>>  I'm testing to transmit frame with 802.1q tag (VLAN).
>>
>>  My client is set in STA + WDS and the netdev is bridged with eth0.
>>  I have a computer with vlan configuration set connected to the STA
>> eth0.
>>
>>  If I try to transmit frames with 802.1q tag, the frames are not

 sent.
>>
>>  I checked with wireless sniffer, and I don't see the frame with
>> VLAN
>> tag (the frames without VLAN tag are sent).
>>
>>  I tested with firmware 10.2.4.70.14-2 from kale github,
>> 10.1.467-ct-com-full-015 from candelatech and 10.2.4.70-2 from
>> openwrt, and in all cases I have the same issue.
>>
>>  Thanks for your help.
>>
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe
>> linux-wireless" in the body of a message to majord...@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
> --
> Ben Greear 
> Candela Technologies Inc  http://www.candelatech.com

 --
 To unsubscribe from this list: send the line "unsubscribe linux-wireless"
 in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>
>>> ___
>>> openwrt-devel mailing list
>>> openwrt-de...@lists.openwrt.org
>>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>>
>> ___
>> openwrt-devel mailing list
>> openwrt-de...@lists.openwrt.org
>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
> ___
> ath10k mailing list
> ath...@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k


Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-04 Thread Bruno Antunes
On 4 November 2016 at 14:18, Mauro Mozzarelli  wrote:
> Since the capability is implemented in software you might be testing the
> limit of your router's CPU i/o speed.

By loading the module in rawmode?

The AP is an APU and Sta is an APU2.

>
>
>
> On 04/11/16 14:13, Bruno Antunes wrote:
>>
>> Hi all,
>>
>> Old thread but I think the issue is still present.
>>
>> I'm running a setup with VLANs with WDS and ath10k cards.
>>
>> To make it work both cards must be loaded in rawmode, AP
>> and Sta, and with no security.
>>
>> I'm using a OpenWrt trunk r49941 and the most recent firmware,
>> 10.2.4.70.58, from Kalle ath10k firmware tree.
>>
>> Although it works the throughput is very bad.
>> Are there any alternatives to improve the throughput.
>>
>> Best Regards,
>> Bruno
>>
>> On 9 December 2015 at 17:24, voncken  wrote:
>>>
>>>
 -Message d'origine-
 De : Ben Greear [mailto:gree...@candelatech.com]
 Envoyé : mercredi 9 décembre 2015 16:34
 À : Cedric VONCKEN; ath...@lists.infradead.org; linux-wireless
 Objet : Re: ATH10K VLAN firmware issue

 This only happens when you use STA  + WDS, or is .1q broken for you in
 other cases as well?
>>>
>>> No, this issue occurs in all modes (STA, STA + WDS, AP).
>>>
>>> Thanks
>>>
>>> Cedric.
>>>
 Thanks,
 Ben

 On 12/08/2015 06:29 AM, Cedric VONCKEN wrote:
>
>  I'm testing to transmit frame with 802.1q tag (VLAN).
>
>  My client is set in STA + WDS and the netdev is bridged with eth0.
>  I have a computer with vlan configuration set connected to the STA
> eth0.
>
>  If I try to transmit frames with 802.1q tag, the frames are not
>>>
>>> sent.
>
>  I checked with wireless sniffer, and I don't see the frame with
> VLAN
> tag (the frames without VLAN tag are sent).
>
>  I tested with firmware 10.2.4.70.14-2 from kale github,
> 10.1.467-ct-com-full-015 from candelatech and 10.2.4.70-2 from
> openwrt, and in all cases I have the same issue.
>
>  Thanks for your help.
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe
> linux-wireless" in the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
 --
 Ben Greear 
 Candela Technologies Inc  http://www.candelatech.com
>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-wireless"
>>> in
>>> the body of a message to majord...@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>> ___
>> openwrt-devel mailing list
>> openwrt-de...@lists.openwrt.org
>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
> ___
> openwrt-devel mailing list
> openwrt-de...@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel