[PATCH v10 1/1] wfx: get out from the staging area

2022-02-26 Thread Jerome Pouiller
From: Jérôme Pouiller The wfx driver is now mature enough to leave the staging area. Signed-off-by: Jérôme Pouiller --- .../{staging => }/net/wireless/silabs,wfx.yaml | 2 +- MAINTAINERS| 4 ++-- drivers/net/wireless/Kconfig | 1 + drive

[PATCH v10 0/1] wfx: get out from the staging area

2022-02-26 Thread Jerome Pouiller
From: Jérôme Pouiller Hello, The firmware and the PDS files (= antenna configurations) are now a part of the linux-firmware repository. All the issues have been fixed in staging tree. I think we are ready to get out from the staging tree for the kernel 5.18. v10: - Rebase on last staging tr

[PATCH 10/10] staging: wfx: flags for SPI IRQ were ignored

2022-02-25 Thread Jerome Pouiller
From: Jérôme Pouiller The flags declared in the DT were not forwarded to request_irq(). Fixes: a7efb62509d8 ("staging: wfx: use threaded IRQ with SPI") Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/bus_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/s

[PATCH 09/10] staging: wfx: ensure HIF request has been sent before polling

2022-02-25 Thread Jerome Pouiller
From: Jérôme Pouiller wfx_bh_request_tx() send HIF request asynchronously through bh_work(). Then the caller will run wfx_bh_poll_irq() to poll the answer. However it useless to burn CPU cycles for the polling while the request has yet been sent. Worse, wfx_bh_poll_irq() may get the CPU and prev

[PATCH 08/10] staging: wfx: prefer to wait for an event instead to sleep

2022-02-25 Thread Jerome Pouiller
From: Jérôme Pouiller When possible it is better to wait for an explicit event instead of wait an arbitrary amount of time. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_tx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wfx/hif_tx.c b/dri

[PATCH 07/10] staging: wfx: remove duplicated code in wfx_cmd_send()

2022-02-25 Thread Jerome Pouiller
From: Jérôme Pouiller The code to execute on end of the function is the same whatever the command replies or not. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_tx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wfx/hif_tx.c b/drivers/sta

[PATCH 06/10] staging: wfx: drop useless include

2022-02-25 Thread Jerome Pouiller
From: Jérôme Pouiller ieee80211.h is useless since commit 5e911c3d9dbc9 ("staging: wfx: avoid defining array of flexible struct") Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_cmd.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/wfx/hif_api_cmd.h b/drive

[PATCH 05/10] staging: wfx: remove useless variable

2022-02-25 Thread Jerome Pouiller
From: Jérôme Pouiller Obviously, the variable "ret" was useless. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/sta.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c index 28474614a8e5..b1e9fb14d2b4 100644 --

[PATCH 04/10] staging: wfx: format code on 100 columns

2022-02-25 Thread Jerome Pouiller
From: Jérôme Pouiller A few lines were not yet formatted on 100 columns. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/fwio.c | 3 +-- drivers/staging/wfx/hif_rx.c | 3 +-- drivers/staging/wfx/hif_tx.c | 3 +-- drivers/staging/wfx/hif_tx_mib.c | 3 +-- drivers/staging/wf

[PATCH 03/10] staging: wfx: format comments on 100 columns

2022-02-25 Thread Jerome Pouiller
From: Jérôme Pouiller A few comments were not yet formatted on 100 columns. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/data_tx.c | 8 ++-- drivers/staging/wfx/queue.c | 9 - 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/drivers/staging/wfx/data_tx.c

[PATCH 02/10] staging: wfx: fix struct alignment

2022-02-25 Thread Jerome Pouiller
From: Jérôme Pouiller There is no reason to add multiple spaces between a variable name and its type. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/bus_spi.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/staging/wfx/bus_spi.

[PATCH 01/10] staging: wfx: sta.o was linked twice

2022-02-25 Thread Jerome Pouiller
From: Jérôme Pouiller sta.o was listed twice in the Makefile. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/wfx/Makefile b/drivers/staging/wfx/Makefile index ae94c6552d77..c8b356f71c99 100644 --- a/drivers/sta

[PATCH 00/10] staging: wfx: usual maintenance

2022-02-25 Thread Jerome Pouiller
From: Jérôme Pouiller This PR contains fixes for various small defects I have seen these last weeks. Jérôme Pouiller (10): staging: wfx: sta.o was linked twice staging: wfx: fix struct alignment staging: wfx: format comments on 100 columns staging: wfx: format code on 100 columns stagi

[PATCH 2/3] wfx: add antenna configuration files

2022-02-21 Thread Jerome Pouiller
From: Jérôme Pouiller The wfx driver is now able load the antenna parameters (aka PDS file) corresponding to the board declared in the device tree. So, add these files to linux-firmware. Signed-off-by: Jérôme Pouiller --- WHENCE | 12 +++- wfx/brd4001a.pds | Bin 0 -> 625 by

[PATCH 0/3] linux-firmware: update wfx

2022-02-21 Thread Jerome Pouiller
From: Jérôme Pouiller The two first patches reflect changes made in the kernel. Jérôme Pouiller (3): wfx: rename silabs/ into wfx/ wfx: add antenna configuration files wfx: update to firmware 3.14 WHENCE| 18 ++ silabs/wfm_wf200_C0.sec | Bin

[PATCH 1/3] wfx: rename silabs/ into wfx/

2022-02-21 Thread Jerome Pouiller
From: Jérôme Pouiller WiFi device maintainer expressed he prefers to use the same name for the driver and the firmware directory[1]. Since the driver is not yet merged, the renaming does not break anything. [1]: https://lore.kernel.org/netdev/87sfxlj6s1@codeaurora.org/ Signed-off-by: Jérôm

[PATCH] staging: wfx: fix scan with WFM200 and WW regulation

2022-02-18 Thread Jerome Pouiller
From: Riccardo Ferrazzo Some variants of the WF200 disallow active scan on channel 12 and 13. For these parts, the channels 12 and 13 are marked IEEE80211_CHAN_NO_IR. However, the beacon hint procedure was removing the flag IEEE80211_CHAN_NO_IR from channels where a BSS is discovered. This was m

[PATCH] staging: wfx: fix DT bindings location

2022-02-17 Thread Jerome Pouiller
From: Jérôme Pouiller Currently, the DT bindings the wfx driver cannot be processed by make dt_binding_check. We need to place it somewhere into Documentation/devicetree/bindings/. After that change, we are able to get warnings from dt_binding_check and fix them. Signed-off-by: Jérôme Pouiller

[PATCH 2/2] staging: wfx: apply the necessary SDIO quirks for the Silabs WF200

2022-02-16 Thread Jerome Pouiller
From: Jérôme Pouiller Until now, the SDIO quirks are applied directly from the driver. However, it is better to apply the quirks before driver probing. So, this patch relocate the quirks in the MMC framework. Note that the WF200 has no valid SDIO VID/PID. Therefore, we match DT rather than on th

[PATCH 1/2] staging: wfx: WF200 has no official SDIO IDs

2022-02-16 Thread Jerome Pouiller
From: Jérôme Pouiller Some may think that SDIO_VENDOR_ID_SILABS / SDIO_DEVICE_ID_SILABS_WF200 are official SDIO IDs. However, it is not the case, the values used by WF200 are not official (BTW, the driver rely on the DT rather than on the SDIO IDs to probe the device). To avoid any confusion, re

[PATCH 0/2] staging: wfx: apply SDIO suggestions

2022-02-16 Thread Jerome Pouiller
From: Jérôme Pouiller Hi Ulf, Greg, The second patch of this series touch to the staging tree and to the MMC framework. I don't know what is the rule for these cases, but I think it makes more sense to carry this patch with the staging tree. Jérôme Pouiller (2): staging: wfx: WF200 has no of

[PATCH 1/2] staging: wfx: allow new PDS format

2022-02-11 Thread Jerome Pouiller
From: Jérôme Pouiller The device needs data about the antenna configuration. This information in provided by PDS (Platform Data Set, this is the wording used in WF200 documentation) files. Until now, the driver had to parse the PDS file before to send it. This solution was not acceptable for the

[PATCH 0/2] staging/wfx: change config files format

2022-02-11 Thread Jerome Pouiller
From: Jérôme Pouiller I have changed the format of the antenna configuration files, as discussed here: https://lore.kernel.org/netdev/4055223.VTxhiZFAix@pc-42/ Jérôme Pouiller (2): staging: wfx: allow new PDS format staging: wfx: remove support for legacy PDS format drivers/staging/wfx/m

