All of lore.kernel.org
 help / color / mirror / Atom feed
* [wpan-tools 0/7] IEEE 802.15.4 passive scan support
@ 2021-12-22 15:58 Miquel Raynal
  2021-12-22 15:58 ` [wpan-tools 1/7] iwpan: Fix the channels printing Miquel Raynal
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Miquel Raynal @ 2021-12-22 15:58 UTC (permalink / raw)
  To: Alexander Aring, Stefan Schmidt, linux-wpan
  Cc: David Girault, Romuald Despres, Frederic Blain, Thomas Petazzoni,
	netdev, Miquel Raynal

Hello,

This series follows the work done in the Linux kernel stack: now that
the core knows about the different netlink commands and attributes in
order to support passive scan requests from end-to-end, here are the
userspace changes to be able to use it.

Here is a list of the new available features.

* Passively sending (or stopping) beacons. So far only intervals ranging
  from 0 to 14 are valid. Bigger values would request the PAN
  coordinator to answer to BEACONS_REQ (active scans), this is not
  supported yet.
  # iwpan dev wpan0 beacons send interval 2
  # iwpan dev wpan0 beacons stop

* Scanning all the channels or only a subset:
  # iwpan dev wpan1 scan type passive duration 3

* If a beacon is received during this operation the internal PAN list is
  updated and can be dumped or flushed with:
  # iwpan dev wpan1 pans dump
  PAN 0xffff (on wpan1)
	coordinator 0x2efefdd4cdbf9330
	page 0
	channel 13
	superframe spec. 0xcf22
	LQI 0
	seen 7156ms ago
  # iwpan dev wpan1 pans flush

* It is also possible to monitor the events with:
  # iwpan event

* As well as triggering a non blocking scan:
  # iwpan dev wpan1 scan trigger type passive duration 3
  # iwpan dev wpan1 scan done
  # iwpan dev wpan1 scan abort

Cheers,
Miquèl

David Girault (4):
  iwpan: Export iwpan_debug
  iwpan: Remove duplicated SECTION
  iwpan: Add full scan support
  iwpan: Add events support

Miquel Raynal (2):
  iwpan: Fix a comment
  iwpan: Synchronize nl802154 header with the Linux kernel

Romuald Despres (1):
  iwpan: Fix the channels printing

 DEST/usr/local/bin/iwpan      | Bin 0 -> 178448 bytes
 DEST/usr/local/bin/wpan-hwsim | Bin 0 -> 45056 bytes
 DEST/usr/local/bin/wpan-ping  | Bin 0 -> 47840 bytes
 src/Makefile.am               |   2 +
 src/event.c                   | 221 ++++++++++++++++
 src/info.c                    |   2 +-
 src/iwpan.c                   |   2 +-
 src/iwpan.h                   |  13 +-
 src/nl802154.h                |  95 +++++++
 src/scan.c                    | 471 ++++++++++++++++++++++++++++++++++
 10 files changed, 797 insertions(+), 9 deletions(-)
 create mode 100755 DEST/usr/local/bin/iwpan
 create mode 100755 DEST/usr/local/bin/wpan-hwsim
 create mode 100755 DEST/usr/local/bin/wpan-ping
 create mode 100644 src/event.c
 create mode 100644 src/scan.c

-- 
2.27.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-01-04 10:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-22 15:58 [wpan-tools 0/7] IEEE 802.15.4 passive scan support Miquel Raynal
2021-12-22 15:58 ` [wpan-tools 1/7] iwpan: Fix the channels printing Miquel Raynal
2021-12-22 15:58 ` [wpan-tools 2/7] iwpan: Export iwpan_debug Miquel Raynal
2021-12-22 15:58 ` [wpan-tools 3/7] iwpan: Fix a comment Miquel Raynal
2021-12-22 15:58 ` [wpan-tools 4/7] iwpan: Remove duplicated SECTION Miquel Raynal
2021-12-22 15:58 ` [wpan-tools 5/7] iwpan: Synchronize nl802154 header with the Linux kernel Miquel Raynal
2021-12-22 15:58 ` [wpan-tools 6/7] iwpan: Add full scan support Miquel Raynal
2021-12-22 17:19   ` Alexander Aring
2022-01-04 10:17     ` Miquel Raynal
2021-12-22 15:58 ` [wpan-tools 7/7] iwpan: Add events support Miquel Raynal

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.