Changes between Version 4 and Version 5 of 802.11/wlan_exp/examples


Ignore:
Timestamp:
Feb 12, 2014, 12:19:57 PM (10 years ago)
Author:
murphpo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 802.11/wlan_exp/examples

    v4 v5  
    1313This script uses the txrx_stats data in the reference design to calculate through in a unidirectional flow. The AP generates a fully backlogged flow of packets addressed to the station. The station counts how many bytes it has received from the AP. The Python script polls the station twice over a period of 10 seconds, recording the txrx_stats reports before and after. It then computes the number of new bytes received and the time span between reports. The script uses the timestamps reported by the node in the txrx_stats report to calculate the time span. This removes any dependence on the PC-nodes link in computing the denominator for the throughput calculation.
    1414
     15The Python source code is shown below. The source file is in the repository: [source:/ReferenceDesigns/w3_802.11/python/warpnet_example_wlan_throughput.py]
     16
    1517[[Include(source:/ReferenceDesigns/w3_802.11/python/warpnet_example_wlan_throughput.py)]]