linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@kernel.org>
To: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	Jes Sorensen <Jes.Sorensen@gmail.com>,
	Ping-Ke Shih <pkshih@realtek.com>
Subject: Re: [PATCH v2 1/4] wifi: rtl8xxxu: Register the LED and make it blink
Date: Mon, 13 Feb 2023 17:24:48 +0000 (UTC)	[thread overview]
Message-ID: <167630908718.12830.5018978756931312787.kvalo@kernel.org> (raw)
In-Reply-To: <b8235bca-60c3-d0fe-a958-53c6dd3ba3f6@gmail.com>

Bitterblue Smith <rtl8821cerfe2@gmail.com> wrote:

> If the chip can have an LED, register a struct led_classdev and enable
> hardware-controlled blinking. When the chip is not transmitting or
> receiving anything the LED is off. Otherwise the LED will blink
> faster or slower according to the throughput.
> 
> The LED can be controlled from userspace by writing 0, 1, or 2 to
> /sys/class/leds/rtl8xxxu-usbX-Y/brightness:
> 0 - solid off.
> 1 - solid on.
> 2 - hardware-controlled blinking.
> 
> In this patch none of the chips advertise having an LED. That will be
> added in the next patches.
> 
> Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
> Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>

4 patches applied to wireless-next.git, thanks.

3be01622995b wifi: rtl8xxxu: Register the LED and make it blink
873b3811728b wifi: rtl8xxxu: Add LED control code for RTL8188EU
ae0a6df673c2 wifi: rtl8xxxu: Add LED control code for RTL8192EU
2cef0aeebf2c wifi: rtl8xxxu: Add LED control code for RTL8723AU

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/b8235bca-60c3-d0fe-a958-53c6dd3ba3f6@gmail.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


      parent reply	other threads:[~2023-02-13 17:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-20 15:51 [PATCH v2 1/4] wifi: rtl8xxxu: Register the LED and make it blink Bitterblue Smith
2023-01-20 15:52 ` [PATCH v2 2/4] wifi: rtl8xxxu: Add LED control code for RTL8188EU Bitterblue Smith
2023-01-21  7:02   ` Ping-Ke Shih
2023-01-20 15:54 ` [PATCH v2 3/4] wifi: rtl8xxxu: Add LED control code for RTL8192EU Bitterblue Smith
2023-01-21  7:03   ` Ping-Ke Shih
2023-01-20 15:55 ` [PATCH v2 4/4] wifi: rtl8xxxu: Add LED control code for RTL8723AU Bitterblue Smith
2023-01-21  7:03   ` Ping-Ke Shih
2023-01-21  7:01 ` [PATCH v2 1/4] wifi: rtl8xxxu: Register the LED and make it blink Ping-Ke Shih
2023-02-13 17:24 ` Kalle Valo [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=167630908718.12830.5018978756931312787.kvalo@kernel.org \
    --to=kvalo@kernel.org \
    --cc=Jes.Sorensen@gmail.com \
    --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;
as well as URLs for NNTP newsgroup(s).