Search Linux Wireless

Re: [PATCH] {nl,cfg,mac}80211: Enable control quality monitoring for mesh

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

 



On Thu, 2012-02-23 at 18:30 -0800, Ashok Nagarajan wrote:

> +/*
> + * NOTE: Mesh peer links are established only if average rssi of the peer
> + * candidate satisfies the threshold. sta_meets_rssi_treshold doesn't use
> + * hysteresis as fluctuations around threshold have no adverse effects.
> + */
> +
> +#define sta_meets_rssi_threshold(sta, sdata) \
> +		(sdata->vif.bss_conf.cqm_rssi_thold == 0 || \
> +		((s8) -ewma_read(&sta->avg_signal)) > \
> +		 sdata->vif.bss_conf.cqm_rssi_thold)

This also isn't right, you're using a value (bss_conf.cqm_rssi_thold)
intended for *signalling* for actual *decision making*.

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