Search Linux Wireless

Re: [PATCH] cfg80211: Return beacon loss count in station

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

 



On Mon, Dec 12, 2011 at 1:06 AM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
> On Fri, 2011-12-09 at 11:01 -0800, Paul Stewart wrote:
>> If station info contains a beacon loss count, return
>> it to userspace.
>
>
>> + * @NL80211_STA_INFO_BEACON_LOSS: count of times beacon loss was detected (u32)
>
> Hmm, this is very vague. Are you sure it does what you think it does?
> Some drivers like wl12xx might not trigger the beacon loss function for
> every beacon, instead aggregating things. I implemented this in iwlwifi
> once and it would only tell mac80211 roughly every 20 beacons about
> missed ones...
>
> This should at least be documented, but I fear it makes the value rather
> useless in the general case.

I actually differ on that.  I completely agree that this is not a
count of how many beacons were lost, but it does represent an
important statistic worth measuring, which is how often the system
enters a state where it is trying to recover from beacon loss.  You
can't get this information anywhere else (unless you turn on
MAC80211_VERBOSE_DEBUG and go trawling through the logs) and my aim is
to collect swaths of this information to get qualitative information
about the occurrence count of this situation for a large population of
users.  It seems like the cleanest way to get at it, regardless of the
somewhat device-specific interpretation (which one can always account
for).

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