All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: Bitterblue Smith <rtl8821cerfe2@gmail.com>,
	Martin Kaistra <martin.kaistra@linutronix.de>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Cc: Jes Sorensen <Jes.Sorensen@gmail.com>,
	Kalle Valo <kvalo@kernel.org>,
	Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Subject: RE: [PATCH] wifi: rtl8xxxu: enable MFP support
Date: Mon, 15 Apr 2024 00:57:08 +0000	[thread overview]
Message-ID: <9ba097ae2db4418a9b95aa22f53f9367@realtek.com> (raw)
In-Reply-To: <fa903f58-2362-49a1-9880-2b3fcbe1869e@gmail.com>

Bitterblue Smith <rtl8821cerfe2@gmail.com> wrote:

> > @@ -7998,6 +8002,7 @@ static int rtl8xxxu_probe(struct usb_interface *interface,
> >       ieee80211_hw_set(hw, HAS_RATE_CONTROL);
> >       ieee80211_hw_set(hw, SUPPORT_FAST_XMIT);
> >       ieee80211_hw_set(hw, AMPDU_AGGREGATION);
> > +     ieee80211_hw_set(hw, MFP_CAPABLE);
> >
> >       wiphy_ext_feature_set(hw->wiphy, NL80211_EXT_FEATURE_CQM_RSSI_LIST);
> >
> 
> I ran into this problem recently with rtl8192du:
> https://lore.kernel.org/linux-wireless/ed12ec17-ae6e-45fa-a72f-23e0a34654da@gmail.com/
> 
> Does the same fix work for you in rtl8xxxu? Checking the "security"
> field of the RX descriptor is simpler than calling two functions.
> Sorry to bother you when the patch is already applied.
> 
> Also, won't you send the patch to the stable tree?

I'm not aware of two patches did the similar thing. Thanks for pointing this. 

Martin, please check if you met the same problem as Bitterblue's one. If you
want to add this fix to stable tree, please provide two patches -- one is to
revert this patch, and an new one to add Bitterblue's method with Cc stable.

Ping-Ke 



  reply	other threads:[~2024-04-15  0:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-14 16:48 [PATCH] wifi: rtl8xxxu: enable MFP support Martin Kaistra
2024-03-15  1:22 ` Ping-Ke Shih
2024-03-20  2:03 ` Ping-Ke Shih
2024-04-14 11:32 ` Bitterblue Smith
2024-04-15  0:57   ` Ping-Ke Shih [this message]
2024-04-15  6:49   ` Martin Kaistra
2024-04-15 19:14     ` Bitterblue Smith
2024-04-17  6:43       ` Martin Kaistra
2024-04-17  7:23         ` Ping-Ke Shih
2024-04-17  8:28           ` Kalle Valo
2024-04-17  8:47             ` Ping-Ke Shih

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=9ba097ae2db4418a9b95aa22f53f9367@realtek.com \
    --to=pkshih@realtek.com \
    --cc=Jes.Sorensen@gmail.com \
    --cc=bigeasy@linutronix.de \
    --cc=kvalo@kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=martin.kaistra@linutronix.de \
    --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 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.