linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@codeaurora.org>
To: Jerome Pouiller <Jerome.Pouiller@silabs.com>
Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"David S . Miller" <davem@davemloft.net>,
	devicetree@vger.kernel.org, "Rob Herring" <robh+dt@kernel.org>,
	linux-mmc@vger.kernel.org, "Pali Rohár" <pali@kernel.org>,
	"Ulf Hansson" <ulf.hansson@linaro.org>
Subject: Re: [PATCH v8 00/24] wfx: get out from the staging area
Date: Tue, 05 Oct 2021 17:15:22 +0300	[thread overview]
Message-ID: <875yubfthh.fsf@codeaurora.org> (raw)
In-Reply-To: <20211005135400.788058-1-Jerome.Pouiller@silabs.com> (Jerome Pouiller's message of "Tue, 5 Oct 2021 15:53:36 +0200")

Jerome Pouiller <Jerome.Pouiller@silabs.com> writes:

> From: Jérôme Pouiller <jerome.pouiller@silabs.com>
>
> 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]. It had taken a bit of time because I have worked with the legal
> department to simplify the redistribution terms of the firmware.
>
> [1]: https://lore.kernel.org/linux-firmware/2833354.gXvVfaC4I7@pc-42/
>
>
> As requested by Kalle[2], I send one file per patch. At the end, all the
> patches (or at least the patches 3 to 24) will be squashed (therefore, I
> didn't bother to write real commit messages).
>
> [2]: https://lore.kernel.org/lkml/87ft6p2n0h.fsf@codeaurora.org/
>
> Here is a diagram of the global architecture that may help to understand
> the code:
>
>     ,------------------------------------.
>     |                mac80211            |
>     `------------------------------------'
>     ,------------+-----------+-----------.
>     |    sta     |           |           |
>     |    scan    |           |           |
>     |    main    |           |           |
>     +------------+  data_tx  |           |
>     |    key     |           |  data_rx  |
>     | hif_tx_mib |   queue   |           |
>     |   hif_tx   |           |           |
>     |   hif_rx   |           |           |
>     |  hif_api_* |           |           |
>     +------------+-----------+-----------+--------.
>     |                  bh                |  fwio  |
>     +------------------------------------+--------+
>     |                     hwio                    |
>     +---------------------------------------------+
>     |                   bus_sdio                  |
>     |                   bus_spi                   |
>     `---------------------------------------------'
>     ,---------------------------------------------.
>     |                  spi / sdio                 |
>     `---------------------------------------------'
>
> Roughly, I have sent the files from the bottom to the top.
>
>
> v8:
>   - Change the way the DT is handled. The user can now specify the name of
>     the board (= chip + antenna) he use. It easier for board designers to
>     add new entries. I plan to send a PR to linux-firmware to include PDS
>     files of the developpement boards belong the firmware (I also plan to
>     relocate these file into wfx/ instead of silabs/). (Kalle, Pali)
>   - Prefix visible functions and structs with "wfx_". I mostly kept the
>     code under 80 columns. (Kalle, Pali, Greg)
>   - Remove support for force_ps_timeout for now. (Kalle)
>   - Fix licenses of Makefile, Kconfig and hif_api*.h. (Kalle)
>   - Do not mix and match endianess in struct hif_ind_startup. (Kalle)
>   - Remove magic values. (Kalle)
>   - Use IS_ALIGNED(). (BTW, PTR_IS_ALIGNED() does not exist?) (Kalle)
>   - I have also noticed that some headers files did not declare all the
>     struct they used.
>
>   These issues remain (I hope they are not blockers):
>   - I have currently no ideas how to improve/simplify the parsing PDS file.
>     (Kalle)

For the PDS file problem it would help if you could actually describe
what the firmware requires/needs and then we can start from that. I had
some questions about this in v7 but apparently you missed those.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

  parent reply	other threads:[~2021-10-05 14:17 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-05 13:53 [PATCH v8 00/24] wfx: get out from the staging area Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 01/24] mmc: sdio: add SDIO IDs for Silabs WF200 chip Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 02/24] dt-bindings: introduce silabs,wfx.yaml Jerome Pouiller
2021-10-05 22:45   ` Rob Herring
2021-10-05 13:53 ` [PATCH v8 03/24] wfx: add Makefile/Kconfig Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 04/24] wfx: add wfx.h Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 05/24] wfx: add main.c/main.h Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 06/24] wfx: add bus.h Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 07/24] wfx: add bus_spi.c Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 08/24] wfx: add bus_sdio.c Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 09/24] wfx: add hwio.c/hwio.h Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 10/24] wfx: add fwio.c/fwio.h Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 11/24] wfx: add bh.c/bh.h Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 12/24] wfx: add hif_api_*.h Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 13/24] wfx: add hif_tx*.c/hif_tx*.h Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 14/24] wfx: add key.c/key.h Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 15/24] wfx: add hif_rx.c/hif_rx.h Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 16/24] wfx: add data_rx.c/data_rx.h Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 17/24] wfx: add queue.c/queue.h Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 18/24] wfx: add data_tx.c/data_tx.h Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 19/24] wfx: add sta.c/sta.h Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 20/24] wfx: add scan.c/scan.h Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 21/24] wfx: add debug.c/debug.h Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 22/24] wfx: add traces.h Jerome Pouiller
2021-10-05 13:53 ` [PATCH v8 23/24] wfx: remove from the staging area Jerome Pouiller
2021-10-05 13:54 ` [PATCH v8 24/24] wfx: get out " Jerome Pouiller
2021-10-05 14:15 ` Kalle Valo [this message]
2021-10-05 16:22   ` [PATCH v8 00/24] " Jérôme Pouiller
2021-10-05 17:49     ` Kalle Valo
2021-10-05 14:20 ` Kalle Valo
2021-10-05 15:51   ` Jérôme Pouiller
2021-10-07  8:22     ` Kalle Valo

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=875yubfthh.fsf@codeaurora.org \
    --to=kvalo@codeaurora.org \
    --cc=Jerome.Pouiller@silabs.com \
    --cc=davem@davemloft.net \
    --cc=devel@driverdev.osuosl.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pali@kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=ulf.hansson@linaro.org \
    /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;
as well as URLs for NNTP newsgroup(s).