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 order to provide more rates and it didn't work: Extended supported rates: 24.0 36.0 48.0 54.0 54.0 54.0 54.0 The maximum supported rate is always 54Mbps. Then I found the Beacon frame TX rate configuration from hostapd.conf. After trying to enable the beacon rate (e.g. beacon_rate=ht:1) I got the following msg: ap1-wlan1: interface state UNINITIALIZED->HT_SCAN Using interface ap1-wlan1 with hwaddr 02:00:00:00:02:00 and ssid "ssid-ap1" nl80211: Driver does not support setting Beacon frame rate (HT) and hostapd doesn't work. Could this problem be related to mac80211_hwsim? Em qua, 21 de nov de 2018 às 10:09, Ramon Fontes <ramonreisfontes@xxxxxxxxx> escreveu: > > 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 > <johannes@xxxxxxxxxxxxxxxx> escreveu: > > > > 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. > > > > johannes > >