Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2012 07:58:19 +0100
From:      Martin <nakal@web.de>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: kern/149516: [ath] ath(4) hostap with fake MAC/BSSID results in station dropping packets when associated
Message-ID:  <20121130075819.42a8c41c@zelda.sugioarto.com>
In-Reply-To: <CAJ-Vmon4n2WP1cSzN6%2BGRcsTJ2D26Us_W8j7Th98GgUd0txkKA@mail.gmail.com>
References:  <201211291940.qATJe1Jf033574@freefall.freebsd.org> <CAJ-Vmo=0kvPO=ioieDeaciX2E-37RUt756qMA07W7NyoDSPzKQ@mail.gmail.com> <20121129214512.4909fa8f@zelda.sugioarto.com> <CAJ-Vmokc=RZJyR_KCCpqxwBQyphc7VdAT5RBduF=g8pi_F0BEQ@mail.gmail.com> <20121129223901.686290ce@zelda.sugioarto.com> <CAJ-Vmo=y0PKWXHoxJUXnj%2BV%2B=%2BEBZa5B8F0rY_1_ZU7nxgxMrg@mail.gmail.com> <20121129225347.757b1fc8@zelda.sugioarto.com> <CAJ-Vmon4n2WP1cSzN6%2BGRcsTJ2D26Us_W8j7Th98GgUd0txkKA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am Thu, 29 Nov 2012 13:56:35 -0800
schrieb Adrian Chadd <adrian@freebsd.org>:

> Hi,
> 
> Yes. As I said, the whole "configure an alternate MAC" thing isn't
> very consistent and I'm sure that the whole migration to VAP
> interfaces made some of the MAC BSSID and local ethernet card address
> programming "inconsistent."

Hi,

this is not good, if alternate MACs are not supported, because you also
need them to configure multiple access points in hostapd. Take a look
at the end of the hostapd.conf in examples. This definitely takes away
features.

Like I said... the ath(4) driver is dropping/blocking/filtering the
packets somewhere in the send code. The receive part and the network
operation generally work correctly, as far as I can remember.

> If you want to take a look at whta's in the card:
> 
> * add ATH_DIAGAPI, AH_DEBUG, ATH_DEBUG to your kernel, recompile
> * compile up src/tools/tools/ath/
> * use athregs -i athX , look at the BSS and MAC registers to see what
> address it has configured.
> 
> I bet htose aren't "right"..

I'll take a look at it soon.

--
Martin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121130075819.42a8c41c>