On Sunday, 9 June 2019 18:37:54 HKT Sven Eckelmann wrote:
No, we are not interested in rx rate for tx throughput estimations.
Before ruling rx out, can you explain your thinking behind this magic formula (if smaller compute sum and divide by 6):
+ if (sinfo.filled & BIT(NL80211_STA_INFO_TX_BITRATE)) { + tx = cfg80211_calculate_bitrate(&sinfo.txrate); + if (sinfo.filled & BIT(NL80211_STA_INFO_RX_BITRATE)) { + rx = cfg80211_calculate_bitrate(&sinfo.rxrate); + if (rx < tx) { + return (rx + tx) / 6; + } + } + return tx / 3; + }
Thanks, Marek