public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrey Skvortsov <andrej.skvortzov@gmail.com>
To: Ping-Ke Shih <pkshih@realtek.com>
Cc: Kalle Valo <kvalo@kernel.org>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Bitterblue Smith <rtl8821cerfe2@gmail.com>,
	Fiona Klute <fiona.klute@gmx.de>
Subject: Re: [PATCH] wifi: rtw88: enable TX reports for the management queue
Date: Thu, 10 Jul 2025 01:20:59 +0300	[thread overview]
Message-ID: <aG7rSzyOWqIWMSII@skv.local> (raw)
In-Reply-To: <dbd7eee63629497194901210c46bd704@realtek.com>

On 25-06-30 01:51, Ping-Ke Shih wrote:
> Andrey Skvortsov <andrej.skvortzov@gmail.com> wrote:
> > This is needed for AP mode. Otherwise client sees the network, but
> > can't connect to it.
> > 
> > REG_FWHW_TXQ_CTRL+1 is set to WLAN_TXQ_RPT_EN (0x1F) in common mac
> > init function (__rtw8723x_mac_init), but the value was overwritten
> > from mac table later.
> 
> Since the tables were copied from vendor driver, I suspect people might
> overwrite the tables again resulting in regression. 
> 
> So we can add a mac_post_init to set the value after loading parameters:
> 
>   rtw_mac_init(rtwdev); // not set REG_FWHW_TXQ_CTRL+1 to WLAN_TXQ_RPT_EN
> 
>   chip->ops->phy_set_param(rtwdev); // "0x421, 0x0000000F," by table
> 
>   rtw_mac_postinit(rtwdev); // set REG_FWHW_TXQ_CTRL+1 to WLAN_TXQ_RPT_EN 
> 
> Only rtw8703b/rtw8723d implement postinit ops.
> 

Thanks for the feedback, I'll add this in v2.

-- 
Best regards,
Andrey Skvortsov

      reply	other threads:[~2025-07-09 22:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-28 22:30 [PATCH] wifi: rtw88: enable TX reports for the management queue Andrey Skvortsov
2025-06-30  1:51 ` Ping-Ke Shih
2025-07-09 22:20   ` Andrey Skvortsov [this message]

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=aG7rSzyOWqIWMSII@skv.local \
    --to=andrej.skvortzov@gmail.com \
    --cc=fiona.klute@gmx.de \
    --cc=kvalo@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=pkshih@realtek.com \
    --cc=rtl8821cerfe2@gmail.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