Search Linux Wireless

Re: [PATCH v2] {nl,cfg,mac}80211: Implement RSSI threshold for mesh peering

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

 



On Mon, 2012-02-27 at 14:38 -0800, Ashok Nagarajan wrote:
> Mesh peer links are established only if average rssi of the peer
> candidate satisfies the threshold. This is not in 802.11s specification
> but was requested by David Fulgham, an open80211s user. This is a way to avoid
> marginal peer links with stations that are barely within range.
> 
> This patch adds a new mesh configuration parameter, mesh_rssi_threshold.
> 
> Signed-off-by: Ashok Nagarajan <ashok@xxxxxxxxxxx>
> Signed-off-by: Javier Cardona <javier@xxxxxxxxxxx>
> ---
> v2: create mesh-specific rssi_threshold parameter (Johannes)
> 
>  include/linux/nl80211.h       |    4 ++++
>  include/net/cfg80211.h        |    1 +
>  net/mac80211/cfg.c            |    2 ++
>  net/mac80211/debugfs_netdev.c |    2 ++
>  net/mac80211/mesh_plink.c     |   22 +++++++++++++++++++++-
>  net/wireless/mesh.c           |    3 +++
>  net/wireless/nl80211.c        |    5 +++++
>  7 files changed, 38 insertions(+), 1 deletions(-)
> 
> diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
> index be35a68..0a05d17 100644
> --- a/include/linux/nl80211.h
> +++ b/include/linux/nl80211.h
> @@ -2112,6 +2112,9 @@ enum nl80211_mntr_flags {
>   * @NL80211_MESHCONF_FORWARDING: set Mesh STA as forwarding or non-forwarding
>   * or forwarding entity (default is TRUE - forwarding entity)
>   *
> + * @NL80211_MESHCONF_RSSI_THRESHOLD: specifies the threshold for average signal
> + * strength of candidate station to establish a peer link.

Please specify the unit. I don't actually know what the unit is -- it
seems to be either dBm or "unspec" when you compare it to avg_signal, so
it's hardware dependent -- to me that doesn't sound like a good idea.

Maybe this should work only for devices that report dBm?

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


[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