linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: Bitterblue Smith <rtl8821cerfe2@gmail.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Cc: Jes Sorensen <Jes.Sorensen@gmail.com>
Subject: RE: [PATCH v2 1/2] wifi: rtl8xxxu: Support new chip RTL8192FU
Date: Wed, 3 May 2023 01:29:20 +0000	[thread overview]
Message-ID: <4dcbedfc00ed429489872b5d1e6de5b9@realtek.com> (raw)
In-Reply-To: <c43d971c-21bf-6714-d852-c76e515438b0@gmail.com>



> -----Original Message-----
> From: Bitterblue Smith <rtl8821cerfe2@gmail.com>
> Sent: Wednesday, May 3, 2023 2:39 AM
> To: linux-wireless@vger.kernel.org
> Cc: Jes Sorensen <Jes.Sorensen@gmail.com>; Ping-Ke Shih <pkshih@realtek.com>
> Subject: [PATCH v2 1/2] wifi: rtl8xxxu: Support new chip RTL8192FU
> 
> This is a newer chip, similar to the RTL8710BU in that it uses the same
> PHY status structs.
> 
> Features: 2.4 GHz, b/g/n mode, 2T2R, 300 Mbps.
> 
> It can allegedly have Bluetooth, but that's not implemented here.
> 
> This chip can have many RFE (RF front end) types, of which type 5 is
> the only one tested. Many of the other types need different
> initialisation tables. They can be added if someone wants them.
> 
> The vendor driver v5.8.6.2_35538.20191028_COEX20190910-0d02 from
> https://github.com/BrightX/rtl8192fu was used as reference, with
> additional device IDs taken from
> https://github.com/kelebek333/rtl8192fu-dkms.
> 
> The vendor driver also claims to support devices with ID 0bda:a725,
> but that is found in some bluetooth-only devices, so it's not supported
> here.
> 
> Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>

Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>

> ---
> v2:
>  - Feedback from Ping-Ke Shih:
>    - Add rtl8xxxu_8192f.o to Makefile.
>    - Initialise variable channel_idx in rtl8192fu_config_kfree() and
>      variable ledcfg in rtl8192fu_led_brightness_set() to avoid
>      warnings.
>    - Give names to a lot of registers.
>    - Initialise bb_gain_for_path in rtl8192fu_config_kfree() in two
>      steps.
>    - Don't assign the return value of rtl8xxxu_write32_mask() to
>      variable val32 in rtl8xxxu_fill_iqk_matrix_b().
>  - Add more information about device IDs to the commit message.
> ---
>  drivers/net/wireless/realtek/rtl8xxxu/Kconfig |    3 +-
>  .../net/wireless/realtek/rtl8xxxu/Makefile    |    2 +-
>  .../net/wireless/realtek/rtl8xxxu/rtl8xxxu.h  |   47 +
>  .../realtek/rtl8xxxu/rtl8xxxu_8188f.c         |    3 +-
>  .../realtek/rtl8xxxu/rtl8xxxu_8192f.c         | 2090 +++++++++++++++++
>  .../realtek/rtl8xxxu/rtl8xxxu_8710b.c         |    1 +
>  .../realtek/rtl8xxxu/rtl8xxxu_8723b.c         |    1 +
>  .../wireless/realtek/rtl8xxxu/rtl8xxxu_core.c |  104 +-
>  .../wireless/realtek/rtl8xxxu/rtl8xxxu_regs.h |   39 +
>  9 files changed, 2259 insertions(+), 31 deletions(-)
>  create mode 100644 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192f.c
> 
> diff --git a/drivers/net/wireless/realtek/rtl8xxxu/Kconfig
> b/drivers/net/wireless/realtek/rtl8xxxu/Kconfig
> index 82bcaf44a65f..44ad94757a03 100644

[...]


  parent reply	other threads:[~2023-05-03  1:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-02 18:39 [PATCH v2 1/2] wifi: rtl8xxxu: Support new chip RTL8192FU Bitterblue Smith
2023-05-02 18:40 ` [PATCH v2 2/2] wifi: rtl8xxxu: Rename some registers Bitterblue Smith
2023-05-03  1:30   ` Ping-Ke Shih
2023-05-03  1:29 ` Ping-Ke Shih [this message]
2023-05-11 13:17 ` [PATCH v2 1/2] wifi: rtl8xxxu: Support new chip RTL8192FU 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=4dcbedfc00ed429489872b5d1e6de5b9@realtek.com \
    --to=pkshih@realtek.com \
    --cc=Jes.Sorensen@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    --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;
as well as URLs for NNTP newsgroup(s).