On Tue, 2016-02-02 at 08:12 +0100, Sven Eckelmann wrote: > The change from cur_tp to the function > minstrel_get_tp_avg/minstrel_ht_get_tp_avg changed the unit used for > the > current throughput. For example in minstrel_ht the correct > conversion between them would be: > > mrs->cur_tp / 10 == minstrel_ht_get_tp_avg(..). > > This factor 10 must also be included in the calculation of > minstrel_get_expected_throughput and > minstrel_ht_get_expected_throughput to > return values with the unit [Kbps] instead of [10Kbps]. Otherwise > routing > algorithms like B.A.T.M.A.N. V will make incorrect decision based on > these > values. Its kernel based implementation expects expected_throughput > always > to have the unit [Kbps] and not sometimes [10Kbps] and sometimes > [Kbps]. > Applied; also added Cc stable. 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