[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<DU0PR04MB9636EF4BC137C95F70594E9DD1932@DU0PR04MB9636.eurprd04.prod.outlook.com>
Date: Tue, 3 Sep 2024 06:39:15 +0000
From: David Lin <yu-hao.lin@....com>
To: Sascha Hauer <s.hauer@...gutronix.de>
CC: Francesco Dolcini <francesco@...cini.it>, Calvin Owens
<calvin@...nvd.org>, Brian Norris <briannorris@...omium.org>, Kalle Valo
<kvalo@...nel.org>, "linux-wireless@...r.kernel.org"
<linux-wireless@...r.kernel.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>, "kernel@...gutronix.de"
<kernel@...gutronix.de>
Subject: RE: [EXT] [RFC PATCH 0/4] mwifiex: add support for iw61x
> From: Sascha Hauer <s.hauer@...gutronix.de>
> Sent: Tuesday, September 3, 2024 2:33 PM
> To: David Lin <yu-hao.lin@....com>
> Cc: Francesco Dolcini <francesco@...cini.it>; Calvin Owens
> <calvin@...nvd.org>; Brian Norris <briannorris@...omium.org>; Kalle Valo
> <kvalo@...nel.org>; linux-wireless@...r.kernel.org;
> linux-kernel@...r.kernel.org; kernel@...gutronix.de
> Subject: Re: [EXT] [RFC PATCH 0/4] mwifiex: add support for iw61x
>
> Caution: This is an external email. Please take care when clicking links or
> opening attachments. When in doubt, report the message using the 'Report
> this email' button
>
>
> On Tue, Sep 03, 2024 at 01:51:46AM +0000, David Lin wrote:
> > > From: Sascha Hauer <s.hauer@...gutronix.de>
> > > Sent: Monday, September 2, 2024 9:11 PM
> > > To: David Lin <yu-hao.lin@....com>
> > > Cc: Francesco Dolcini <francesco@...cini.it>; Calvin Owens
> > > <calvin@...nvd.org>; Brian Norris <briannorris@...omium.org>; Kalle
> > > Valo <kvalo@...nel.org>; linux-wireless@...r.kernel.org;
> > > linux-kernel@...r.kernel.org; kernel@...gutronix.de
> > > Subject: Re: [EXT] [RFC PATCH 0/4] mwifiex: add support for iw61x
> > >
> > > > > > > > >
> > > > > > > > > Sascha
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Sascha Hauer (4):
> > > > > > > > > wifi: mwifiex: release firmware at remove time
> > > > > > > > > wifi: mwifiex: handle VDLL
> > > > > > > > > wifi: mwifiex: wait longer for SDIO card status
> > > > > > > > > mwifiex: add iw61x support
> > > > > > > > >
> > > > > > > > > drivers/net/wireless/marvell/mwifiex/cmdevt.c | 86
> > > > > > > +++++++++++++++++++
> > > > > > > > > drivers/net/wireless/marvell/mwifiex/fw.h | 16 ++++
> > > > > > > > > drivers/net/wireless/marvell/mwifiex/main.c | 9 +-
> > > > > > > > > drivers/net/wireless/marvell/mwifiex/main.h | 4 +
> > > > > > > > > drivers/net/wireless/marvell/mwifiex/sdio.c | 81
> > > > > ++++++++++++++++-
> > > > > > > > > drivers/net/wireless/marvell/mwifiex/sdio.h | 3 +
> > > > > > > > > .../net/wireless/marvell/mwifiex/sta_event.c | 4
> > > > > > > > > + .../net/wireless/marvell/mwifiex/uap_event.c | 4 +
> > > > > > > > > include/linux/mmc/sdio_ids.h | 3 +
> > > > > > > > > 9 files changed, 205 insertions(+), 5 deletions(-)
> > > > > > > > >
> > > > > > > > > --
> > > > > The VDLL support in the downstream driver supports a case when a
> > > > > VDLL event comes in while a command is being sent. I catched
> > > > > this with this
> > > > > test:
> > > > >
> > > > > if (adapter->cmd_sent) {
> > > > > mwifiex_dbg(adapter, MSG, "%s: adapter is
> > > > > busy\n", __func__);
> > > > > return -EBUSY;
> > > > > }
> > > > >
> > > > > The downstream driver defers handling of the VDLL event to the
> > > > > main process in this case. I haven't implemented this case in my
> > > > > patch because I wasn't able to trigger it, but is this the case you are
> referring to?
> > > > >
> > > >
> > > > Not only this code segment. In fact, you did not add VDLL data
> > > > patch support
> > > to sdio.c.
> > > > If you try to add the code and do test, you will know what is
> > > > missing in your
> > > code.
> > >
> > > Could you point me to the code you mean?
> > >
> > > Sascha
> > >
> >
> > I only know the porting VDLL code in nxpwifi.
>
> Yes, and I asked for a pointer to that code, some function name, or file/line or
> whatever, because I looked at the nxpwifi driver and don't know what you
> mean with "VDLL data patch support" in sdio.c.
>
> Sascha
>
It is better for you to check MXM driver. It is the same as Mwifiex which support all SDIO modes.
Powered by blists - more mailing lists