[PATCH 2/2] staging: wfx: remove support for legacy PDS format

2022-02-11 Thread Jerome Pouiller
From: Jérôme Pouiller We don't want to support legacy PDS format. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/main.c | 55 +++--- 1 file changed, 4 insertions(+), 51 deletions(-) diff --git a/drivers/staging/wfx/main.c b/drivers/staging/wfx/main.c in

[PATCH 31/31] staging: wfx: do not probe the device if not in the DT

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller Since the WF200 VID/PID are not reliable, it's recommended to declare it in the DT. Until now, if the device was not declared, the driver just printed a warning and continue. But, the risk of a collision is too high, the driver now returns an error. Signed-off-by: Jérôme Po

[PATCH 30/31] staging: wfx: rename "config-file" DT attribute

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller "config-file" is too broad. Replace it by "silabs,antenna-config-file" which is more explicit. The attribute "config-file" is probably not widely used. This patch obviously breaks setups that use this attribute. Signed-off-by: Jérôme Pouiller --- .../devicetree/bindings/

[PATCH 29/31] staging: wfx: drop legacy compatible values

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller Values "silabs,wfx-sdio" and "silabs,wfx-spi" are deprecated for a while now. We take advantage of getting out of the staging tree to drop them and start from a blank sheet. Signed-off-by: Jérôme Pouiller --- .../devicetree/bindings/net/wireless/silabs,wfx.yaml | 3 +--

[PATCH 28/31] staging: wfx: fix firmware location

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller There is currently, a mismatch between the location of the firmware in linux-firmware and the path written in the driver. We take this opportunity to relocate the WF200 firmware in wfx/ instead of silabs/. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/bus_sdio.c

[PATCH 27/31] staging: wfx: map 'compatible' attribute with board name

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller "WF200" only designates the chip. To make a WiFi board, the chip must be associated with an antenna. The antenna configuration is located in separate files (aka PDS files in Silabs wording). Currently, user has to write in his DT something like: compatible = "silabs,wf2

[PATCH 26/31] staging: wfx: remove force_ps_timeout

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller ps_timeout should be in nl80211, not in debugfs. Let's remove it until the driver is accepted. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/debug.c | 23 --- drivers/staging/wfx/main.c | 1 - drivers/staging/wfx/sta.c | 8 ++-- drive

[PATCH 25/31] staging: wfx: do not display functions names in logs

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller It is not necessary to prefix error logs with the function name when an error message is unique in the code. Note this patch still prefixes the message 'received event for non-existent vif' with the function name since it is used several times. Signed-off-by: Jérôme Pouill

[PATCH 24/31] staging: wfx: replace compiletime_assert() by BUILD_BUG_ON_MSG()

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller It seems that BUILD_BUG_ON_MSG() is a bit more popular. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/data_tx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wfx/data_tx.c b/drivers/staging/wfx/data_tx.c index ca2f24b92d2

[PATCH 23/31] staging: wfx: use explicit labels for errors

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller Prefer fully named labels to handle errors instead of err0, err1, ... Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/bus_sdio.c | 9 - drivers/staging/wfx/main.c | 31 +++ 2 files changed, 19 insertions(+), 21 deletions(-)

[PATCH 22/31] staging: wfx: fix structs alignments

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller Some structs members were not properly aligned. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/bus_sdio.c | 12 ++--- drivers/staging/wfx/bus_spi.c | 12 ++--- drivers/staging/wfx/debug.c| 2 +- drivers/staging/wfx/fwio.c | 6 +-- drivers/staging/wfx/ma

[PATCH 20/31] staging: wfx: reformat code on 100 columns

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller Until now, this driver was written in 80 columns style. However, since all the functions are prefixed with "wfx_", this constraint is no more respected in the last patches. From the perspective of kernel Coding Style, it is not a problem since it is now allowed to write cod

[PATCH 21/31] staging: wfx: reformat comments on 100 columns

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller Until now, this driver was written in 80 columns style. However, since all the functions are prefixed with "wfx_", this constraint is no more respected in the last patches. From the perspective of kernel Coding Style, it is not a problem since it is now allowed to write cod

[PATCH 18/31] staging: wfx: prefix structs hif_* with wfx_

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller All the types related to a driver should use the same prefix. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/bh.c | 12 +-- drivers/staging/wfx/data_rx.c | 2 +- drivers/staging/wfx/data_rx.h | 4 +- drivers/staging/wfx/data_tx.c

[PATCH 19/31] staging: wfx: prefix structs tx_policy and hwbus_ops with wfx_

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller All the types related to a driver should use the same prefix. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/bus.h | 2 +- drivers/staging/wfx/bus_sdio.c | 2 +- drivers/staging/wfx/bus_spi.c | 2 +- drivers/staging/wfx/data_tx.c | 38 +--

[PATCH 17/31] staging: wfx: prefix tx_policy_is_equal() with wfx_

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller tx_policy_is_equal() was the only function from data_tx.c without the prefix wfx_. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/data_tx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wfx/data_tx.c b/drivers/staging/

[PATCH 15/31] staging: wfx: prefix functions from hwio.h with wfx_

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller All the functions related to a driver should use the same prefix. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/bh.c | 8 +-- drivers/staging/wfx/fwio.c | 78 ++-- drivers/staging/wfx/hif_tx.c | 2 +- drivers/staging/wfx/hwio.c | 135

[PATCH 16/31] staging: wfx: prefix functions from debug.h with wfx_

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller All the functions related to a driver should use the same prefix. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/debug.c | 6 +++--- drivers/staging/wfx/debug.h | 6 +++--- drivers/staging/wfx/hif_tx.c | 8 3 files changed, 10 insertions(+), 10 deletion

[PATCH 14/31] staging: wfx: prefix functions from hif_*.h with wfx_

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller All the functions related to a driver should use the same prefix. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/data_tx.c| 2 +- drivers/staging/wfx/debug.c | 2 +- drivers/staging/wfx/hif_rx.c | 103 +- drivers/staging/wfx/hif_tx

[PATCH 12/31] staging: wfx: fix ambiguous function name

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller The prefix 'ieee80211' is reserved for mac80211. It should not been used. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/scan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wfx/scan.c b/drivers/staging/wfx/scan.c index

[PATCH 13/31] staging: wfx: fix ambiguous function name

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller The prefix 'ieee80211' is reserved for mac80211. It should not been used. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/data_tx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wfx/data_tx.c b/drivers/staging/wfx/data_tx.c

[PATCH 11/31] staging: wfx: preserve endianness of struct hif_ind_startup

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller The hardware fills struct hif_ind_startup with little endian values. So, declare it with little endian fields. It is now a bit more verbose to access to fields of struct hif_ind_startup, but it is less confusing. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/bh.

[PATCH 10/31] stagigg: wfx: replace magic number by HIF_ID_IS_INDICATION

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller Magic values are not recommended. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wfx/hif_rx.c b/drivers/staging/wfx/hif_rx.c index 6963b54d5593..5e675d2c3e82 100644 --- a/

[PATCH 09/31] staging: wfx: replace magic value by WFX_HIF_BUFFER_SIZE

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller Magic values are not recommended. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hwio.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wfx/hwio.c b/drivers/staging/wfx/hwio.c index a2a37efc51a6..977b9325f496 100644 --- a/

[PATCH 08/31] staging: wfx: use IS_ALIGNED()

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller It "IS_ALIGNED(ptr, 4)" is more explicit than "ptr & 3". Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/bus_sdio.c | 9 + drivers/staging/wfx/hwio.c | 5 +++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wfx/bus_sdio.

[PATCH 07/31] staging: wfx: remove useless #ifdef

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller In the old days, this file was shared with other projects. Obviously, this "#ifdef __KERNEL__" have no reasons to be in the kernel. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_general.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/st

[PATCH 06/31] staging: wfx: remove unnecessary braces

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller Braces are not necessary for single statement blocks Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wfx/main.c b/drivers/staging/wfx/main.c index 858d778cc589..ddc95ea1

[PATCH 05/31] staging: wfx: explain uncommon Makefile statement

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller I have got questions about this line from several reviewers. A comment is definitively welcome. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/wfx/Makefile b/drivers/staging/wfx/Makefile

[PATCH 04/31] staging: wfx: fix comment correctness

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller Using DMA with stack allocated buffers is not supported, whatever the value of CONFIG_VMAP_STACK. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hwio.c | 12 drivers/staging/wfx/hwio.h | 4 2 files changed, 4 insertions(+), 12 deletions(-) diff

