Search Linux Wireless

Re: IBSS issues

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

 



Alina Friedrichsen wrote:
> > Scenario:
> >
> >  * Create a new cell using ath9k.
> >  * Wait for a while to do a background merge scan run.
> >  * Join the cell from another peer ( say, using ath5k ).
> >  * Station dump in peer1 1 doesn't show the new peer right away.
> >  * The merge runs are not supposed to happen if a cell has more than one
> > peer.
> >    It didn't happen before, but it keeps running repeatedly now.
> >  * Ping from peer2 to peer1 doesn't go through - peer1 to peer2 works
> > though.
> 
> 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...
> 

Yep. It works after the ping from peer1 to peer2.

> > I identified one bug, where the timestamp in the beacon template was not
> > updated.
> > Patch below. But it doesn't fix the issue.
> 
> The TSF of the beacon is setted by the hardware automatically, so to write it in the template is not needed.

When peer2 joins the cell, the next TBTT is calculated based on the received beacon's
timestamp. And since the TSF is reset in __ieee80211_sta_join_ibss(), to program
the TBTT timers, the timestamp is needed.

Sujith
--
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