From: Benjamin Beichler <Benjamin.Beichler@uni-rostock.de>
To: Ramon Fontes <ramonreisfontes@gmail.com>,
Johannes Berg <johannes@sipsolutions.net>
Cc: <linux-wireless@vger.kernel.org>
Subject: Re: mac80211_hwsim: multiple antennas
Date: Fri, 23 Nov 2018 15:18:41 +0100 [thread overview]
Message-ID: <2a467a87-b3ea-3138-a2b0-da2185e61ab1@uni-rostock.de> (raw)
In-Reply-To: <CAK8U23Z5yQLwxjkoa516fW532Z7pO0vkRv=M9iqp4CcPDkUuYw@mail.gmail.com>
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 least they need to be sent with legacy-rates in mixed mode.
I'm not sure, whether hwsim can use the "green-field" mode, in which
everything is sent with ht-rates, but most drivers for real devices do
not support green-field mode.
So the highest beacon rate seems to be 54.0 mbit/s.
Nonetheless, hwsim do not simulate the real timing behavior of this
rates. Since hostapd is only responsible for the association protocol
but not data transmission, it should not decrease the seen rates
extremely, but I have no numbers for it.
As more effort you use to simulated the on air behavior, you decrease
the throughput rates.
kind regards
Benjamin
Am 22.11.2018 um 13:18 schrieb 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 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@gmail.com> 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@sipsolutions.net> 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
>>>
--
M.Sc. Benjamin Beichler
Universität Rostock, Fakultät für Informatik und Elektrotechnik
Institut für Angewandte Mikroelektronik und Datentechnik
University of Rostock, Department of CS and EE
Institute of Applied Microelectronics and CE
Richard-Wagner-Straße 31
18119 Rostock
Deutschland/Germany
phone: +49 (0) 381 498 - 7278
email: Benjamin.Beichler@uni-rostock.de
www: http://www.imd.uni-rostock.de/
next prev parent reply other threads:[~2018-11-23 14:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-20 19:33 mac80211_hwsim: multiple antennas Ramon Fontes
2018-11-21 9:11 ` Johannes Berg
2018-11-21 12:26 ` Ramon Fontes
2018-11-21 12:30 ` Johannes Berg
2018-11-21 12:47 ` Ramon Fontes
2018-11-21 12:48 ` Johannes Berg
2018-11-21 13:09 ` Ramon Fontes
2018-11-22 12:18 ` Ramon Fontes
2018-11-23 14:18 ` Benjamin Beichler [this message]
2018-11-23 19:12 ` Johannes Berg
2018-11-23 19:13 ` Johannes Berg
2018-11-23 21:08 ` Bob Copeland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2a467a87-b3ea-3138-a2b0-da2185e61ab1@uni-rostock.de \
--to=benjamin.beichler@uni-rostock.de \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=ramonreisfontes@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox