All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Aloka Dixit <quic_alokad@quicinc.com>, linux-wireless@vger.kernel.org
Subject: Re: [PATCH 2/3] cfg80211: validate RU puncturing bitmap
Date: Wed, 08 Nov 2023 13:58:54 +0100	[thread overview]
Message-ID: <009fc2c209027efb5578e57926276be81891faca.camel@sipsolutions.net> (raw)
In-Reply-To: <587c4a25-4977-b2d7-a587-f2a742105a43@quicinc.com>

On Wed, 2023-10-18 at 17:09 -0700, Aloka Dixit wrote:
> On 10/18/2023 5:58 AM, Johannes Berg wrote:
> > 
> > Are you thinking about (separately?) configuring the OFDMA puncturing?
> > Which spec-wise you do per PPDU, controlled by the AP (trigger frame), I
> > think?
> > 
> 
> Need to study the spec again so not any time soon.
> Will send a new series if it is needed.

OK.

> > > >      1. The DSP/radio can receive punctured PPDUs if listening on the non
> > > >         punctured channel.
> > > >         
> > > >         At least for our device that's not true, not sure about ath12k? It
> > > >         seems you have a per-peer puncturing configuration even, but that
> > > >         seems odd, and it's always just set to the vif puncturing
> > > >         configuration.
> > > >         
> > > 
> > > Yes, same vif puncturing pattern is assigned for all the peers
> > > associated on that vif, but firmware requires it to be sent separately
> > > for each peer.
> > 
> > OK, thanks.
> > 
> > What if it differs for different vifs?
> > 
> 
> So far that use-case hasn't come up but I'm confirming if we really need 
> that support or not. Will get back you.

Thanks.
(Also reminder, but yeah, I've also been busy otherwise.)

> > > If we do end up moving the bitmap back to chandef, we may need some
> > > changes, because as I said above, when I originally added it I hadn't
> > > thought of different bitmaps for each vif.
> > > But can you give an example of what you would consider as compatible
> > > channel contexts and what would be incompatible? I'm not clear on that part.
> > 
> > Easy example:
> > 
> >   * control channel 36, 80 MHz, puncturing bitmap 0x2
> >   * control channel 36, 80 MHz, puncturing bitmap 0
> > 
> > Contrary to what I thought and said before, I want to treat these as
> > *not* compatible now, and allocate two channel contexts if I end up
> > having to do this.

> I'm okay if you want to move it back to chandef, in fact I myself can 
> send a series for it.

I'm planning to start working on it now/soon.

> As far as two contexts are concerned, sounds like you don't need that 
> for your use-case. And I will confirm if we need it or not.

Not sure what you mean - I do in fact want two channel contexts for
this?

But please check if you need that or not, as discussed above - this is
the "different puncturing pattern for different vifs" case.

johannes

  reply	other threads:[~2023-11-08 12:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-14 22:30 [PATCH 0/3] RU puncturing support Aloka Dixit
2022-02-14 22:30 ` [PATCH 1/3] nl80211: advertise RU puncturing support to userspace Aloka Dixit
2022-02-15  8:20   ` Johannes Berg
2022-02-14 22:30 ` [PATCH 2/3] cfg80211: validate RU puncturing bitmap Aloka Dixit
2022-02-15  8:19   ` Johannes Berg
2022-02-16  0:37     ` Aloka Dixit
2022-02-22 18:31       ` Aloka Dixit
2022-05-04 12:08       ` Johannes Berg
2023-10-12 11:53         ` Johannes Berg
2023-10-12 12:13           ` Johannes Berg
2023-10-17 17:51           ` Aloka Dixit
2023-10-18 12:58             ` Johannes Berg
2023-10-19  0:09               ` Aloka Dixit
2023-11-08 12:58                 ` Johannes Berg [this message]
2023-11-08 14:31                   ` Johannes Berg
2022-02-14 22:30 ` [PATCH 3/3] nl80211: " Aloka Dixit

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=009fc2c209027efb5578e57926276be81891faca.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=quic_alokad@quicinc.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.