Simulate an IEEE 802.11b (Wi-Fi 7) multilink operation (MLO) in the 2.4 GHz, 5 GHz, and 6 GHz bands.
Using this example, you can:
Create an 802.11be network consisting of an access point (AP) MLD and a station (STA) MLD.
Configure the AP MLD and STA MLD to operate in the 2.4 GHz, 5 GHz, and 6 GHz bands.
Associate the STA MLD with the AP MLD, and add full buffer downlink (DL) and uplink (UL) application traffic between them.
Simulate the network and get the statistics.
The example creates, configures, and simulates this scenario.
Check if the Communications Toolbox™ Wireless Network Simulation Library support package is installed. If the support package is not installed, MATLAB® returns an error with a link to download and install the support package.
Specify the simulation time in seconds. Initialize the wireless network simulator
Create an MLD link configuration object, specifying the operating frequency bands as 2.4 GHz, 5 GHz and 6 GHz.
Create a WLAN node with an AP MLD configuration.
mldAccessPointNode =
wlanNode with properties:
Name: "AP"
Position: [0 0 0]
Read-only properties:
MACFrameAbstraction: 1
PHYAbstractionMethod: "tgax-evaluation-methodology"
DeviceConfig: [1×1 wlanMultilinkDeviceConfig]
ID: 1
Create a WLAN node with an STA MLD configuration.
mldStationNode =
wlanNode with properties:
Name: "STA"
Position: [0 0 0]
Read-only properties:
MACFrameAbstraction: 1
PHYAbstractionMethod: "tgax-evaluation-methodology"
DeviceConfig: [1×1 wlanMultilinkDeviceConfig]
ID: 2
Associate the STA MLD with the AP MLD, and add full buffer DL and UL application traffic between them.
Add the nodes to the wireless network simulator.
Run the network simulation for the specified simulation time.
Retrieve and display statistics of the AP MLD and STA MLD. For more information about the MLO statistics, see WLAN System-Level Simulation Statistics.
mldAccessPointStats = struct with fields:
Name: "AP"
ID: 1
App: [1×1 struct]
MAC: [1×1 struct]
PHY: [1×1 struct]
Mesh: [1×1 struct]
mldStationStats = struct with fields:
Name: "STA"
ID: 2
App: [1×1 struct]
MAC: [1×1 struct]
PHY: [1×1 struct]
Mesh: [1×1 struct]