wiki:802.11/wlan_exp/app_notes/ibss_multiple_flows

Version 11 (modified by chunter, 9 years ago) (diff)

--

IBSS (ad hoc) with Multiple Traffic Flows

This application is an extension to the Investigating Physical Carrier Sensing in the DCF with Multiple Traffic Flows application note. Instead of a network of 1 AP and 2 STA nodes, this example shows how to run an experiment with 3 IBSS nodes.

The standard AP/STA flavors of 802.11 have a fundamental topological limitation: The AP is capable of transmitting to any of its association stations, but the STA devices can only directly transmit to the AP. STA devices cannot directly communicate with other STA devices on the BSS without first hopping through the AP.

IBSS devices are different. The "Independent Basic Service Set" allows for any device to communicate to any other device, allowing for more general mesh configurations. Unlike the Investigating Physical Carrier Sensing in the DCF with Multiple Traffic Flows application note, we are not limited to a total of 4 possible flows. In this application note, we extend the network to a total of 6 flows while only using 3 IBSS nodes.

Experiment Details

  • Packet Length: 1400 byte payloads (1428 byte MPDUs, with MAC header and FCS)
  • PHY Rate: 18 Mbps (QPSK, code rate 3/4)
  • Tx Power: 5 dBm
  • Trial Duration: 300 seconds
  • 2.4GHz channel 6

We use 6 traffic flows in our experiments:

  • Flow 1: Backlogged traffic from IBSS Node 1 to IBSS Node 2
  • Flow 2: Backlogged traffic from IBSS Node 1 to IBSS Node 3
  • Flow 3: Backlogged traffic from IBSS Node 2 to IBSS Node 1
  • Flow 4: Backlogged traffic from IBSS Node 2 to IBSS Node 3
  • Flow 5: Backlogged traffic from IBSS Node 3 to IBSS Node 1
  • Flow 6: Backlogged traffic from IBSS Node 3 to IBSS Node 2

Tx/Rx Log Results

The 802.11 Reference Design experiments framework includes a flexible logging system that runs in real-time at every node. This system keeps a record of every Tx and Rx event at the node. For Tx events the log includes both the high-level MPDU Tx (as implemented in CPU High) and the low-level PHY Tx events for each MPDU. Each low-level Tx record includes the timestamp of the actual PHY transmission plus MAC parameters for the transmission (number of backoff slots, current contention window, re-transmission count, etc.). By retrieving the logs from every node following the experiment and analyzing them together, we can gain significant understanding of the behaviors of the nodes and how various parameters impact performance on short and long timescales.

Throughput vs. Time Throughput Histogram

The above figures show 300 seconds of data from the experiment. In the first figure, the black line shows the total sum throughput that was sustained in the network. The ~13Mbps that was achieved is just slightly below the theoretical max throughput that can be achieved at the 18 Mbps PHY rate. The slight reduction is due to the overhead of the DCF along with unavoidable collisions among the 6 traffic flows.

The IBSS project is very useful in research applications in that there is no topological requirement for flow connectivity. Any device can establish a wireless link to any other device on the same IBSS. All source code used to generate the data and figures in this application note is available below.


Resources

Python Scripts

Download: multi-flow_ibss_python_scripts_v_1_00.zip

Zip Contents:

  • multi-flow_experiment_ibss.py - This script will run the experiment and write the log files from each board to the directory in which this script is executed.
  • multi-flow_plotter_ibss.py - This script will open the generated log files and produce the plots used in the application note.
  • log_analysis_util.py - Utility script that is used by multi-flow_plotter.py. This should not be run directly. Instead, it should be in the same directory as multi-flow_plotter.py

Experiment Data

In addition to providing the python scripts to gather and process the data in this application note, we also provide the actual data log files we gathered, processed, and presented.

Download: multi-flow_log_data_v1_00.zip (178MB)

Attachments (4)

Download all attachments as: .zip