Linux wireless drivers development
 help / color / mirror / Atom feed
* [RFC 0/3] cfg80211/nl80211/iw: add basic AMPDU/AMSDU controls
@ 2018-11-05 14:30 Sergey Matyukevich
  2018-11-05 14:30 ` [RFC 1/3] cfg80211/nl80211: add wiphy flags to control aggregation Sergey Matyukevich
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Sergey Matyukevich @ 2018-11-05 14:30 UTC (permalink / raw)
  To: linux-wireless@vger.kernel.org, Johannes Berg
  Cc: Jouni Malinen, Igor Mitsyanko

Hello Johannes and all, 

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.

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.


The summary of changes is as follows:
- nl80211/cfg80211: new wiphy flags and minimal set_wiphy/get_wiphy changes
- iw: new phy subcommands to enable/disable aggregation
- qtnfmac: minimal driver example - get/set aggregation

Regards,
Sergey


kernel:
 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c |    2 +
 drivers/net/wireless/quantenna/qtnfmac/commands.c |   17 ++++++++++++
 drivers/net/wireless/quantenna/qtnfmac/core.h     |    2 +
 drivers/net/wireless/quantenna/qtnfmac/qlink.h    |    7 ++++
 include/net/cfg80211.h                            |    7 ++++
 include/uapi/linux/nl80211.h                      |    6 ++++
 net/wireless/core.c                               |    3 ++
 net/wireless/nl80211.c                            |   31 ++++++++++++++++++++++
 9 files changed, 76 insertions(+), 1 deletion(-)

iw:
 nl80211.h |    6 ++++++
 phy.c     |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-11-06 10:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox