linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rathees Kumar R Chinannan <quic_rrchinan@quicinc.com>
To: <johannes@sipsolutions.net>
Cc: <linux-wireless@vger.kernel.org>,
	Rathees Kumar R Chinannan <quic_rrchinan@quicinc.com>
Subject: [RFC 0/2] Handle BSS critical update procedure for probe
Date: Mon, 18 Mar 2024 11:06:05 +0530	[thread overview]
Message-ID: <20240318053607.1056739-1-quic_rrchinan@quicinc.com> (raw)

When a critical update occurs to any of elements inside beacon frame, AP
shall increment BSS Parameters Change Count(BPCC) subfield and set the
Critical Update flag subfield of the Capability Information to notify
client that the critical update occurred on AP. Refer section "35.3.10
BSS parameter critical update procedure" on IEEE P802.11be D4.0 for
details.

On beacon offload case, change in CU parameters should be sent to user
space either before or along with probe or assoc request frame receive
to ensure that user space uses latest CU values and BPCC while generating
response to the received frames. So, add the critical update parameters
as a new attribute to existing NL80211_CMD_FRAME command instead of
sending this on a separate NL80211 event.

Add an ieee80211_critical_update() API to send the parameters to cfg80211
and call it when event received from firmware to update critical
parameters to user space.

Driver (ath12k) changes that utilize this will be posted in the future
versions.

Rathees Kumar R Chinannan (2):
  wifi: nl80211: Add attribute to send critical update params
  wifi: mac80211: Indicate ongoing critical update parameters

 include/net/cfg80211.h       |  10 +++
 include/net/mac80211.h       |  13 ++++
 include/uapi/linux/nl80211.h |  98 +++++++++++++++++++++++++++++
 net/mac80211/cfg.c           |  35 ++++++++++-
 net/mac80211/rx.c            |  12 ++++
 net/mac80211/tx.c            |   5 ++
 net/wireless/nl80211.c       | 117 ++++++++++++++++++++++++++++++++++-
 7 files changed, 288 insertions(+), 2 deletions(-)

-- 
2.34.1


             reply	other threads:[~2024-03-18  5:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-18  5:36 Rathees Kumar R Chinannan [this message]
2024-03-18  5:36 ` [RFC 1/2] wifi: nl80211: Add attribute to send critical update params Rathees Kumar R Chinannan
2024-03-18  5:36 ` [RFC 2/2] wifi: mac80211: Indicate ongoing critical update parameters Rathees Kumar R Chinannan
2024-03-18  9:55 ` [RFC 0/2] Handle BSS critical update procedure for probe Johannes Berg
2024-03-19  4:37   ` Rathees Kumar R Chinannan

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=20240318053607.1056739-1-quic_rrchinan@quicinc.com \
    --to=quic_rrchinan@quicinc.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    /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).