Search Linux Wireless

Re: [PATCH] mac80211: introduce beacon-only timing data

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

 



On Fri, 2013-02-08 at 19:10 +0200, Kalle Valo wrote:
> Hi,
> 
> I'm getting seriously behind email, but...
> 
> Johannes Berg <johannes@xxxxxxxxxxxxxxxx> writes:
> 
> > In order to be able to predict the next DTIM TBTT
> > in the driver, add the ability to use timing data
> > from beacons only with the new hardware flag
> > IEEE80211_HW_TIMING_BEACON_ONLY and the BSS info
> > value sync_dtim_count which is only valid if the
> > timing data came from a beacon. The data can only
> > come from a beacon, and if no beacon was received
> > before association it is updated later together
> > with the DTIM count notification.
> 
> Just out of curiosity, who uses this?

I have a patch for our MVM driver to use it. And in fact, our DVM driver
should probably use it as well, but it seems to work without since it
only really supports a single channel (although it might explain the
beacon loss it has when using P2P? not sure)

The thing is that the device wants to know when to expect the DTIM
beacon, so it can schedule powersave correctly. It needs this from a
beacon frame because probe response frames don't tell you when to expect
a DTIM TBTT (1). Hence, this patch.

johannes

(1) technically, the spec says somewhere that if you calculate backwards
in time TSF==0 is a DTIM TBTT, but not all APs even have TSF==0 as a
TBTT, let alone a DTIM TBTT.

--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux