Re: mac80211_hwsim: multiple antennas

2018-11-23 Thread Bob Copeland
On Wed, Nov 21, 2018 at 01:30:40PM +0100, Johannes Berg wrote: > On Wed, 2018-11-21 at 09:26 -0300, Ramon Fontes wrote: > > Sorry. I meant throughput. > > Yeah, well. There's no actual medium (access) simulation in hwsim, so > the actual throughput you get only depends on the performance of your >

Re: mac80211_hwsim: multiple antennas

2018-11-23 Thread Johannes Berg
On Wed, 2018-11-21 at 10:09 -0300, Ramon Fontes wrote: > Yes. I thought that it could be related to the number of antennas (or > something else) after seeing this result > (https://bobcopeland.com/blog/2014/09/wmediumd-speed-test/) provided > by wmediumd. I guess you should instead look at the cod

Re: mac80211_hwsim: multiple antennas

2018-11-23 Thread Johannes Berg
On Thu, 2018-11-22 at 09:18 -0300, Ramon Fontes wrote: > > Then I found the Beacon frame TX rate configuration from hostapd.conf. That's really not relevant for the issue at hand though? johannes

Re: mac80211_hwsim: multiple antennas

2018-11-23 Thread Benjamin Beichler
I haven't used hwsim with hostapd yet, but I'm pretty sure, that it is possible to change the beacon rate (as we changed them in 802.11s Mesh Mode). I'm think the problem here is, that you can't assign a HT rate for beacons, because action/management frames are always sent with base-rate or at lea

Re: mac80211_hwsim: multiple antennas

2018-11-22 Thread Ramon Fontes
I've tested the same setup with adhoc and the throughput seems to be higher as expected. Thus, the problem comes up when I use hostapd. I noticed that the maximum supported rate by hostapd (legacy) is 54Mbps. Extended supported rates: 24.0 36.0 48.0 54.0 Then I tried to modify mac80211_hwsim in o

Re: mac80211_hwsim: multiple antennas

2018-11-21 Thread Ramon Fontes
Yes. I thought that it could be related to the number of antennas (or something else) after seeing this result (https://bobcopeland.com/blog/2014/09/wmediumd-speed-test/) provided by wmediumd. Em qua, 21 de nov de 2018 às 09:48, Johannes Berg escreveu: > > On Wed, 2018-11-21 at 09:47 -0300, Ramon

Re: mac80211_hwsim: multiple antennas

2018-11-21 Thread Johannes Berg
On Wed, 2018-11-21 at 09:47 -0300, Ramon Fontes wrote: > Okay! Thanks a lot. > > Indeed, the maximum throughput when using only hwsim is in the order of Gbp/s. So I guess the question is where it's going wrong - is it the wmediumd overhead (netlink), some air simulation in wmediumd, etc. johanne

Re: mac80211_hwsim: multiple antennas

2018-11-21 Thread Ramon Fontes
Okay! Thanks a lot. Indeed, the maximum throughput when using only hwsim is in the order of Gbp/s. Em qua, 21 de nov de 2018 às 09:30, Johannes Berg escreveu: > > On Wed, 2018-11-21 at 09:26 -0300, Ramon Fontes wrote: > > Sorry. I meant throughput. > > Yeah, well. There's no actual medium (access

Re: mac80211_hwsim: multiple antennas

2018-11-21 Thread Johannes Berg
On Wed, 2018-11-21 at 09:26 -0300, Ramon Fontes wrote: > Sorry. I meant throughput. Yeah, well. There's no actual medium (access) simulation in hwsim, so the actual throughput you get only depends on the performance of your CPU. 33Mbps seems quite low, but of course I don't know where you're runni

Re: mac80211_hwsim: multiple antennas

2018-11-21 Thread Ramon Fontes
Sorry. I meant throughput. Let's considering GI=800ns - 20MHz: Without setting the MCS value the throughput is around 18Mbps. tx bitrate 58.5 MBit/s MCS 6 rx bitrate 48.0 MBit/s Then I set the bitrate to ht-mcs-2.4 13, 14 and finally 15. Although the tx bitrate increases as expected the maximum

Re: mac80211_hwsim: multiple antennas

2018-11-21 Thread Johannes Berg
On Tue, 2018-11-20 at 16:33 -0300, Ramon Fontes wrote: > Would be possible to simulate (or even add support to) multiple > antennas? I was trying to extend wmediumd to 802.11n according the > rates provided by http://mcsindex.com/, but the maximum rate I get is > ~33Mbps, even if I set the MCS inde

mac80211_hwsim: multiple antennas

2018-11-20 Thread Ramon Fontes
Would be possible to simulate (or even add support to) multiple antennas? I was trying to extend wmediumd to 802.11n according the rates provided by http://mcsindex.com/, but the maximum rate I get is ~33Mbps, even if I set the MCS index to 15. Given the result, I thought that it could be related t