I just noticed the patch. Here is the new bandwidth values in the patch, but we need double check this.
GPRS: _Configs(50 * 1024, 20 * 1024, 500), ==> 50 mbps
REGULAR_2G: _Configs(250 * 1024, 50 * 1024, 300),
GOOD_2G: _Configs(450 * 1024, 150 * 1024, 150),
REGULAR_3G: _Configs(750 * 1024, 250 * 1024, 100),
GOOD_3G: _Configs(1.5 * 1024 * 1024, 750 * 1024, 40),
REGULAR_4G: _Configs(4 * 1024 * 1024, 3 * 1024 * 1024, 20),
DSL: _Configs(2 * 1024 * 1024, 1 * 1024 * 1024, 5),
WIFI: _Configs(30 * 1024 * 1024, 15 * 1024 * 1024, 2), ==> 30 Giga bits per second
Instead, in all configurations, we need to remove the multiplication with 1024.
Correct values should be:
GPRS: _Configs(50, 20, 500), ==> 50 kbps
WIFI: _Configs(30 * 1024, 15 * 1024, 2), ==> 30 mbps
Eg:
{title: "WiFi", value: {throughput: 30 * 1024 * 1024 / 8, latency: 2}}
throughputInKbps = (30 * 1024 * 1024 / 8) / (1024 / 8)
That becomes (30 * 1024) Kbps.
BR,
Sarath