[PATCH 5/6] wifi: mac80211: export ieee80211_tpt_led_trig_tx/rx for driver
Kalle Valo
kvalo at kernel.org
Mon Aug 28 23:36:28 PDT 2023
Yi-Chia Hsieh <yi-chia.hsieh at mediatek.com> writes:
> Whenever the H/W path is enabled and traffic is in the binding state,
> mac80211 is not aware of the traffic. Consequently, the LED does not
> blink for that reason.
>
> The ieee80211_tpt_led_trig_tx/rx functions are exported for the driver
> so that we can report the tx and rx bytes from the driver when
> the H/W path is being used.
>
> Signed-off-by: Yi-Chia Hsieh <yi-chia.hsieh at mediatek.com>
> ---
> include/net/mac80211.h | 17 +++++++++++++++++
> net/mac80211/led.c | 18 ++++++++++++++++++
> net/mac80211/led.h | 18 ------------------
> net/mac80211/rx.c | 2 +-
> net/mac80211/tx.c | 4 ++--
> 5 files changed, 38 insertions(+), 21 deletions(-)
The mac80211 patch should be first in the patchset to get more
visibility.
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the Linux-mediatek
mailing list