| 18 | |
| 19 | == 2-Node WLAN Log == |
| 20 | This example exercises the logging subsystem of the wlan_exp framework. Two nodes (one AP, one STA) exchange traffic for a short period. Both nodes write log entries for every Tx and Rx event. The Python controller then retrieves these logs and writes them to files. |
| 21 | |
| 22 | A second Python script then loads these files and parses them into arrays indexed by log entry type. The script then calculates some basic statistics about the log entries. |
| 23 | |
| 24 | The two Python scripts are: |
| 25 | * [source:/ReferenceDesigns/w3_802.11/python/warpnet_example_wlan_log_read.py] - Configures 2 nodes, generates some traffic then retrieves the node logs |
| 26 | * [source:/ReferenceDesigns/w3_802.11/python/warpnet_example_wlan_log_parse.py] - Parses the log files created by the previous script |