All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: Johannes Berg <johannes@sipsolutions.net>,
	Aditya Kumar Singh <quic_adisi@quicinc.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	"Jeff Johnson" <quic_jjohnson@quicinc.com>,
	Ilan Peer <ilan.peer@intel.com>, "Jouni Malinen" <j@w1.fi>,
	Ryder Lee <ryder.lee@mediatek.com>,
	Arend van Spriel <arend.vanspriel@broadcom.com>,
	Felix Fietkau <nbd@nbd.name>
Subject: RE: [PATCH v8 4/5] wifi: mac80211: start and finalize channel switch on link basis
Date: Wed, 21 Feb 2024 08:57:49 +0000	[thread overview]
Message-ID: <c0f3930196504d2080907c12864493d8@realtek.com> (raw)
In-Reply-To: <08a989730bbc456df481aee8ae278a5cd9b35f85.camel@sipsolutions.net>



> -----Original Message-----
> From: Johannes Berg <johannes@sipsolutions.net>
> Sent: Wednesday, February 21, 2024 4:35 PM
> To: Ping-Ke Shih <pkshih@realtek.com>; Aditya Kumar Singh <quic_adisi@quicinc.com>
> Cc: linux-wireless@vger.kernel.org; Jeff Johnson <quic_jjohnson@quicinc.com>; Ilan Peer
> <ilan.peer@intel.com>; Jouni Malinen <j@w1.fi>; Ryder Lee <ryder.lee@mediatek.com>; Arend van Spriel
> <arend.vanspriel@broadcom.com>; Felix Fietkau <nbd@nbd.name>
> Subject: Re: [PATCH v8 4/5] wifi: mac80211: start and finalize channel switch on link basis
> 
> On Wed, 2024-02-21 at 08:28 +0000, Ping-Ke Shih wrote:
> >
> > > -----Original Message-----
> > > From: Johannes Berg <johannes@sipsolutions.net>
> > > Sent: Wednesday, February 21, 2024 4:20 PM
> > > To: Ping-Ke Shih <pkshih@realtek.com>; Aditya Kumar Singh <quic_adisi@quicinc.com>
> > > Cc: linux-wireless@vger.kernel.org; Jeff Johnson <quic_jjohnson@quicinc.com>; Ilan Peer
> > > <ilan.peer@intel.com>; Jouni Malinen <j@w1.fi>; Ryder Lee <ryder.lee@mediatek.com>; Arend van Spriel
> > > <arend.vanspriel@broadcom.com>; Felix Fietkau <nbd@openwrt.org>
> > > Subject: Re: [PATCH v8 4/5] wifi: mac80211: start and finalize channel switch on link basis
> > >
> > > On Wed, 2024-02-21 at 08:19 +0000, Ping-Ke Shih wrote:
> > > > > -----Original Message-----
> > > > > From: Johannes Berg <johannes@sipsolutions.net>
> > > > > Sent: Wednesday, February 21, 2024 4:10 PM
> > > > > To: Ping-Ke Shih <pkshih@realtek.com>; Aditya Kumar Singh <quic_adisi@quicinc.com>
> > > > > Cc: linux-wireless@vger.kernel.org; Jeff Johnson <quic_jjohnson@quicinc.com>; Ilan Peer
> > > > > <ilan.peer@intel.com>; Jouni Malinen <j@w1.fi>; Ryder Lee <ryder.lee@mediatek.com>; Arend van Spriel
> > > > > <arend.vanspriel@broadcom.com>; Felix Fietkau <nbd@openwrt.org>
> > > > > Subject: Re: [PATCH v8 4/5] wifi: mac80211: start and finalize channel switch on link basis
> > > > >
> > > > > I guess that'd also apply to probe responses? Or does it not send those
> > > > > at all? But we discussed before that maybe we don't have to be perfect
> > > > > there, so I guess we can find some solution to that.
> > > >
> > > > Unfortunately, Realtek firmware doesn't send probe responses at all. Still
> > > > need hostapd to reply those.
> > > >
> > >
> > > Right, but filling in the CSA counters?
> > >
> >
> > No, firmware doesn't modify content of probe response frame.
> >
> 
> Can you get that fixed? ;-)
> 
> With differing beacon intervals etc., I don't know there's a good way to
> keep the counters even with a semblance of correctness, especially if we
> don't know when the beacon was transmitted?
> 
> Or maybe just fill it in the driver since you probably have some beacon
> timing data more easily accessible?

