linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Aiden Leong <aiden.leong@aibsd.com>
To: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	"Greenman, Gregory" <gregory.greenman@intel.com>
Cc: "kvalo@kernel.org" <kvalo@kernel.org>,
	"edumazet@google.com" <edumazet@google.com>,
	"davem@davemloft.net" <davem@davemloft.net>,
	"kuba@kernel.org" <kuba@kernel.org>,
	"pabeni@redhat.com" <pabeni@redhat.com>
Subject: Re: [PATCH 1/2] iwlwifi: pcie: add support for AX101NGW
Date: Thu, 05 Jan 2023 16:41:55 +0800	[thread overview]
Message-ID: <2669054.mvXUDI8C0e@eq59> (raw)
In-Reply-To: <cef2bd45d48127dfb65d8cf7243ec09cfbb30921.camel@intel.com>

[-- Attachment #1: Type: text/plain, Size: 3298 bytes --]

On 2023年1月5日星期四 CST 下午2:39:52 Greenman, Gregory wrote:
> On Mon, 2023-01-02 at 22:32 +0800, Aiden Leong wrote:
> 
> > 1. I know nothing about what `tx_with_siso_diversity` is. It's just a 
> > hardware flag to me. Main line.
> > 
> > 2. I have the real device. Tested. Two photos was sent to Luca Coelho as 
> > well.
> > 
> > 3. /drivers/net/wireless/intel/iwlwifi/pcie/drv.c#L623
> > 
> >  > IWL_DEV_INFO(0x4DF0, 0x1651, killer1650s_2ax_cfg_qu_b0_hr_b0, NULL),
> > 
> > The device I have is 0x4DF0, 0x0244. They share the same device ID.
> > 
> > 4. I have narrowed down my code with _mac_step, _rf_type, _rf_id, 
> > _no_160 and _cores, so it should be safe to other devices.
> > 
> > Happy New Year
> > 
> > Aiden
> > 
> > On 2023/1/2 21:32, Greenman, Gregory wrote:
> > 
> > > On Mon, 2023-01-02 at 10:40 +0800, Aiden Leong wrote:
> > > 
> > > > AX101NGW(0x4DF0, 0x0244) should have tx_with_siso_diversity unset.
> > > 
> > > Why it should be unset? Which kernel do you have?
> > > Commit 3f910a25839b13436bf0a22186f1698b23eafb91 added AX101 device.
> > > 
> > > 
> > > > Signed-off-by: Aiden Leong <aiden.leong@aibsd.com>
> > > > ---
> > > > Ref Commit: 9352ed0165ff4313ab340c979446c3d64c531f7a
> > > > Tested on my own device.
> > > > ---
> > > >   drivers/net/wireless/intel/iwlwifi/pcie/drv.c | 5 +++++
> > > >   1 file changed, 5 insertions(+)
> > > > 
> > > > diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/drv.c
> > > > b/drivers/net/wireless/intel/iwlwifi/pcie/drv.c
 index
> > > > 99768d6a6032..a46df1320372 100644
> > > > --- a/drivers/net/wireless/intel/iwlwifi/pcie/drv.c
> > > > +++ b/drivers/net/wireless/intel/iwlwifi/pcie/drv.c
> > > > @@ -986,6 +986,11 @@ static const struct iwl_dev_info
> > > > iwl_dev_info_table[] = {
 iwl_qu_c0_hr_b0, iwl_ax201_name),
> > > >   
> > > >          /* QuZ */
> > > > +       _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
> > > > +                     IWL_CFG_MAC_TYPE_QUZ, SILICON_B_STEP,
> > > > +                     IWL_CFG_RF_TYPE_HR1, IWL_CFG_RF_ID_HR1,
> > > > +                     IWL_CFG_NO_160, IWL_CFG_CORES_BT,
> > > > IWL_CFG_NO_CDB, IWL_CFG_NO_JACKET,
 +                    
> > > > iwl_cfg_quz_a0_hr_b0, iwl_ax101_name),
> > > >          _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
> > > >                        IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY,
> > > >                        IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY,
> 
> 
> So, still the only thing that this patch does is to *disable*
> tx_with_siso_diversity flag. 
 The configuration one line below it (looking
> at Linux 6.2-rc2) is essentially the same (but with wildcards instead), the
> only thing different is using iwl_quz_a0_hr1_b0 instead of
> iwl_cfg_quz_a0_hr_b0. These two configurations differ only in setting
> tx_with_siso_diversity. Thus the question, what is the reason for the
> change? Did you experienced FW crashes, throughput degardataion?

Correct.

1. The FW crashes with "NMI_INTERRUPT_UNKNOW". Not interface shows up 
via `ip a`.

2. With iwl_cfg_quz_a0_hr_b0, it works. However, I get 
"NMI_INTERRUPT_UMAC_FATAL " in dmesg. Throughput degardataion not tested.

Please let me know if I should send you more info for further debugging.

Cheers,
Aiden Leong

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2023-01-05  8:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-02  2:40 [PATCH 1/2] iwlwifi: pcie: add support for AX101NGW Aiden Leong
2023-01-02 13:32 ` Greenman, Gregory
2023-01-02 14:32   ` Aiden Leong
2023-01-05  6:39     ` Greenman, Gregory
2023-01-05  8:41       ` Aiden Leong [this message]
2023-01-19 15:22         ` Greenman, Gregory

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=2669054.mvXUDI8C0e@eq59 \
    --to=aiden.leong@aibsd.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=gregory.greenman@intel.com \
    --cc=kuba@kernel.org \
    --cc=kvalo@kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /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).