How to make a model of a WLAN network consisting of an one (AP) and multiple (STA) by using WLAN Toolbox?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Samar Ayman
el 29 de Oct. de 2023
Comentada: Samar Ayman
el 7 de Oct. de 2024
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 comentarios
Respuesta aceptada
Ayush Modi
el 17 de En. de 2024
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!
Más respuestas (0)
Ver también
Categorías
Más información sobre WLAN Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!