On Thu, 2012-02-23 at 18:30 -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. > > Signed-off-by: Ashok Nagarajan <ashok@xxxxxxxxxxx> > Signed-off-by: Javier Cardona <javier@xxxxxxxxxxx> > --- > drivers/net/wireless/mac80211_hwsim.c | 1 + > net/mac80211/cfg.c | 1 + > net/mac80211/mesh_plink.c | 22 +++++++++++++++++++++- > net/wireless/nl80211.c | 3 ++- > 4 files changed, 25 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c > index 4b9e730..ca7d5a6 100644 > --- a/drivers/net/wireless/mac80211_hwsim.c > +++ b/drivers/net/wireless/mac80211_hwsim.c > @@ -729,6 +729,7 @@ static int mac80211_hwsim_add_interface(struct ieee80211_hw *hw, > __func__, ieee80211_vif_type_p2p(vif), > vif->addr); > hwsim_set_magic(vif); > + vif->driver_flags |= IEEE80211_VIF_SUPPORTS_CQM_RSSI; That isn't right, hwsim does nothing to support CQM. 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