From: Ben Greear <greearb@candelatech.com>
To: Johannes Berg <johannes@sipsolutions.net>,
Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Cc: Jouni Malinen <j@w1.fi>,
Igor Mitsyanko <igor.mitsyanko.os@quantenna.com>
Subject: Re: [RFC 0/3] cfg80211/nl80211/iw: add basic AMPDU/AMSDU controls
Date: Mon, 5 Nov 2018 12:45:46 -0800 [thread overview]
Message-ID: <a65739ee-ab89-cf4d-af1b-f86fcc783bac@candelatech.com> (raw)
In-Reply-To: <34042c1e8020bfb49ab97c9160ab50df044846af.camel@sipsolutions.net>
On 11/05/2018 12:32 PM, Johannes Berg wrote:
> Hi,
>
>> Here are several RFC patches providing simple high-level controls of AMSDU/AMPDU
>> aggregation. The primary purpose of this functionality is an attempt to fill
>> missing gaps in nl80211 interface for basic WFA certification tests.
>
> I see you don't implement it this way in the driver, but wouldn't it
> make more sense to have this as a per-STA (RA) setting? That's really
> the granularity it can be done on, I think?
>
> Arguably even per-RA/TID, though that seems a little excessive?
I like the idea of providing this API per peer/tid. And, just allow
peer == -1, tid == -1 or similar to mean 'all' so that you can still set the entire device
to one particular setting w/out having to iterate through all peers if you
don't want to iterate...
>> We experimented with QCA sigma-dut tool: https://github.com/qca/sigma-dut.
>> The purpose was to cover basic HT/VHT WFA STA tests for cfg80211 driver
>> controlled by wpa_supplicant w/o adding any vendor specific commands.
>> Multiple WFA test parameters (e.g. STBC, NSS, SGI, LDPC) can be configured
>> by overriding HT/VHT capabilities in wpa_supplicant and applying them on
>> connect in cfg80211_connect callback. Others (e.g. RTS params) can be
>> configured using iw tool or NL80211_CMD_SET_WIPHY directly. These patches
>> implement simpe high-level switches for AMSDU/AMPDU aggregation.
>>
>> It would be interesting to collect comments/concerns regarding this approach.
>> Does it make sense to enhance nl80211 in order to cover all the missing pieces
>> required for WFA certification tests ? Or maybe it makes sense to use
>> NL80211_TESTMODE subcommands for this kind of testing.
>
> Honestly, I don't really know.
>
> I think other tests, e.g. noack, we used to just have debugfs files for,
> and then we got NL80211_CMD_SET_NOACK_MAP (which *is* per TID, btw)
>
> Perhaps if we really don't see any value beyond the testing, keeping it
> in debugfs would make sense, until we have more use cases and understand
> the granularity we should support?
>
> Clearly this is enough for the testing you refer to, but other use cases
> might actually need more fine-grained control (in the future), possibly
> down to the RA/TID level?
At least with ath10k, it seems to be a common struggle for AP manufacturers
to do regulatory testing. I would image that is true for other chipsets
as well, so it seems like it might be worth adding to the official API.
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2018-11-05 20:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-05 14:30 [RFC 0/3] cfg80211/nl80211/iw: add basic AMPDU/AMSDU controls Sergey Matyukevich
2018-11-05 14:30 ` [RFC 1/3] cfg80211/nl80211: add wiphy flags to control aggregation Sergey Matyukevich
2018-11-05 14:30 ` [RFC 2/3] iw: add phy subcommands to configure aggregation Sergey Matyukevich
2018-11-05 14:30 ` [RFC 3/3] qtnfmac: add support for basic aggregation control Sergey Matyukevich
2018-11-05 20:32 ` [RFC 0/3] cfg80211/nl80211/iw: add basic AMPDU/AMSDU controls Johannes Berg
2018-11-05 20:45 ` Ben Greear [this message]
2018-11-05 22:49 ` Igor Mitsyanko
2018-11-05 22:55 ` Ben Greear
2018-11-06 10:56 ` Sergey Matyukevich
2018-11-05 22:49 ` Igor Mitsyanko
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=a65739ee-ab89-cf4d-af1b-f86fcc783bac@candelatech.com \
--to=greearb@candelatech.com \
--cc=igor.mitsyanko.os@quantenna.com \
--cc=j@w1.fi \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=sergey.matyukevich.os@quantenna.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