Changes between Version 4 and Version 5 of 802.11/wlan_exp/examples
- Timestamp:
- Feb 12, 2014, 12:19:57 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
802.11/wlan_exp/examples
v4 v5 13 13 This 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. 14 14 15 The 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 15 17 [[Include(source:/ReferenceDesigns/w3_802.11/python/warpnet_example_wlan_throughput.py)]]