From: Johannes Berg <johannes@sipsolutions.net>
To: Peddolla Harshavardhan Reddy <peddolla.reddy@oss.qualcomm.com>
Cc: linux-wireless@vger.kernel.org, kavita.kavita@oss.qualcomm.com
Subject: Re: [PATCH wireless-next v2 07/16] wifi: cfg80211: add continuous ranging and PD request support
Date: Wed, 04 Mar 2026 12:52:52 +0100 [thread overview]
Message-ID: <e01d16bd2f890355a1edb545b4b5ab2fee265bfc.camel@sipsolutions.net> (raw)
In-Reply-To: <20260304071538.3833062-8-peddolla.reddy@oss.qualcomm.com>
On Wed, 2026-03-04 at 12:45 +0530, Peddolla Harshavardhan Reddy wrote:
>
> +++ b/net/wireless/pmsr.c
> @@ -91,11 +91,10 @@ static int pmsr_parse_ftm(struct cfg80211_registered_device *rdev,
> nla_get_u32(tb[NL80211_PMSR_FTM_REQ_ATTR_FTMS_PER_BURST]);
>
> if (capa->ftm.max_ftms_per_burst &&
> - (out->ftm.ftms_per_burst > capa->ftm.max_ftms_per_burst ||
> - out->ftm.ftms_per_burst == 0)) {
> + (out->ftm.ftms_per_burst > capa->ftm.max_ftms_per_burst)) {
> NL_SET_ERR_MSG_ATTR(info->extack,
> tb[NL80211_PMSR_FTM_REQ_ATTR_FTMS_PER_BURST],
> - "FTM: FTMs per burst must be set lower than the device limit but non-zero");
> + "FTM: FTMs per burst must be set lower than the device limit");
> return -EINVAL;
> }
I really don't know anything about this protocol, but this also isn't
described in the commit message, and zero seems odd?
Maybe it should be allowed only under some additional conditions,
otherwise you're potentially changing some check that existing
drivers/devices rely on?
johannes
next prev parent reply other threads:[~2026-03-04 11:52 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-04 7:15 [PATCH wireless-next v2 00/16] wifi: Ranging support enhancements Peddolla Harshavardhan Reddy
2026-03-04 7:15 ` [PATCH wireless-next v2 01/16] wifi: cfg80211: Allow RSTA role without LMR request Peddolla Harshavardhan Reddy
2026-03-04 7:15 ` [PATCH wireless-next v2 02/16] wifi: cfg80211: cancel pmsr_free_wk in cfg80211_pmsr_wdev_down Peddolla Harshavardhan Reddy
2026-03-04 7:15 ` [PATCH wireless-next v2 03/16] wifi: cfg80211: Add MAC address filter to remain_on_channel Peddolla Harshavardhan Reddy
2026-03-04 7:15 ` [PATCH wireless-next v2 04/16] wifi: cfg80211/mac80211: Add NL80211_IFTYPE_PD for PD PASN and PMSR operations Peddolla Harshavardhan Reddy
2026-03-04 7:15 ` [PATCH wireless-next v2 05/16] wifi: cfg80211: add start/stop proximity detection commands Peddolla Harshavardhan Reddy
2026-03-04 11:47 ` Johannes Berg
2026-03-05 15:33 ` Peddolla Harshavardhan Reddy
2026-03-04 7:15 ` [PATCH wireless-next v2 06/16] wifi: cfg80211: add proximity detection capabilities to PMSR Peddolla Harshavardhan Reddy
2026-03-04 11:50 ` Johannes Berg
2026-03-05 15:34 ` Peddolla Harshavardhan Reddy
2026-03-04 7:15 ` [PATCH wireless-next v2 07/16] wifi: cfg80211: add continuous ranging and PD request support Peddolla Harshavardhan Reddy
2026-03-04 11:52 ` Johannes Berg [this message]
2026-03-05 15:38 ` Peddolla Harshavardhan Reddy
2026-03-04 7:15 ` [PATCH wireless-next v2 08/16] wifi: cfg80211: extend PMSR FTM response for proximity ranging Peddolla Harshavardhan Reddy
2026-03-04 7:15 ` [PATCH wireless-next v2 09/16] wifi: cfg80211: add role-based PD peer limits Peddolla Harshavardhan Reddy
2026-03-04 7:15 ` [PATCH wireless-next v2 10/16] wifi: cfg80211: add ingress/egress distance thresholds for FTM Peddolla Harshavardhan Reddy
2026-03-04 7:15 ` [PATCH wireless-next v2 11/16] wifi: cfg80211: add PD-specific preamble and bandwidth capabilities Peddolla Harshavardhan Reddy
2026-03-04 7:15 ` [PATCH wireless-next v2 12/16] wifi: cfg80211: add FTM range report negotiation support Peddolla Harshavardhan Reddy
2026-03-04 7:15 ` [PATCH wireless-next v2 13/16] wifi: cfg80211: add result reporting control for PD requests Peddolla Harshavardhan Reddy
2026-03-04 7:15 ` [PATCH wireless-next v2 14/16] wifi: cfg80211: add MAC randomization support " Peddolla Harshavardhan Reddy
2026-03-04 11:56 ` Johannes Berg
2026-03-05 15:42 ` Peddolla Harshavardhan Reddy
2026-03-04 7:15 ` [PATCH wireless-next v2 15/16] wifi: cfg80211: add LTF keyseed support for secure ranging Peddolla Harshavardhan Reddy
2026-03-04 12:03 ` Johannes Berg
2026-03-05 15:48 ` Peddolla Harshavardhan Reddy
2026-03-04 7:15 ` [PATCH wireless-next v2 16/16] wifi: mac80211_hwsim: Add support for extended FTM ranging Peddolla Harshavardhan Reddy
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=e01d16bd2f890355a1edb545b4b5ab2fee265bfc.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=kavita.kavita@oss.qualcomm.com \
--cc=linux-wireless@vger.kernel.org \
--cc=peddolla.reddy@oss.qualcomm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox