Linux IEEE 802.15.4 and 6LoWPAN development
 help / color / mirror / Atom feed
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Alexander Aring <alex.aring@gmail.com>,
	Stefan Schmidt <stefan@datenfreihafen.org>,
	linux-wpan@vger.kernel.org
Cc: David Girault <david.girault@qorvo.com>,
	Romuald Despres <romuald.despres@qorvo.com>,
	Frederic Blain <frederic.blain@qorvo.com>,
	Nicolas Schodet <nico@ni.fr.eu.org>,
	Guilhem Imberton <guilhem.imberton@qorvo.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [PATCH wpan-tools] iwpan: Allow the phy shortcut for scanning commands
Date: Tue, 28 Nov 2023 12:27:14 +0100	[thread overview]
Message-ID: <20231128122714.10efea31@xps-13> (raw)
In-Reply-To: <20230213174703.1172423-1-miquel.raynal@bootlin.com>

Hi Stefan,

miquel.raynal@bootlin.com wrote on Mon, 13 Feb 2023 18:47:03 +0100:

> Allow running:
> iwpan phy <phy> scan trigger ...
> iwpan phy <phy> scan abort ...
> 
> Aside with the existing:
> iwpan dev <dev> scan trigger ...
> iwpan dev <dev> scan abort ...
> 
> This change does not apply easily to the TOPLEVEL(scan) command, so we
> keep this one more constrained for simplicity.

I believe this patch felt into the cracks, I think I remember it came
from a request from Alex, maybe you will want to consider it for merge
despite its "age"? Or maybe I missed some feedback in the SPAMS /o\

> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
> ---
>  src/scan.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/src/scan.c b/src/scan.c
> index e92702d..8bc21ca 100644
> --- a/src/scan.c
> +++ b/src/scan.c
> @@ -541,11 +541,15 @@ TOPLEVEL(scan, "type <type> [page <page>] [channels <bitfield>] [duration <durat
>  	SCAN_TYPES);
>  COMMAND(scan, abort, NULL, NL802154_CMD_ABORT_SCAN, 0, CIB_NETDEV, scan_abort_handler,
>  	"Abort ongoing scanning on this virtual interface");
> +COMMAND(scan, abort, NULL, NL802154_CMD_ABORT_SCAN, 0, CIB_PHY, scan_abort_handler, NULL);
>  COMMAND(scan, trigger,
>  	"type <type> [page <page>] [channels <bitfield>] [duration <duration-order>]",
>  	NL802154_CMD_TRIGGER_SCAN, 0, CIB_NETDEV, scan_trigger_handler,
>  	"Launch scanning on this virtual interface with the given configuration.\n"
>  	SCAN_TYPES);
> +COMMAND(scan, trigger,
> +	"type <type> [page <page>] [channels <bitfield>] [duration <duration-order>]",
> +	NL802154_CMD_TRIGGER_SCAN, 0, CIB_PHY, scan_trigger_handler, NULL);
>  
>  SECTION(beacons);
>  

Thanks,
Miquèl

  reply	other threads:[~2023-11-28 11:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-13 17:47 [PATCH wpan-tools] iwpan: Allow the phy shortcut for scanning commands Miquel Raynal
2023-11-28 11:27 ` Miquel Raynal [this message]
2023-12-07 20:55   ` Stefan Schmidt

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=20231128122714.10efea31@xps-13 \
    --to=miquel.raynal@bootlin.com \
    --cc=alex.aring@gmail.com \
    --cc=david.girault@qorvo.com \
    --cc=frederic.blain@qorvo.com \
    --cc=guilhem.imberton@qorvo.com \
    --cc=linux-wpan@vger.kernel.org \
    --cc=nico@ni.fr.eu.org \
    --cc=romuald.despres@qorvo.com \
    --cc=stefan@datenfreihafen.org \
    --cc=thomas.petazzoni@bootlin.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