Linux wireless drivers development
 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>,
	"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 v17 2/3] wifi: rtw88: support channel switch in AP mode
Date: Fri, 4 Dec 2026 03:51:16 +0000	[thread overview]
Message-ID: <a43675cf3d7241948fd04e9ec1259d8f@realtek.com> (raw)
In-Reply-To: <20261203184700.3636262-3-mehmet.fide@gmail.com>

Mehmet Fide <mehmet.fide@gmail.com> wrote:
> +static int rtw_ops_pre_channel_switch(struct ieee80211_hw *hw,
> +                                     struct ieee80211_vif *vif,
> +                                     struct ieee80211_channel_switch *chsw)
> +{
> +       struct rtw_dev *rtwdev = hw->priv;
> +
> +       if (vif->type != NL80211_IFTYPE_STATION &&

Prefer positive list.

vif->type == NL80211_IFTYPE_AP?

> +           bitmap_weight(rtwdev->hw_port, RTW_PORT_NUM) > 1)
> +               return -EBUSY;
> +
> +       return 0;
> +}
> +

As Luka's comment, please conder shrinking your commit message.
(you can make a decision yourself)


  parent reply	other threads:[~2026-12-04  3:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 18:46 [PATCH rtw-next v17 0/3] wifi: rtw88: channel switch in AP mode Mehmet Fide
2026-12-03 18:46 ` [PATCH rtw-next v17 1/3] wifi: rtw88: download the beacon the reserved page was built with Mehmet Fide
2026-12-03 18:46 ` [PATCH rtw-next v17 2/3] wifi: rtw88: support channel switch in AP mode Mehmet Fide
2026-12-03 20:05   ` Luka Gejak
2026-12-03 20:06   ` Luka Gejak
2026-12-03 20:07     ` Luka Gejak
2026-12-04  3:51   ` Ping-Ke Shih [this message]
2026-12-03 18:47 ` [PATCH rtw-next v17 3/3] wifi: rtw88: time the countdown downloads from the TBTT Mehmet Fide
2026-12-03 20:06   ` Luka Gejak

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=a43675cf3d7241948fd04e9ec1259d8f@realtek.com \
    --to=pkshih@realtek.com \
    --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 \
    /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