mininet-wifi
mininet-wifi copied to clipboard
Antenna Type and channel bandwidth
Hi!
I have two important questions in order to proceed with my work:
-
Can I choose the type of antenna? For example, a tri-sectorized one (not omnidirectional).
-
Can I define a channel bandwidth? I want to use a 10 MHz channel, it is possible?
Thank you.
Hi,
-
Not yet. It could be implemented with wmediumd.
-
Yes, you can. I just added support to ht_capab and you can use the param with the same name when you create APs. For example:
ap1 = net.addAccessPoint('ap1', ssid="simplewifi", mode="n", ht_capab="[HT40-][SHORT-GI-20][SHORT-GI-40]", channel="5")
Please refer to hostapd.conf https://w1.fi/cgit/hostap/plain/hostapd/hostapd.conf for further information on how to configure HT. If you need support to VHT please let me know which parameters you need to make it work.
BTW, I don't know what is the impact of this type of configuration during data transmission (I couldn't read about it yet). Any help is welcome ;).
2017-08-29 13:39 GMT-03:00 ines-s-santos [email protected]:
Hi!
I have two important questions in order to proceed with my work:
Can I choose the type of antenna? For example, a tri-sectorized one (not omnidirectional). 2.
Can I define a channel bandwidth? I want to use a 10 MHz channel, it is possible?
Thank you.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/intrig-unicamp/mininet-wifi/issues/105, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmeqwBkUExiHZ3WP8gs-XrX7z6uCk1ks5sdD7PgaJpZM4PGOzf .
Alright thank you, I'll try that. Other question:
- And can I change the frequency ? I know that the frequency depends on the mode, but can I define a frequency value and not use the mode ?
Yes, you can. If you change the channel, you change the frequency.
Sent from my android
On 31 Aug 2017 09:02, "ines-s-santos" [email protected] wrote:
Alright thank you, I'll try that. Other question:
- And can I change the frequency ? I know that the frequency depends on the mode, but can I define a frequency value and not use the mode ?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/intrig-unicamp/mininet-wifi/issues/105#issuecomment-326274620, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmeu9dkiPJsqftM5jkLbKQgpquqh7Oks5sdqDZgaJpZM4PGOzf .
Yes, but I want a specific frequency, 2 GHz, and do not correspond to any channel frequency.
Hi Inês,
Could you please let me know which wifi technology works with 2Ghz?
Sent from my android
On 31 Aug 2017 12:14, "ines-s-santos" [email protected] wrote:
Yes, but I want a specific frequency, 2 GHz, and do not correspond to any channel frequency.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/intrig-unicamp/mininet-wifi/issues/105#issuecomment-326327589, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmeuLxWHeHgDWDFSqiu05XKZQeNbi7ks5sds3ygaJpZM4PGOzf .
It is not a Wi-Fi technology, I am simulating a Mobile Network, LTE (4G).
As probably you know, mac80211_hwsim was designed for wifi networks. If you want to simulate 4G, you should manipulate bw, loss, latency and delay.
Sent from my android
On 31 Aug 2017 12:32, "ines-s-santos" [email protected] wrote:
It is not a Wi-Fi technology, I am simulating a Mobile Network, LTE (4G).
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/intrig-unicamp/mininet-wifi/issues/105#issuecomment-326332914, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmeiEaijiQ76HORPDo9qqdhhnFRSy0ks5sdtIEgaJpZM4PGOzf .
Alright. Those parameters are defined for each link ? Or can be defined for the network in general or for an access point ?
For the network in general (by default). You can change it if you want. https://github.com/intrig-unicamp/mininet-wifi/blob/master/mininet/wifiLink.py
Sent from my android
On 31 Aug 2017 12:50, "ines-s-santos" [email protected] wrote:
Alright. Those parameters are defined for each link ? Or can be defined for the network in general or for an access point ?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/intrig-unicamp/mininet-wifi/issues/105#issuecomment-326338972, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmegqpday0NMEc9CX7OoD9yR2E_RQUks5sdtY5gaJpZM4PGOzf .
Okay thank you ! I'll take the opportunity to ask another question: I want to do a graph with the throughput depending on the distance with mobility, so I need to print the sta distance as she moves, so how can I get the distance of a specific sta at any second and print it to a txt?
Since you have the position of every node (node.params['position']), you just have to use the formula for calculating the distance.
Sent from my android
On 1 Sep 2017 05:57, "ines-s-santos" [email protected] wrote:
Okay thank you ! I'll take the opportunity to ask another question: I want to do a graph with the throughput depending on the distance with mobility, so I need to print the sta distance as she moves, so how can I get the distance of a specific sta at any second and print it to a txt?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/intrig-unicamp/mininet-wifi/issues/105#issuecomment-326528488, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmesAVQRtq4AjjLPZG6BUfXKbuMaEmks5sd8cPgaJpZM4PGOzf .
Hello, I just read the conversation. I am wondering if it is possible to integrate 4G in mininet-wifi knowing that mac80211_hwsim was designed for wifi networks. If it is so, how can we do this? Could it be by simply changing the network parameters?
Hello,
Yes, you can do this by changing the network parameters. A new mode (4G mode) could be created for wmediumd as well. As a consequence, the module mac80211_hwsim could be extended as well.
2017-11-01 10:22 GMT-03:00 NadiaMOUAWAD [email protected]:
Hello, I just read the conversation. I am wondering if it is possible to integrate 4G in mininet-wifi knowing that mac80211_hwsim was designed for wifi networks. If it is so, how can we do this? Could it be by simply changing the network parameters?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/intrig-unicamp/mininet-wifi/issues/105#issuecomment-341104425, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmel9PlYPJ4IB7qiZGMf3Gv-QHjppfks5syHCMgaJpZM4PGOzf .