En/na Jonas Gorski ha escrit:

The code looks good. I don't know much about proper kernel debugging,
so my next step would be e.g. printk'ing the first 16 bytes of
received packets, so you have the ethernet header + the atheros

Yes, that will be my next step

header, if VLAN is enabled (you should only see the atheros header in
this case).

So you should probably either see:

[dst mac] [src mac] [0x80 0x0?] [first two bytes of content]
or
[ath header] [dst mac] [src mac] [0x81 0x00]

I think the atheros header should look something like [0x10 0x8<src_port>]).

Btw, you should have "ethX: AR8216 switch driver attached." line in
your kernel log, do you see it?

Yes.

Bye
--
Luca

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to