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 2/2] wifi: rtl8xxxu: Support devices with 5-6 out endpoints
Date: Thu, 6 Apr 2023 01:19:50 +0000 [thread overview]
Message-ID: <acf5580bb2a442bc96737426a7bec79b@realtek.com> (raw)
In-Reply-To: <41960362-55ec-226f-befa-c3c05c38c94c@gmail.com>
> -----Original Message-----
> From: Bitterblue Smith <rtl8821cerfe2@gmail.com>
> Sent: Saturday, April 1, 2023 4:18 AM
> To: linux-wireless@vger.kernel.org
> Cc: Jes Sorensen <Jes.Sorensen@gmail.com>; Ping-Ke Shih <pkshih@realtek.com>
> Subject: [PATCH 2/2] wifi: rtl8xxxu: Support devices with 5-6 out endpoints
>
> Handle them the same way as the devices with 3-4 USB out endpoints.
> This is needed for the RTL8192FU.
>
> Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
> ---
> drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h | 2 +-
> drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 2 ++
> 2 files changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
> b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
> index 39fee07917e7..82a0290ccb29 100644
> --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
> +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
> @@ -27,7 +27,7 @@
> #define RTL8XXXU_MAX_REG_POLL 500
> #define USB_INTR_CONTENT_LENGTH 56
>
> -#define RTL8XXXU_OUT_ENDPOINTS 4
> +#define RTL8XXXU_OUT_ENDPOINTS 6
>
> #define REALTEK_USB_READ 0xc0
> #define REALTEK_USB_WRITE 0x40
> diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
> b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
> index 62dd53a57659..6106b47d0c37 100644
> --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
> +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
> @@ -1663,6 +1663,8 @@ int rtl8xxxu_config_endpoints_no_sie(struct rtl8xxxu_priv *priv)
> struct device *dev = &priv->udev->dev;
>
> switch (priv->nr_out_eps) {
> + case 6:
> + case 5:
> case 4:
> case 3:
> priv->ep_tx_low_queue = 1;
> --
> 2.39.2
>
> ------Please consider the environment before printing this e-mail.
next prev parent reply other threads:[~2023-04-06 1:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-31 20:17 [PATCH 1/2] wifi: rtl8xxxu: Clean up some messy ifs Bitterblue Smith
2023-03-31 20:18 ` [PATCH 2/2] wifi: rtl8xxxu: Support devices with 5-6 out endpoints Bitterblue Smith
2023-04-06 1:19 ` Ping-Ke Shih [this message]
2023-04-01 4:23 ` [PATCH 1/2] wifi: rtl8xxxu: Clean up some messy ifs Julian Calaby
2023-04-01 21:24 ` Bitterblue Smith
2023-04-06 1:16 ` Ping-Ke Shih
2023-04-09 14:10 ` Bitterblue Smith
2023-04-10 0:20 ` Ping-Ke Shih
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=acf5580bb2a442bc96737426a7bec79b@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.