{% for config, result in results.items() %}
Setup | STA | TCP Max Throughput (Mbps) | UDP Transmitted Throughput (Mbps) | UDP Measured Throughput (Mbps) | UDP Expected Throughput (Mbps) | Result | |||||
---|---|---|---|---|---|---|---|---|---|---|---|
{{setup_name.replace('-', ' ').replace('_', ' ')}} | STA1 | {% if tcp_throughput_1 is not none %}{{ (tcp_throughput_1 / 1e6)|round(2) }} | {{ (test_setup['results']['sta1_udp_transmission_rate'] / 1e6)|round(2) }} | {{ (udp_throughput_1/ 1e6)|round(2) }} | {{ ((tcp_throughput_1 * 0.45) / 1e6)|round(2) }} | {% set plot_section = "#plot_" + setup_name.replace('-', ' ').replace('_', ' ') %}{% if test_setup["status"]["sta1_throughput_max_dl"]["passed"] %} {% else %} {% endif %} | {% else %}{% endif %} | ||||
STA2 | {% if tcp_throughput_2 is not none %}{{ (tcp_throughput_2/ 1e6)|round(2) }} | {{ (test_setup['results']['sta2_udp_transmission_rate'] / 1e6)|round(2) }} | {{ (udp_throughput_2 / 1e6)|round(2) }} | {{ ((tcp_throughput_2* 0.45) / 1e6)|round(2) }} | {% if test_setup["status"]["sta2_throughput_max_dl"]["passed"] %} {% else %} {% endif %} | {% else %}{% endif %} | |||||
STA3 | {% if tcp_throughput_3 is not none %}{{ (tcp_throughput_3 / 1e6)|round(2) }} | {{ (test_setup['results']['sta3_udp_transmission_rate'] / 1e6)|round(2) }} | {{ (udp_throughput_3 / 1e6)|round(2) }} | {{ ((tcp_throughput_3 * 0.45) / 1e6)|round(2) }} | {% if test_setup["status"]["sta3_throughput_max_dl"]["passed"] %} {% else %} {% endif %} | {% else %}{% endif %} | |||||
STA1+2 | {% if tcp_throughput_1 is not none and tcp_throughput_2 is not none %}{{ ((udp_throughput_1 + udp_throughput_2) / 1e6)|round(2) }} | {{ (test_setup['results']['expected_throughput'] / 1e6)|round(2) }} | {% if test_setup["status"]["total_throughput"]["passed"] %} {% else %} {% endif %} | {% else %}{% endif %} | |||||||
STA1+3 | {% if tcp_throughput_1 is not none and tcp_throughput_3 is not none %}{{ ((udp_throughput_1 + udp_throughput_3) / 1e6)|round(2) }} | {{ ((test_setup['results']['expected_throughput']) / 1e6)|round(2) }} | {% if test_setup["status"]["total_throughput"]["passed"] %} {% else %} {% endif %} | {% else %}{% endif %} |
FAIL
{% for cause in setup["status"]["failure_causes"] %}{{cause}}
{% endfor %} {% else %}PASS
{% endif %} {% if setup["results"]["sta1_throughput_max_dl"] is not none %} {{setup["plot"]}} {% else %} {% for error in setup["status"]["error_log"] %}{{error}}
{% endfor %} {% endif %} {% endfor %} {% endfor %}