2015-06-03 15:40:51

by Cedric VONCKEN

[permalink] [raw]
Subject: ATH10K and VLAN

I'm testing to send a VLAN frame through ATH10K device.
I'm using compat wireless 2015-03-09 from openWRT. The ATH10K firmware used is 10.2.4.45

My test platform is:
Pc1 : IP 10.101.4.3 (without VLAN)
VLAN 1 : IP 192.168.5.1

Equipment in AP mode. The netdev is bridged with eth0

Equipment in client mode with WDS mode enables. The client is connected to the AP. The netdev is bridged with eth0.
AP and client use ATH10K wireless card.

PC2: IP 10.101.4.4 (without VLAN)
VLAN 1 : IP 192.168.5.2

The PC1 is connected to the equipment in AP mode and the PC2 is connected to the equipment in client mode.


I can ping from PC1 to PC2 without vlan (ping 10.101.4.4).
I cannot ping from PC1 to PC2 with VLAN.
With tcpdump I checked the vlan frame is sent to the netdev but this frame is not send to the air.

Is it possible to send a VLAN frame through ATH10K? If no, is it a driver limitation or firmware limitation?

Thanks for your help.

C?dric.





2015-06-05 05:41:58

by Michal Kazior

[permalink] [raw]
Subject: Re: ATH10K and VLAN

On 3 June 2015 at 16:46, Cedric VONCKEN <[email protected]> wrote:
> I'm testing to send a VLAN frame through ATH10K device.
> I'm using compat wireless 2015-03-09 from openWRT. The ATH10K firmware used is 10.2.4.45
>
> My test platform is:
> Pc1 : IP 10.101.4.3 (without VLAN)
> VLAN 1 : IP 192.168.5.1
>
> Equipment in AP mode. The netdev is bridged with eth0
>
> Equipment in client mode with WDS mode enables. The client is connected to the AP. The netdev is bridged with eth0.
> AP and client use ATH10K wireless card.
>
> PC2: IP 10.101.4.4 (without VLAN)
> VLAN 1 : IP 192.168.5.2
>
> The PC1 is connected to the equipment in AP mode and the PC2 is connected to the equipment in client mode.
>
>
> I can ping from PC1 to PC2 without vlan (ping 10.101.4.4).
> I cannot ping from PC1 to PC2 with VLAN.
> With tcpdump I checked the vlan frame is sent to the netdev but this frame is not send to the air.
>
> Is it possible to send a VLAN frame through ATH10K? If no, is it a driver limitation or firmware limitation?

I'm not sure if IFTYPE_WDS works with ath10k but IFTYPE_AP_VLAN works
fine for me on latest github.com/kvalo/ath master branch. Can you test
if it works with no encryption, please?


MichaƂ