public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: Martin Kaistra <martin.kaistra@linutronix.de>,
	Ezra Buehler <ezra@easyb.ch>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Cc: Jes Sorensen <Jes.Sorensen@gmail.com>,
	Kalle Valo <kvalo@kernel.org>,
	Bitterblue Smith <rtl8821cerfe2@gmail.com>,
	Johannes Berg <johannes.berg@intel.com>,
	Reto Schneider <reto.schneider@husqvarnagroup.com>,
	Ezra Buehler <ezra.buehler@husqvarnagroup.com>
Subject: RE: [PATCH v2] wifi: rtl8xxxu: Enable AP mode for RTL8192CU (RTL8188CUS)
Date: Mon, 3 Feb 2025 08:51:43 +0000	[thread overview]
Message-ID: <93fe56295aba4bf0bc1af603bd992f47@realtek.com> (raw)
In-Reply-To: <19b8059a-c5f6-4467-8b42-31e70b9fe1f3@linutronix.de>

Martin Kaistra <martin.kaistra@linutronix.de> wrote:
> Am 03.02.25 um 03:40 schrieb Ping-Ke Shih:
> > Ezra Buehler <ezra@easyb.ch> wrote:
> >
> >> From: Ezra Buehler <ezra.buehler@husqvarnagroup.com>
> >>
> >> This allows the driver to be used in wireless access point mode on the
> >> AT91SAM9G25-based GARDENA smart Gateway.
> >>
> >> Unfortunately, the data throughput in AP mode appears to be lower than
> >> with the vendor driver (or in STA mode). Especially when sending, the
> >> data rate is significantly lower. My measurements performed with iperf3
> >> and an Edimax EW-7811Un (VID: 7392, PID: 7811) showed a maximum TX rate
> >> of about 4 Mbits/sec compared to the ~24 Mbits/sec measured with the
> >> rtl8192cu driver.
> >>
> >> Although the performance might be good enough for our use case, this is
> >> something that should be further looked into.
> >>
> >> Signed-off-by: Ezra Buehler <ezra.buehler@husqvarnagroup.com>
> >
> > 1 patch(es) applied to rtw-next branch of rtw.git, thanks.
> 
> Is there a reason for not setting macid in rtl8xxxu_fill_txdesc_v1() and
> rtl8xxxu_update_rate_mask() like it was done for the gen2 case?

rtl8xxxu_fill_txdesc_v3() doesn't fill macid neither. Quickly search for
the code filling tx desc [1]. I think we can have a
   #define TXDESC32_MACID_MASK GENMASK(4, 0)

The h2c command format of rtl8xxxu_update_rate_mask() seemingly should be
equal to rtl8192c_set_raid_cmd() [2], but not.

Can anyone help to spin patches and test if it works?

[1] https://github.com/lwfinger/rtl8192cu/blob/master/hal/rtl8192cu_xmit.c#L257
[2] https://github.com/lwfinger/rtl8192cu/blob/master/hal/rtl8192c_cmd.c#L201



  reply	other threads:[~2025-02-03  8:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-22  7:15 [PATCH v2] wifi: rtl8xxxu: Enable AP mode for RTL8192CU (RTL8188CUS) Ezra Buehler
2025-01-23  0:31 ` Ping-Ke Shih
2025-02-03  2:40 ` Ping-Ke Shih
2025-02-03  7:55   ` Martin Kaistra
2025-02-03  8:51     ` Ping-Ke Shih [this message]
2025-02-04 19:59       ` Ezra Buehler
2025-02-04 20:58         ` Bitterblue Smith

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=93fe56295aba4bf0bc1af603bd992f47@realtek.com \
    --to=pkshih@realtek.com \
    --cc=Jes.Sorensen@gmail.com \
    --cc=ezra.buehler@husqvarnagroup.com \
    --cc=ezra@easyb.ch \
    --cc=johannes.berg@intel.com \
    --cc=kvalo@kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=martin.kaistra@linutronix.de \
    --cc=reto.schneider@husqvarnagroup.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