Search Linux Wireless

Re: IBSS issues

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

 



Hi Sujith!

> The strange thing is after the ping from peer1 to peer2, the ping from
> peer2 to peer1 works too. The same is if I start tcpdump on peer1. After
> stopping tcpdump it keeps working. Looking...

I found it. :)
The problem is the following code:
[drivers/net/wireless/ath9k/main.c, ath9k_configure_filter(), line 2399]

if (changed_flags & FIF_BCN_PRBRESP_PROMISC) {
        if (*total_flags & FIF_BCN_PRBRESP_PROMISC) {
                memcpy(sc->curbssid, ath_bcast_mac, ETH_ALEN);
                sc->curaid = 0;
                ath9k_hw_write_associd(sc);
        }
}

On scanning the BSSID is set to the broadcast MAC, but never set back.

Im not sure how to fix it in the cleanest way. I know to less about the handling of multi interface devices. ath9k people can you help please?

Thanks
Alina

-- 
Computer Bild Tarifsieger! GMX FreeDSL - Telefonanschluss + DSL
für nur 17,95 ¿/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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