From: Kalle Valo <kvalo@kernel.org>
To: Yi-Chia Hsieh <yi-chia.hsieh@mediatek.com>
Cc: Felix Fietkau <nbd@nbd.name>,
Johannes Berg <johannes.berg@intel.com>,
Lorenzo Bianconi <lorenzo.bianconi@redhat.com>,
Ryder Lee <ryder.lee@mediatek.com>,
Shayne Chen <shayne.chen@mediatek.com>,
Evelyn Tsai <evelyn.tsai@mediatek.com>,
Money Wang <money.wang@mediatek.com>,
Peter Chiu <chui-hao.chiu@mediatek.com>,
Benjamin Lin <benjamin-jw.lin@mediatek.com>,
<linux-wireless@vger.kernel.org>,
<linux-mediatek@lists.infradead.org>
Subject: Re: [PATCH 5/6] wifi: mac80211: export ieee80211_tpt_led_trig_tx/rx for driver
Date: Tue, 29 Aug 2023 09:36:28 +0300 [thread overview]
Message-ID: <87il8ytkwj.fsf@kernel.org> (raw)
In-Reply-To: <8d18b7ac7fc394c310c0f2730da9ee7e955a9860.1692983967.git.yi-chia.hsieh@mediatek.com> (Yi-Chia Hsieh's message of "Fri, 25 Aug 2023 10:47:08 -0700")
Yi-Chia Hsieh <yi-chia.hsieh@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@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
next prev parent reply other threads:[~2023-08-29 6:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-25 17:47 [PATCH 1/6] wifi: mt76: mt7996: get tx_retries and tx_failed from txfree Yi-Chia Hsieh
2023-08-25 17:47 ` [PATCH 2/6] wifi: mt76: mt7996: Add mcu commands for getting sta tx statistic Yi-Chia Hsieh
2023-08-25 17:47 ` [PATCH 3/6] wifi: mt76: mt7996: enable PPDU-TxS to host Yi-Chia Hsieh
2023-08-25 17:47 ` [PATCH 4/6] wifi: mt76: mt7996: remove periodic MPDU TXS request Yi-Chia Hsieh
2023-08-25 17:47 ` [PATCH 5/6] wifi: mac80211: export ieee80211_tpt_led_trig_tx/rx for driver Yi-Chia Hsieh
2023-08-25 18:08 ` Jeff Johnson
2023-08-28 18:03 ` Ryder Lee
2023-08-29 6:36 ` Kalle Valo [this message]
2023-08-25 17:47 ` [PATCH 6/6] wifi: mt76: report per-phy tx and rx byte to tpt_led Yi-Chia Hsieh
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=87il8ytkwj.fsf@kernel.org \
--to=kvalo@kernel.org \
--cc=benjamin-jw.lin@mediatek.com \
--cc=chui-hao.chiu@mediatek.com \
--cc=evelyn.tsai@mediatek.com \
--cc=johannes.berg@intel.com \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=lorenzo.bianconi@redhat.com \
--cc=money.wang@mediatek.com \
--cc=nbd@nbd.name \
--cc=ryder.lee@mediatek.com \
--cc=shayne.chen@mediatek.com \
--cc=yi-chia.hsieh@mediatek.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).