Hello, This series follows the work done in the Linux kernel stack [1]: now that the core knows about the different netlink commands and attributes in order to support scanning requests, we can sync the userspace tools to use them. As part of these additions, a few cleanup patches are introducing the series, including a first sync with a recent change in nl802154.h. [1] https://lore.kernel.org/linux-wpan/ec93100f-8c55-2f54-d3d5-63f31c2602f4@xxxxxxxxxxxxxxxxxx/T/#t Cheers, Miquèl Changes in v2: * Adapted to the latest kernel changes. * Added a real "monitor" command in place of the scan done command. * Renamed iwpan event into iwpan monitor. * Dropped an unused function. * Changed the behavior of the scan monitor call. * Added SIGINT support to send an abort. * Avoided a race in the scan command by using pthread when starting to monitor, before triggering the scan operation. * Dropped beaconing support for this first version. David Girault (4): iwpan: Export iwpan_debug iwpan: Remove duplicated SECTION iwpan: Add scan support iwpan: Add events support Miquel Raynal (3): iwpan: Synchronize nl802154.h with the latest kernel iwpan: Fix a comment iwpan: Synchronize nl802154.h with the latest scan changes Romuald Despres (1): iwpan: Fix the channels printing src/Makefile.am | 2 + src/event.c | 230 ++++++++++++++++++++ src/info.c | 2 +- src/iwpan.c | 2 +- src/iwpan.h | 10 +- src/nl802154.h | 107 +++++++++- src/scan.c | 548 ++++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 888 insertions(+), 13 deletions(-) create mode 100644 src/event.c create mode 100644 src/scan.c -- 2.34.1