[PATCH 03/31] staging: wfx: fix missing headers

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller Each headers files should include every types it needs to compile (ie. "gcc $CFLAGS -xc file.h" should compile) Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/bh.h | 1 + drivers/staging/wfx/hif_tx.h | 4 drivers/staging/wfx/hif_tx_mib.h | 7 +

[PATCH 02/31] staging: wfx: fix HIF API license

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller Apache-2.0 is not allowed in the kernel. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_cmd.h | 2 +- drivers/staging/wfx/hif_api_general.h | 2 +- drivers/staging/wfx/hif_api_mib.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --g

[PATCH 00/31] staging/wfx: apply suggestions from the linux-wireless review

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller Most of the patches of this series are the result of the review process on linux-wireless[1]. The patches 1 to 25 are cosmetics. The last 3 patches are not fully backward compatible. I believe it is not a problem in the staging area. [1]: https://lore.kernel.org/netdev/20

[PATCH 01/31] staging: wfx: fix Makefile and Kconfig licenses

2022-01-13 Thread Jerome Pouiller
From: Jérôme Pouiller License was missing in Kconfig. Makefile license was GPL-2.0 while rest of the driver use GPL-2.0-only. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/Kconfig | 1 + drivers/staging/wfx/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v9 24/24] wfx: get out from the staging area

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller The wfx driver is now mature enough to leave the staging area. Signed-off-by: Jérôme Pouiller --- MAINTAINERS | 3 ++- drivers/net/wireless/Kconfig | 1 + drivers/net/wireless/Makefile| 1 + drivers/net/wireless/silabs/Kconfig

[PATCH v9 22/24] wfx: add traces.h

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/traces.h | 496 +++ 1 file changed, 496 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/traces.h diff --git a/drivers/net/wireless/silabs/wfx/traces.h b/drivers/net/w

[PATCH v9 21/24] wfx: add debug.c/debug.h

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/debug.c | 331 drivers/net/wireless/silabs/wfx/debug.h | 19 ++ 2 files changed, 350 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/debug.c create mode 100644 d

[PATCH v9 20/24] wfx: add scan.c/scan.h

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/scan.c | 144 + drivers/net/wireless/silabs/wfx/scan.h | 22 2 files changed, 166 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/scan.c create mode 100644 d

[PATCH v9 19/24] wfx: add sta.c/sta.h

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/sta.c | 798 ++ drivers/net/wireless/silabs/wfx/sta.h | 67 +++ 2 files changed, 865 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/sta.c create mode 100644 driv

[PATCH v9 18/24] wfx: add data_tx.c/data_tx.h

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/data_tx.c | 572 ++ drivers/net/wireless/silabs/wfx/data_tx.h | 66 +++ 2 files changed, 638 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/data_tx.c create mode 100

[PATCH v9 17/24] wfx: add queue.c/queue.h

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/queue.c | 298 drivers/net/wireless/silabs/wfx/queue.h | 44 2 files changed, 342 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/queue.c create mode 100644

[PATCH v9 16/24] wfx: add data_rx.c/data_rx.h

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/data_rx.c | 92 +++ drivers/net/wireless/silabs/wfx/data_rx.h | 17 + 2 files changed, 109 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/data_rx.c create mode 10

[PATCH v9 15/24] wfx: add hif_rx.c/hif_rx.h

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/hif_rx.c | 392 +++ drivers/net/wireless/silabs/wfx/hif_rx.h | 17 + 2 files changed, 409 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/hif_rx.c create mode 100644

[PATCH v9 14/24] wfx: add key.c/key.h

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/key.c | 227 ++ drivers/net/wireless/silabs/wfx/key.h | 19 +++ 2 files changed, 246 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/key.c create mode 100644 driv

[PATCH v9 13/24] wfx: add hif_tx*.c/hif_tx*.h

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/hif_tx.c | 492 +++ drivers/net/wireless/silabs/wfx/hif_tx.h | 61 +++ drivers/net/wireless/silabs/wfx/hif_tx_mib.c | 308 drivers/net/wireless/silabs/wfx/hif_tx_mib.h

[PATCH v9 12/24] wfx: add hif_api_*.h

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/hif_api_cmd.h | 554 ++ .../net/wireless/silabs/wfx/hif_api_general.h | 252 drivers/net/wireless/silabs/wfx/hif_api_mib.h | 346 +++ 3 files changed, 1152 insertions(+) cr

