All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brian Norris <briannorris@chromium.org>
To: Carl Huang <cjhuang@codeaurora.org>
Cc: Johannes Berg <johannes@sipsolutions.net>,
	ath10k <ath10k@lists.infradead.org>,
	linux-wireless <linux-wireless@vger.kernel.org>,
	Doug Anderson <dianders@chromium.org>,
	Abhishek Kumar <kuabhs@google.com>
Subject: Re: [RFC 1/2] nl80211: add common API to configure SAR power limitations.
Date: Wed, 4 Nov 2020 09:48:43 -0800	[thread overview]
Message-ID: <CA+ASDXNAXo=p=_MbNXG+Mma37v5b6gAPySsXpNh6CC+L_gLnXQ@mail.gmail.com> (raw)
In-Reply-To: <d424aa0e80ac55e511ddb33b41d40fea@codeaurora.org>

On Wed, Nov 4, 2020 at 12:44 AM Carl Huang <cjhuang@codeaurora.org> wrote:
> On 2020-09-28 20:36, Johannes Berg wrote:
> > On Tue, 2020-09-22 at 13:49 +0800, Carl Huang wrote:
> >> +struct cfg80211_sar_freq_ranges {
> >> +    u8 index;
> >
> > Does an index here make sense?
> >
> With agreement from Google, it's OK to remove it.

I'm not sure "Google" is the arbiter of the nl80211 API, even if we
are the current planned users ;)

But I think I agree with Johannes, that given the other plans (user
space must send all bands all the time; dropping the "apply to all
bands" support), an index isn't really necessary in either the user
space API or the internal representation handed down to drivers. All
bands should be specified, in order.

Brian

> >> +    u32 start_freq;
> >> +    u32 end_freq;
> >> +};

WARNING: multiple messages have this Message-ID (diff)
From: Brian Norris <briannorris@chromium.org>
To: Carl Huang <cjhuang@codeaurora.org>
Cc: Johannes Berg <johannes@sipsolutions.net>,
	linux-wireless <linux-wireless@vger.kernel.org>,
	Doug Anderson <dianders@chromium.org>,
	ath10k <ath10k@lists.infradead.org>,
	Abhishek Kumar <kuabhs@google.com>
Subject: Re: [RFC 1/2] nl80211: add common API to configure SAR power limitations.
Date: Wed, 4 Nov 2020 09:48:43 -0800	[thread overview]
Message-ID: <CA+ASDXNAXo=p=_MbNXG+Mma37v5b6gAPySsXpNh6CC+L_gLnXQ@mail.gmail.com> (raw)
In-Reply-To: <d424aa0e80ac55e511ddb33b41d40fea@codeaurora.org>

On Wed, Nov 4, 2020 at 12:44 AM Carl Huang <cjhuang@codeaurora.org> wrote:
> On 2020-09-28 20:36, Johannes Berg wrote:
> > On Tue, 2020-09-22 at 13:49 +0800, Carl Huang wrote:
> >> +struct cfg80211_sar_freq_ranges {
> >> +    u8 index;
> >
> > Does an index here make sense?
> >
> With agreement from Google, it's OK to remove it.

I'm not sure "Google" is the arbiter of the nl80211 API, even if we
are the current planned users ;)

But I think I agree with Johannes, that given the other plans (user
space must send all bands all the time; dropping the "apply to all
bands" support), an index isn't really necessary in either the user
space API or the internal representation handed down to drivers. All
bands should be specified, in order.

Brian

> >> +    u32 start_freq;
> >> +    u32 end_freq;
> >> +};

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

  reply	other threads:[~2020-11-04 17:49 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-22  5:49 [RFC 1/2] nl80211: add common API to configure SAR power limitations Carl Huang
2020-09-22  5:49 ` Carl Huang
2020-09-22  5:49 ` [RFC 2/2] ath10k: allow dynamic SAR power limits via common API Carl Huang
2020-09-22  5:49   ` Carl Huang
2020-09-22  7:33   ` kernel test robot
2020-09-22 13:32   ` kernel test robot
2020-11-04 23:11   ` Brian Norris
2020-11-04 23:11     ` Brian Norris
2020-11-05 11:27     ` Carl Huang
2020-11-05 11:27       ` Carl Huang
2020-11-05 17:49       ` Brian Norris
2020-11-05 17:49         ` Brian Norris
2020-09-28 12:36 ` [RFC 1/2] nl80211: add common API to configure SAR power limitations Johannes Berg
2020-09-28 12:36   ` Johannes Berg
2020-10-30 20:56   ` Abhishek Kumar
2020-10-30 20:56     ` Abhishek Kumar
2020-10-31  2:46     ` Abhishek Kumar
2020-11-03  2:34       ` Carl Huang
2020-11-03  2:34         ` Carl Huang
2020-11-03 13:15         ` Johannes Berg
2020-11-03 13:15           ` Johannes Berg
2020-11-04  1:17           ` Abhishek Kumar
2020-11-04  1:17             ` Abhishek Kumar
2020-11-04  6:18             ` Carl Huang
2020-11-04  6:18               ` Carl Huang
2020-11-04  8:44   ` Carl Huang
2020-11-04  8:44     ` Carl Huang
2020-11-04 17:48     ` Brian Norris [this message]
2020-11-04 17:48       ` Brian Norris
2020-11-05 11:37       ` Carl Huang
2020-11-05 11:37         ` Carl Huang
2020-11-04 23:18   ` Brian Norris
2020-11-04 23:18     ` Brian Norris
2020-11-04 23:27 ` Brian Norris
2020-11-04 23:27   ` Brian Norris
2020-11-05 11:30   ` Carl Huang
2020-11-05 11:30     ` Carl Huang
  -- strict thread matches above, loose matches on Subject: below --
2020-09-22  5:36 Carl Huang
2020-09-22  5:36 ` Carl Huang
2020-09-22  5:47 ` cjhuang
2020-09-22  5:47   ` cjhuang
2020-09-22  8:09   ` Kalle Valo
2020-09-22  8:09     ` Kalle Valo
2020-11-04  2:00 ` Brian Norris
2020-11-04  2:00   ` Brian Norris
2020-11-04  7:32   ` Carl Huang
2020-11-04  7:32     ` Carl Huang
2020-11-04 17:44     ` Brian Norris
2020-11-04 17:44       ` Brian Norris
2020-11-04 17:44       ` Brian Norris
2020-11-05  8:35       ` Kalle Valo
2020-11-05  8:35         ` Kalle Valo
2020-11-05  8:35         ` Kalle Valo
2020-11-05 11:10         ` Carl Huang
2020-11-05 11:10           ` Carl Huang
2020-11-05 11:10           ` Carl Huang
2020-11-05 18:25           ` Brian Norris
2020-11-05 18:25             ` Brian Norris
2020-11-05 18:25             ` Brian Norris
2020-11-06 10:11             ` Carl Huang
2020-11-06 10:11               ` Carl Huang
2020-11-06 10:11               ` Carl Huang
2020-11-05 11:17       ` Carl Huang
2020-11-05 11:17         ` Carl Huang
2020-11-05 11:17         ` Carl Huang

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='CA+ASDXNAXo=p=_MbNXG+Mma37v5b6gAPySsXpNh6CC+L_gLnXQ@mail.gmail.com' \
    --to=briannorris@chromium.org \
    --cc=ath10k@lists.infradead.org \
    --cc=cjhuang@codeaurora.org \
    --cc=dianders@chromium.org \
    --cc=johannes@sipsolutions.net \
    --cc=kuabhs@google.com \
    --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 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.