linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: Jeff Johnson <quic_jjohnson@quicinc.com>,
	kangyang <quic_kangyang@quicinc.com>,
	"ath12k@lists.infradead.org" <ath12k@lists.infradead.org>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: RE: [PATCH 11/11] wifi: ath12k: delete mon reap timer
Date: Fri, 26 Jul 2024 01:57:32 +0000	[thread overview]
Message-ID: <52318022dbe745da8b18892c26d78bec@realtek.com> (raw)
In-Reply-To: <2a44b24b-f122-44de-a053-fee07753eb7e@quicinc.com>

Hi Jeff,

Jeff Johnson <quic_jjohnson@quicinc.com> wrote:
> 
> On 7/25/2024 5:00 AM, kangyang wrote:
> > From: Kang Yang <quic_kangyang@quicinc.com>
> >
> > Currently mon reap timer is not used, and it is not needed anymore.
> >
> > So remove related code.
> >
> > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
> >
> > Signed-off-by: Kang Yang <quic_kangyang@quicinc.com>
> > ---
> >  drivers/net/wireless/ath/ath12k/core.h |  2 --
> >  drivers/net/wireless/ath/ath12k/dp.c   | 25 -------------------------
> >  2 files changed, 27 deletions(-)
> >
> > diff --git a/drivers/net/wireless/ath/ath12k/core.h b/drivers/net/wireless/ath/ath12k/core.h
> > index daf7c04bb728..83ef92ecdc39 100644
> > --- a/drivers/net/wireless/ath/ath12k/core.h
> > +++ b/drivers/net/wireless/ath/ath12k/core.h
> > @@ -888,8 +888,6 @@ struct ath12k_base {
> >       struct ath12k_dbring_cap *db_caps;
> >       u32 num_db_cap;
> >
> > -     struct timer_list mon_reap_timer;
> > -
> >       struct completion htc_suspend;
> >
> >       u64 fw_soc_drop_count;
> > diff --git a/drivers/net/wireless/ath/ath12k/dp.c b/drivers/net/wireless/ath/ath12k/dp.c
> > index 61aa78d8bd8c..547ecb419809 100644
> > --- a/drivers/net/wireless/ath/ath12k/dp.c
> > +++ b/drivers/net/wireless/ath/ath12k/dp.c
> > @@ -974,8 +974,6 @@ void ath12k_dp_pdev_free(struct ath12k_base *ab)
> >  {
> >       int i;
> >
> > -     del_timer_sync(&ab->mon_reap_timer);
> > -
> >       for (i = 0; i < ab->num_radios; i++)
> >               ath12k_dp_rx_pdev_free(ab, i);
> >  }
> > @@ -1020,27 +1018,6 @@ void ath12k_dp_hal_rx_desc_init(struct ath12k_base *ab)
> >               ab->hal_rx_ops->rx_desc_get_desc_size();
> >  }
> >
> > -static void ath12k_dp_service_mon_ring(struct timer_list *t)
> > -{
> > -     struct ath12k_base *ab = from_timer(ab, t, mon_reap_timer);
> > -     int i;
> > -
> > -     for (i = 0; i < ab->hw_params->num_rxdma_per_pdev; i++)
> > -             ath12k_dp_mon_process_ring(ab, i, NULL, DP_MON_SERVICE_BUDGET,
> > -                                        ATH12K_DP_RX_MONITOR_MODE);
> > -
> > -     mod_timer(&ab->mon_reap_timer, jiffies +
> > -               msecs_to_jiffies(ATH12K_MON_TIMER_INTERVAL));
> > -}
> > -
> > -static void ath12k_dp_mon_reap_timer_init(struct ath12k_base *ab)
> > -{
> > -     if (ab->hw_params->rxdma1_enable)
> > -             return;
> > -
> > -     timer_setup(&ab->mon_reap_timer, ath12k_dp_service_mon_ring, 0);
> > -}
> > -
> >  int ath12k_dp_pdev_alloc(struct ath12k_base *ab)
> >  {
> >       struct ath12k *ar;
> > @@ -1051,8 +1028,6 @@ int ath12k_dp_pdev_alloc(struct ath12k_base *ab)
> >       if (ret)
> >               goto out;
> >
> > -     ath12k_dp_mon_reap_timer_init(ab);
> > -
> >       /* TODO: Per-pdev rx ring unlike tx ring which is mapped to different AC's */
> >       for (i = 0; i < ab->num_radios; i++) {
> >               ar = ab->pdevs[i].ar;
> 

Not sure if you send out this mail incompletely. Lore [1] doesn't have complete
message neither.

[1] https://lore.kernel.org/linux-wireless/2a44b24b-f122-44de-a053-fee07753eb7e@quicinc.com/T/#m1011a89113009a14c9d450dba31d8d11d36b5b6b


  reply	other threads:[~2024-07-26  1:58 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-25 12:00 [PATCH 00/11] wifi: ath12k: some fixes and clean up for monitor mode kangyang
2024-07-25 12:00 ` [PATCH 01/11] wifi: ath12k: remove unused variable monitor_present kangyang
2024-07-26  0:11   ` Jeff Johnson
2024-07-25 12:00 ` [PATCH 02/11] wifi: ath12k: optimize storage size for struct ath12k kangyang
2024-07-26  0:13   ` Jeff Johnson
2024-07-25 12:00 ` [PATCH 03/11] wifi: ath12k: fix struct hal_rx_ppdu_end_user_stats kangyang
2024-07-26  0:14   ` Jeff Johnson
2024-07-25 12:00 ` [PATCH 04/11] wifi: ath12k: fix struct hal_rx_ppdu_start kangyang
2024-07-26  0:17   ` Jeff Johnson
2024-07-31 11:17     ` Kalle Valo
2024-07-31 11:22       ` Kalle Valo
2024-07-31 13:55         ` Jeff Johnson
2024-07-25 12:00 ` [PATCH 05/11] wifi: ath12k: fix struct hal_rx_phyrx_rssi_legacy_info kangyang
2024-07-26  0:17   ` Jeff Johnson
2024-07-25 12:00 ` [PATCH 06/11] wifi: ath12k: fix struct hal_rx_mpdu_start kangyang
2024-07-26  0:17   ` Jeff Johnson
2024-07-25 12:00 ` [PATCH 07/11] wifi: ath12k: properly handling the state variables of monitor mode kangyang
2024-07-26  0:17   ` Jeff Johnson
2024-07-25 12:00 ` [PATCH 08/11] wifi: ath12k: delete NSS and TX power setting for monitor vdev kangyang
2024-07-26  0:17   ` Jeff Johnson
2024-07-25 12:00 ` [PATCH 09/11] wifi: ath12k: use tail MSDU to get MSDU information kangyang
2024-07-26  0:17   ` Jeff Johnson
2024-07-25 12:00 ` [PATCH 10/11] wifi: ath12k: fix A-MSDU indication in monitor mode kangyang
2024-07-26  0:18   ` Jeff Johnson
2024-07-25 12:00 ` [PATCH 11/11] wifi: ath12k: delete mon reap timer kangyang
2024-07-26  0:18   ` Jeff Johnson
2024-07-26  1:57     ` Ping-Ke Shih [this message]
2024-07-26 17:04       ` Jeff Johnson
2024-07-26 17:02   ` Jeff Johnson
2024-07-26  0:11 ` [PATCH 00/11] wifi: ath12k: some fixes and clean up for monitor mode Jeff Johnson
2024-07-31 11:19 ` Kalle Valo
2024-08-01  6:08   ` Kang Yang

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=52318022dbe745da8b18892c26d78bec@realtek.com \
    --to=pkshih@realtek.com \
    --cc=ath12k@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=quic_jjohnson@quicinc.com \
    --cc=quic_kangyang@quicinc.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).