]> git.baikalelectronics.ru Git - kernel.git/commit
{nl,cfg,mac}80211: Implement RSSI threshold for mesh peering
authorAshok Nagarajan <ashok@cozybit.com>
Wed, 29 Feb 2012 01:04:08 +0000 (17:04 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 5 Mar 2012 20:23:15 +0000 (15:23 -0500)
commitad004f09466ad09c085485fe551505e1d2d8b333
tree8e48d0cf30f3e94475ee80479308e98908b3c0bc
parentd4cfbff2b7630fc6d44963ed0b76468ac7f88968
{nl,cfg,mac}80211: Implement RSSI threshold for mesh peering

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. This
feature is supported only for hardwares that report signal in dBm.

Signed-off-by: Ashok Nagarajan <ashok@cozybit.com>
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/nl80211.h
include/net/cfg80211.h
net/mac80211/cfg.c
net/mac80211/debugfs_netdev.c
net/mac80211/mesh_plink.c
net/wireless/mesh.c
net/wireless/nl80211.c