Search Linux Wireless

Re: IBSS issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2009-02-27 at 16:02 +0530, Sujith wrote:
> Alina Friedrichsen wrote:
> > Maybe because the scanning code was changed? But I have discovered this bug
> > at the end of the last year before the scanning code was changed the last time.
> 
> Not sure, but this is a bug for sure.
> 
> > > And it can be fixed by
> > > making use of the scan start/stop mac80211 callbacks.
> > 
> > I think a much cleaner way would be if the ath9k_hw_write_associd() honor the FIF_BCN_PRBRESP_PROMISC flag and determine with it if sc->curbssid should be set or ath_bcast_mac. So the the old sc->curbssid setting is saved. And then remove the following code...
> > 
> > if (*total_flags & FIF_BCN_PRBRESP_PROMISC) {
> >         memcpy(sc->curbssid, ath_bcast_mac, ETH_ALEN);
> >         sc->curaid = 0;
> > 
> > ...so that ath9k_hw_write_associd() is called if the FIF_BCN_PRBRESP_PROMISC is cleared at the end of the scanning, too. So that it can set the BSSID in the hardware back to sc->curbssid.
> > 
> 
> Sure, either way works, since FIF_BCN_PRBRESP_PROMISC is set only during scanning
> anyway.

It can be set manually with monitor interface I think.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux