All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: Mehmet Fide <mehmet.fide@gmail.com>
Cc: Luka Gejak <luka.gejak@linux.dev>,
	Bitterblue Smith <rtl8821cerfe2@gmail.com>,
	Yan-Hsuan Chuang <yhchuang@realtek.com>,
	"Kalle Valo" <kvalo@kernel.org>,
	Stanislaw Gruszka <sgruszka@redhat.com>,
	"Brian Norris" <briannorris@chromium.org>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"mehmet.fide@screeningeagle.com" <mehmet.fide@screeningeagle.com>
Subject: RE: [PATCH rtw-next] wifi: rtw88: program the beacon interval
Date: Tue, 17 Nov 2026 06:46:52 +0000	[thread overview]
Message-ID: <3bd4a36de66948618d80e2e6d138aefb@realtek.com> (raw)
In-Reply-To: <20261116072022.1142783-1-mehmet.fide@gmail.com>

Mehmet Fide <mehmet.fide@gmail.com> wrote: 
> diff --git a/drivers/net/wireless/realtek/rtw88/mac80211.c
> b/drivers/net/wireless/realtek/rtw88/mac80211.c
> index 5e40cf06a9e3..5f411df5586e 100644
> --- a/drivers/net/wireless/realtek/rtw88/mac80211.c
> +++ b/drivers/net/wireless/realtek/rtw88/mac80211.c
> @@ -432,6 +432,10 @@ static void rtw_ops_bss_info_changed(struct ieee80211_hw *hw,
>         if (changed & BSS_CHANGED_BEACON_INT) {
>                 if (ieee80211_vif_type_p2p(vif) == NL80211_IFTYPE_STATION)
>                         coex_stat->wl_beacon_interval = conf->beacon_int;
> +               else if (vif->type != NL80211_IFTYPE_STATION &&

Please white list of vif. 

As commit message, here should be vif->type == NL80211_IFTYPE_AP.
The rtw88 can also support NL80211_IFTYPE_ADHOC, so you can add it as well
if you want. 

> +                        rtwvif->port == RTW_PORT_0)
> +                       rtw_write16(rtwdev, REG_MBSSID_BCN_SPACE,
> +                                   conf->beacon_int);
>         }
> 
>         if (changed & BSS_CHANGED_BEACON) {



  parent reply	other threads:[~2026-11-17  6:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-16  7:20 [PATCH rtw-next] wifi: rtw88: program the beacon interval Mehmet Fide
2026-11-16  8:21 ` Luka Gejak
2026-11-17  6:46 ` Ping-Ke Shih [this message]
2026-11-17  9:45   ` Mehmet Fide

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=3bd4a36de66948618d80e2e6d138aefb@realtek.com \
    --to=pkshih@realtek.com \
    --cc=briannorris@chromium.org \
    --cc=kvalo@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=luka.gejak@linux.dev \
    --cc=mehmet.fide@gmail.com \
    --cc=mehmet.fide@screeningeagle.com \
    --cc=rtl8821cerfe2@gmail.com \
    --cc=sgruszka@redhat.com \
    --cc=yhchuang@realtek.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.