Search Linux Wireless

Re: [PATCH 4/5] nl80211/mac80211: Add channel utilization to survey

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

 



On Tue, Oct 5, 2010 at 2:55 AM, Bruno Randolf <br1@xxxxxxxxxxx> wrote:
> This adds three new values to the survey results:
>
> Â* BUSY - percentage of time the channel was busy
> Â* BUSY_TX - percentage of time spent transmitting frames
> Â* BUSY_RX - percentage of time spent receiving frames
>
> They are defined to be a percentage of time, normalized to 255. That way they
> match the Channel Utilization of the BSS Load IE of 802.11-2007, chapter
> 7.3.2.28, in case we want to use that later.
>
> I admit that these three values are ath[59]k centric - it's what is available
> there, and i don't know if other chipsets have similar information.
>
> Signed-off-by: Bruno Randolf <br1@xxxxxxxxxxx>
> ---
> Âinclude/linux/nl80211.h | Â 10 ++++++++++
> Âinclude/net/cfg80211.h Â| Â Â6 ++++++
> Ânet/wireless/nl80211.c Â| Â Â9 +++++++++
> Â3 files changed, 25 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
> index f0518b0..2cc74a2 100644
> --- a/include/linux/nl80211.h
> +++ b/include/linux/nl80211.h
> @@ -1400,6 +1400,13 @@ enum nl80211_reg_rule_flags {
> Â* @__NL80211_SURVEY_INFO_INVALID: attribute number 0 is reserved
> Â* @NL80211_SURVEY_INFO_FREQUENCY: center frequency of channel
> Â* @NL80211_SURVEY_INFO_NOISE: noise level of channel (u8, dBm)
> + * @NL80211_SURVEY_INFO_BUSY: channel busy ratio (u8, percentage of time,
> + * Â Â normalized to 255 so it matches Channel Utilization of the BSS Load IE
> + * Â Â of 802.11-2007 chapter 7.3.2.28)

Neat, so this could be used to help with roaming it seems.. Now as you
noted this is defined pretty specifically on 802.11-2007 chapter
7.3.2.28.

> + * @NL80211_SURVEY_INFO_BUSY_TX: percentage of time spent transmitting frames
> + * Â Â (u8, percent 0-255, see above)

But here you say look above, can you be more specific how this relates
to 802.11-2007 chapter 7.3.2.28 ?

> + * @NL80211_SURVEY_INFO_BUSY_RX: percentage of time spent receiving frames
> + * Â Â (u8, percent 0-255, see above)

Same here.

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