[PATCH v9 11/24] wfx: add bh.c/bh.h

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/bh.c | 323 +++ drivers/net/wireless/silabs/wfx/bh.h | 34 +++ 2 files changed, 357 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/bh.c create mode 100644 driver

[PATCH v9 10/24] wfx: add fwio.c/fwio.h

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/fwio.c | 390 + drivers/net/wireless/silabs/wfx/fwio.h | 15 + 2 files changed, 405 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/fwio.c create mode 100644 driv

[PATCH v9 09/24] wfx: add hwio.c/hwio.h

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/hwio.c | 335 + drivers/net/wireless/silabs/wfx/hwio.h | 78 ++ 2 files changed, 413 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/hwio.c create mode 100644

[PATCH v9 08/24] wfx: add bus_sdio.c

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/bus_sdio.c | 283 + 1 file changed, 283 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/bus_sdio.c diff --git a/drivers/net/wireless/silabs/wfx/bus_sdio.c b/drivers/n

[PATCH v9 07/24] wfx: add bus_spi.c

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/bus_spi.c | 297 ++ 1 file changed, 297 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/bus_spi.c diff --git a/drivers/net/wireless/silabs/wfx/bus_spi.c b/drivers/net

[PATCH v9 06/24] wfx: add bus.h

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/bus.h | 36 +++ 1 file changed, 36 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/bus.h diff --git a/drivers/net/wireless/silabs/wfx/bus.h b/drivers/net/wireless

[PATCH v9 05/24] wfx: add main.c/main.h

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/main.c | 485 + drivers/net/wireless/silabs/wfx/main.h | 42 +++ 2 files changed, 527 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/main.c create mode 100644 dr

[PATCH v9 04/24] wfx: add wfx.h

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/wfx.h | 166 ++ 1 file changed, 166 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/wfx.h diff --git a/drivers/net/wireless/silabs/wfx/wfx.h b/drivers/net/wireles

[PATCH v9 03/24] wfx: add Makefile/Kconfig

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/Kconfig | 13 drivers/net/wireless/silabs/wfx/Makefile | 26 2 files changed, 39 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/Kconfig create mode

[PATCH v9 02/24] dt-bindings: introduce silabs,wfx.yaml

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Prepare the inclusion of the wfx driver in the kernel. Signed-off-by: Jérôme Pouiller --- .../bindings/net/wireless/silabs,wfx.yaml | 138 ++ 1 file changed, 138 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/wireless/silabs,w

[PATCH v9 00/24] wfx: get out from the staging area

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Hello, I think the wfx driver is now mature enough to be accepted in the drivers/net/wireless directory. The firmware is now a part of the linux-firmware repository since relase 20210315[1]. The PDS files (= antenna configurations) are still missing. I will send them as so

[PATCH v9 01/24] mmc: sdio: add SDIO IDs for Silabs WF200 chip

2022-01-11 Thread Jerome Pouiller
From: Jérôme Pouiller Note that the values used by Silabs are uncommon. A driver cannot fully rely on the SDIO PnP. It should also check if the device is declared in the DT. So, to apply the quirks necessary for the Silabs WF200, we rely on the DT rather than on the SDIO VID/PID. Signed-off-by:

[PATCH v8 24/24] wfx: get out from the staging area

2021-10-05 Thread Jerome Pouiller
From: Jérôme Pouiller The wfx driver is now mature enough to leave the staging area. Signed-off-by: Jérôme Pouiller --- MAINTAINERS | 3 ++- drivers/net/wireless/Kconfig | 1 + drivers/net/wireless/Makefile| 1 + drivers/net/wireless/silabs/Kconfig

[PATCH v8 22/24] wfx: add traces.h

2021-10-05 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/traces.h | 501 +++ 1 file changed, 501 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/traces.h diff --git a/drivers/net/wireless/silabs/wfx/traces.h b/drivers/net/w

[PATCH v8 21/24] wfx: add debug.c/debug.h

2021-10-05 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/debug.c | 342 drivers/net/wireless/silabs/wfx/debug.h | 19 ++ 2 files changed, 361 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/debug.c create mode 100644 d

[PATCH v8 20/24] wfx: add scan.c/scan.h

2021-10-05 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/scan.c | 148 + drivers/net/wireless/silabs/wfx/scan.h | 22 2 files changed, 170 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/scan.c create mode 100644 d

