Search Linux Wireless

Re: [PATCH 1/3] mac80211: Include sequence number in IBSS and Mesh beacons

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

 



On Wednesday 09 July 2008, Johannes Berg wrote:
> On Wed, 2008-07-09 at 16:04 +0200, Ivo van Doorn wrote:
> > On Wednesday 09 July 2008, Michael Buesch wrote:
> > > On Wednesday 09 July 2008 15:11:45 Ivo van Doorn wrote:
> > > > Currently only beacons generated in AP mode have the software
> > > > sequence number inserted. This means IBSS and Mesh mode are broken
> > > > for all hardware that require software sequence numbers.
> > > 
> > > Does software seq numbering even work at all?
> > > What about packets that get sent between the driver requested the
> > > beacon and the driver does actually queue it?
> > 
> > For rt2x00 the beacon is requested and queued within interrupt context
> > or during resume when it doesn't allow mac80211 to send any frames yet.
> 
> Ok, in interrupt context definitely works.
> 
> > The problem would be when the config_interface() is called, if during that
> > call mac80211 also sends out TX frames, then you get problems in the
> > sequence counting.
> 
> Well, if you care about the beacon in config_interface() you're
> implementing hwseq since otherwise you'd only request it when you need
> it, no?

No not really, because from what moment can the driver start requesting beacons?
I would think when mac80211 calls config_interface with the IEEE80211_IFCC_BEACON
flag. ;)

At that moment the first beacon is loaded, and the device will trigger the interrupt
to request a new beacon every x milliseconds.

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