How to make a model of a WLAN network consisting of an one (AP) and multiple (STA) by using WLAN Toolbox?
1 次查看(过去 30 天)
显示 更早的评论
I want to make a WLAN network of one access point and multiple stations and I found an example of making a WLAN of 1 AP and 1 STA so I develobed the code but the results are wrong.
- Why do the stations transmit to each other while there is no association among them?
- How the stations transmit to the access point while the traffic generation is one way?
please find the attached code"ex1_AP_STA.m" and output data of simulator "Simulation data.zip"
0 个评论
采纳的回答
Ayush Modi
2024-1-17
Hi Samar,
Question - 1: Why do the stations transmit to each other while there is no association among them?
In the wireless network, when a data needs to be sent to another node, it is broadcasted. Every node which is associated with the souce receives the packet and reads it. This packet is then sent to the MAC layer of the node where it is determined if the current node is the destination node for the said packet or not. If it is not the destination node, the packet is discarded.
"statistics" function returns the node statistics of all the layers. Here is the example to demostrate how you can check the Application Layer statistics:
apStats = statistics(accessPoint);
disp(apStats.App);
Please refer to the following MathWorks documentation for more information on the results of "statistics" function:
Question - 2: How the stations transmit to the access point while the traffic generation is one way?
"addTrafficSource" function adds the "Application layer" data traffic source. Application layer data is being generated by the source and sent to the destination. As a response to the successful transmission, destination node sends the acknowledgement back to the source. "addTrafficSource" function does not create a 1-way communication channel between the nodes.
Hope this helps!
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!