[PATCH v8 19/24] wfx: add sta.c/sta.h

2021-10-05 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/sta.c | 831 ++ drivers/net/wireless/silabs/wfx/sta.h | 73 +++ 2 files changed, 904 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/sta.c create mode 100644 driv

[PATCH v8 18/24] wfx: add data_tx.c/data_tx.h

2021-10-05 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/data_tx.c | 596 ++ drivers/net/wireless/silabs/wfx/data_tx.h | 68 +++ 2 files changed, 664 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/data_tx.c create mode 100

[PATCH v8 17/24] wfx: add queue.c/queue.h

2021-10-05 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/queue.c | 307 drivers/net/wireless/silabs/wfx/queue.h | 45 2 files changed, 352 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/queue.c create mode 100644

[PATCH v8 16/24] wfx: add data_rx.c/data_rx.h

2021-10-05 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/data_rx.c | 94 +++ drivers/net/wireless/silabs/wfx/data_rx.h | 18 + 2 files changed, 112 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/data_rx.c create mode 10

[PATCH v8 15/24] wfx: add hif_rx.c/hif_rx.h

2021-10-05 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/hif_rx.c | 414 +++ drivers/net/wireless/silabs/wfx/hif_rx.h | 17 + 2 files changed, 431 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/hif_rx.c create mode 100644

[PATCH v8 14/24] wfx: add key.c/key.h

2021-10-05 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/key.c | 241 ++ drivers/net/wireless/silabs/wfx/key.h | 20 +++ 2 files changed, 261 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/key.c create mode 100644 driv

[PATCH v8 13/24] wfx: add hif_tx*.c/hif_tx*.h

2021-10-05 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/hif_tx.c | 517 +++ drivers/net/wireless/silabs/wfx/hif_tx.h | 64 +++ drivers/net/wireless/silabs/wfx/hif_tx_mib.c | 333 drivers/net/wireless/silabs/wfx/hif_tx_mib.h

[PATCH v8 12/24] wfx: add hif_api_*.h

2021-10-05 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/hif_api_cmd.h | 555 ++ .../net/wireless/silabs/wfx/hif_api_general.h | 256 drivers/net/wireless/silabs/wfx/hif_api_mib.h | 346 +++ 3 files changed, 1157 insertions(+) cr

[PATCH v8 11/24] wfx: add bh.c/bh.h

2021-10-05 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/bh.c | 329 +++ drivers/net/wireless/silabs/wfx/bh.h | 34 +++ 2 files changed, 363 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/bh.c create mode 100644 driver

[PATCH v8 10/24] wfx: add fwio.c/fwio.h

2021-10-05 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/fwio.c | 405 + drivers/net/wireless/silabs/wfx/fwio.h | 15 + 2 files changed, 420 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/fwio.c create mode 100644 driv

[PATCH v8 09/24] wfx: add hwio.c/hwio.h

2021-10-05 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/hwio.c | 352 + drivers/net/wireless/silabs/wfx/hwio.h | 79 ++ 2 files changed, 431 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/hwio.c create mode 100644

[PATCH v8 08/24] wfx: add bus_sdio.c

2021-10-05 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/bus_sdio.c | 287 + 1 file changed, 287 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/bus_sdio.c diff --git a/drivers/net/wireless/silabs/wfx/bus_sdio.c b/drivers/n

[PATCH v8 07/24] wfx: add bus_spi.c

2021-10-05 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/bus_spi.c | 307 ++ 1 file changed, 307 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/bus_spi.c diff --git a/drivers/net/wireless/silabs/wfx/bus_spi.c b/drivers/net

[PATCH v8 06/24] wfx: add bus.h

2021-10-05 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/bus.h | 38 +++ 1 file changed, 38 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/bus.h diff --git a/drivers/net/wireless/silabs/wfx/bus.h b/drivers/net/wireless

[PATCH v8 05/24] wfx: add main.c/main.h

2021-10-05 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/main.c | 502 + drivers/net/wireless/silabs/wfx/main.h | 44 +++ 2 files changed, 546 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/main.c create mode 100644 dr

[PATCH v8 04/24] wfx: add wfx.h

2021-10-05 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/wfx.h | 163 ++ 1 file changed, 163 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/wfx.h diff --git a/drivers/net/wireless/silabs/wfx/wfx.h b/drivers/net/wireles

  1   2   3   4   5   6   7   8   >