If driver can get CSA or ECSA offset simply, I probably can fill a reasonable
CSA counter (not sure if I can get 100% accurate counter for now), but
seemingly neither ieee80211_tx_control nor ieee80211_tx_info (SKB_CB) doesn't
have these offsets. Any suggestions?

I wonder our out-of-tree driver generates probe response itself. Let's me
check how it does.

Ping-Ke


  reply	other threads:[~2024-02-21  8:58 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-30 14:09 [PATCH v8 0/5] wifi: cfg80211/mac80211: add link_id handling in AP channel switch during Multi-Link Operation Aditya Kumar Singh
2024-01-30 14:09 ` [PATCH v8 1/5] wifi: cfg80211: send link id in channel_switch ops Aditya Kumar Singh
2024-01-30 14:09 ` [PATCH v8 2/5] wifi: mac80211: update beacon counters per link basis Aditya Kumar Singh
2024-01-30 14:09 ` [PATCH v8 3/5] wifi: mac80211: handle set csa/after_csa beacon on " Aditya Kumar Singh
2024-01-30 14:09 ` [PATCH v8 4/5] wifi: mac80211: start and finalize channel switch on " Aditya Kumar Singh
2024-02-08 13:48   ` Johannes Berg
2024-02-08 14:05     ` Johannes Berg
2024-02-12  6:40       ` Aditya Kumar Singh
2024-02-12  7:18         ` Aditya Kumar Singh
2024-02-12 14:46           ` Johannes Berg
2024-02-13  5:16             ` Aditya Kumar Singh
2024-02-13  8:42               ` Johannes Berg
2024-02-13  8:45                 ` Johannes Berg
2024-02-13 10:18                 ` Aditya Kumar Singh
2024-02-13 10:55                   ` Johannes Berg
2024-02-13 12:41                     ` Aditya Kumar Singh
2024-02-13 12:49                       ` Johannes Berg
2024-02-21  7:58                         ` Ping-Ke Shih
2024-02-21  8:09                           ` Johannes Berg
2024-02-21  8:19                             ` Ping-Ke Shih
2024-02-21  8:20                               ` Johannes Berg
2024-02-21  8:28                                 ` Ping-Ke Shih
2024-02-21  8:35                                   ` Johannes Berg
2024-02-21  8:57                                     ` Ping-Ke Shih [this message]
2024-02-21  8:59                                       ` Johannes Berg
2024-02-21  9:17                                         ` Ping-Ke Shih
2024-02-21  9:19                                           ` Johannes Berg
2024-02-21  9:29                                             ` Ping-Ke Shih
2024-02-21  9:42                             ` Johannes Berg
2024-02-21 12:19                               ` Aditya Kumar Singh
2024-02-21 12:21                               ` Aditya Kumar Singh
2024-02-21 12:52                             ` Aditya Kumar Singh
2024-02-21 13:08                               ` Johannes Berg
2024-02-21 13:22                                 ` Aditya Kumar Singh
2024-03-11  6:20                             ` Michael-cy Lee (李峻宇)
2024-01-30 14:09 ` [PATCH v8 5/5] wifi: mac80211: add support to call csa_finish on a link Aditya Kumar Singh

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=c0f3930196504d2080907c12864493d8@realtek.com \
    --to=pkshih@realtek.com \
    --cc=arend.vanspriel@broadcom.com \
    --cc=ilan.peer@intel.com \
    --cc=j@w1.fi \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=nbd@nbd.name \
    --cc=quic_adisi@quicinc.com \
    --cc=quic_jjohnson@quicinc.com \
    --cc=ryder.lee@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 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.