diff options
author | Bitterblue Smith <rtl8821cerfe2@gmail.com> | 2025-01-08 13:41:23 +0200 |
---|---|---|
committer | Ping-Ke Shih <pkshih@realtek.com> | 2025-01-12 10:07:38 +0800 |
commit | 4b6652bc6d8d5fb0648b3a7a16ef8af4e0345bcd (patch) | |
tree | 170943ac0dffcd92739521d4d607384142fadb82 /drivers/net/can | |
parent | fb2fcfbe5eef9ae26b0425978435ae1308951e51 (diff) |
wifi: rtw88: Add support for LED blinking
Register a struct led_classdev with the kernel's LED subsystem and
create a throughput-based trigger for it. Then mac80211 makes the LED
blink.
Tested with Tenda U12 (RTL8812AU), Tenda U9 (RTL8811CU), TP-Link Archer
T2U Nano (RTL8811AU), TP-Link Archer T3U Plus (RTL8812BU), Edimax
EW-7611UCB (RTL8821AU), LM842 (RTL8822CU).
Also tested with devices which don't have LEDs: the laptop's internal
RTL8822CE and a no-name RTL8723DU.
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/6c43451f-ab2f-4e76-ac6e-ff5a18dd981d@gmail.com
Diffstat (limited to 'drivers/net/can')
0 files changed, 0 insertions, 0 deletions