[ath9k-devel] Dropped frames (unauthorized port) in AP mode
johannes at sipsolutions.net
Sat Jun 22 04:12:56 EDT 2013
On Fri, 2013-06-21 at 05:12 +0200, Mihai Moldovan wrote:
> * On 18.06.2013 11:25 PM, Mihai Moldovan wrote:
> > [...]
> > Looking at the kernel source (net/mac80211/tx.c), this condition is being triggered:
> > if (unlikely(!ieee80211_vif_is_mesh(&sdata->vif) &&
> > !is_multicast_ether_addr(hdr.addr1) && !authorized &&
> > (cpu_to_be16(ethertype) != sdata->control_port_protocol ||
> > !ether_addr_equal(sdata->vif.addr, skb->data + ETH_ALEN))))
> Fugly print-debugged this statement, and I'm heavily confused.
> The subcondition "cpu_to_be16(ethertype) != sdata->control_port_protocol" is
> true for me!
> Thus, I checked "sdata->control_port_protocol", which is ETH_P_PAE (0x888E)...
> i.e., 802.1X. Great for WiFi authentication.
> "ethertype", on the other hand, is ETH_P_DDCMP (0x0006) which left me totally
> confused! How is this possible? ethertype should ideally also be ETH_P_PAE,
> definitely not some only internally used DECnet port protocol.
Anyway, this might just be some random bridging frames.
More information about the HostAP