wn-upf / Komondor

Komondor Wireless Networks Simulator
GNU General Public License v3.0
65 stars 19 forks source link

How to configure flow direction? #124

Closed zubow closed 4 years ago

zubow commented 5 years ago

I would like to change the flow direction from downlink to uplink, i.e. from STAs towards the AP. So I changed the destination_id in input-nodes.csv file:

node_code | node_type | wlan_code | destination_id AP_A | 0 | A | -1 STA_A1 | 1 | A | 0 STA_A2 | 1 | A | 0

However, the flow direction remain downlink. Anything else I have to change?

Best, Tolja

fwilhelmi commented 5 years ago

Hello @zubow ,

I am afraid we only support downlink transmissions at this moment. Future developments will consider uplink traffic, as well as scheduled transmissions. The destination ID was meant for selecting different STAs by the AP, according to the use case. In addition, it is expected to be useful also in future deployments where inter-AP communications will be considered.

Best regards, Francesc.

zubow commented 5 years ago

Hi,

now I am a little bit confused. In your paper you mentioned that you verified your simulator against Bianchi model which considers uplink (one AP and N STAs) as in downlink there is no multiple access. So how did you configure your simulator in that scenario?

Best, Tolja

fwilhelmi commented 5 years ago

Hi again @zubow ,

in our paper, we considered downlink traffic, whereby, for multiple STAs, the destination selection is randomized. The Bianchi model considers the WLAN as a whole, which was extremely useful for our purposes. Moreover, a strong requirement of this analytical model is that all the WLANs need to be overlapping.

I hope that helps. Best regards, Francesc.

zubow commented 5 years ago

Hi Francesc,

how can I setup downlink point-to-multipoint. I want to transmit from the AP towards multiple stations. Is it possible or do I have to adapt the code base? If yes, where? The destination_id cannot be a list, right?

Best, Tolja

fwilhelmi commented 5 years ago

Hi @zubow ,

simultaneous transmissions are not allowed at this moment, basically because they would have severe implications from which we are not yet prepared. However, with the current implementation, you can have multiple STAs receiving data from the AP, in an ordered way. If you want to simulate such a situation, you just have to set the "selected_destination" to -1.

Notice that the AP will randomly (at uniform) choose the destination for each generated packet. However, we will soon publish an update with different destination selection modes (for instance, to enforce QoS).

Best regards, Francesc.