driverdev-devel.linuxdriverproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] staging: wfx: introduce nl80211 vendor extensions
@ 2020-05-26 17:18 Jerome Pouiller
  2020-05-26 17:18 ` [PATCH 01/10] staging: wfx: drop unused variable Jerome Pouiller
                   ` (11 more replies)
  0 siblings, 12 replies; 15+ messages in thread
From: Jerome Pouiller @ 2020-05-26 17:18 UTC (permalink / raw)
  To: devel, linux-wireless
  Cc: netdev, linux-kernel, Greg Kroah-Hartman, David S . Miller, Kalle Valo

From: Jérôme Pouiller <jerome.pouiller@silabs.com>

Hello,

This series introduces some nl80211 vendor extensions to the wfx driver.

This series may lead to some discussions:

  1. Patch 7 allows to change the dynamic PS timeout. I have found
     an API in wext (cfg80211_wext_siwpower()) that do more or less the
     same thing. However, I have not found any equivalent in nl80211. Is it
     expected or this API should be ported to nl80211?

  2. The device The device allows to do Packet Traffic Arbitration (PTA or
     also Coex). This feature allows the device to communicate with another
     RF device in order to share the access to the RF. The patch 9 provides
     a way to configure that. However, I think that this chip is not the
     only one to provide this feature. Maybe a standard way to change
     these parameters should be provided?

  3. For these vendor extensions, I have used the new policy introduced by
     the commit 901bb989185516 ("nl80211: require and validate vendor
     command policy"). However, it seems that my version of 'iw' is not
     able to follow this new policy (it does not pack the netlink
     attributes into a NLA_NESTED). I could develop a tool specifically for
     that API, but it is not very handy. So, in patch 10, I have also
     introduced an API for compatibility with iw. Any comments about this?


Jérôme Pouiller (10):
  staging: wfx: drop unused variable
  staging: wfx: do not declare variables inside loops
  staging: wfx: drop unused function wfx_pending_requeue()
  staging: wfx: add support for tx_power_loop
  staging: wfx: retrieve the PS status from the vif
  staging: wfx: split wfx_get_ps_timeout() from wfx_update_pm()
  staging: wfx: add support for set/get ps_timeout
  staging: wfx: allow to burn prevent rollback bit
  staging: wfx: allow to set PTA settings
  staging: wfx: allow to run nl80211 vendor commands with 'iw'

 drivers/staging/wfx/Makefile          |   3 +-
 drivers/staging/wfx/data_tx.c         |  11 +-
 drivers/staging/wfx/debug.c           |  26 +++++
 drivers/staging/wfx/hif_api_general.h |  67 +++++++++++-
 drivers/staging/wfx/hif_rx.c          |   7 ++
 drivers/staging/wfx/hif_tx.c          |  64 ++++++++++++
 drivers/staging/wfx/hif_tx.h          |   6 ++
 drivers/staging/wfx/main.c            |   6 ++
 drivers/staging/wfx/nl80211_vendor.c  | 143 ++++++++++++++++++++++++++
 drivers/staging/wfx/nl80211_vendor.h  |  93 +++++++++++++++++
 drivers/staging/wfx/queue.c           |  13 ---
 drivers/staging/wfx/queue.h           |   1 -
 drivers/staging/wfx/sta.c             |  56 ++++++----
 drivers/staging/wfx/sta.h             |   2 +
 drivers/staging/wfx/wfx.h             |   7 ++
 15 files changed, 459 insertions(+), 46 deletions(-)
 create mode 100644 drivers/staging/wfx/nl80211_vendor.c
 create mode 100644 drivers/staging/wfx/nl80211_vendor.h

-- 
2.26.2

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

end of thread, other threads:[~2020-05-29 15:14 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-26 17:18 [PATCH 00/10] staging: wfx: introduce nl80211 vendor extensions Jerome Pouiller
2020-05-26 17:18 ` [PATCH 01/10] staging: wfx: drop unused variable Jerome Pouiller
2020-05-26 17:18 ` [PATCH 02/10] staging: wfx: do not declare variables inside loops Jerome Pouiller
2020-05-26 17:18 ` [PATCH 03/10] staging: wfx: drop unused function wfx_pending_requeue() Jerome Pouiller
2020-05-26 17:18 ` [PATCH 04/10] staging: wfx: add support for tx_power_loop Jerome Pouiller
2020-05-26 17:18 ` [PATCH 05/10] staging: wfx: retrieve the PS status from the vif Jerome Pouiller
2020-05-26 17:18 ` [PATCH 06/10] staging: wfx: split wfx_get_ps_timeout() from wfx_update_pm() Jerome Pouiller
2020-05-26 17:18 ` [PATCH 07/10] staging: wfx: add support for set/get ps_timeout Jerome Pouiller
2020-05-26 17:18 ` [PATCH 08/10] staging: wfx: allow to burn prevent rollback bit Jerome Pouiller
2020-05-26 17:18 ` [PATCH 09/10] staging: wfx: allow to set PTA settings Jerome Pouiller
2020-05-26 17:18 ` [PATCH 10/10] staging: wfx: allow to run nl80211 vendor commands with 'iw' Jerome Pouiller
2020-05-27  8:22 ` [PATCH 00/10] staging: wfx: introduce nl80211 vendor extensions Greg Kroah-Hartman
2020-05-27 12:34 ` Kalle Valo
2020-05-27 13:05   ` Jérôme Pouiller
2020-05-29 15:13     ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).