summaryrefslogtreecommitdiff
path: root/net/ieee802154/nl802154.h
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2022-11-29 14:55:34 +0100
committerStefan Schmidt <stefan@datenfreihafen.org>2022-11-29 15:34:22 +0100
commit51147284eb7d685a689a5d1b7772faec278a2338 (patch)
treed72379e6733e8dc965ff65fe08dc14097551bb19 /net/ieee802154/nl802154.h
parent2622e785f7579e8c92d0fcf55e9d6b3955e4f1a6 (diff)
ieee802154: Advertize coordinators discovery
Let's introduce the basics for advertizing discovered PANs and coordinators, which is: - A new "scan" netlink message group. - A couple of netlink command/attribute. - The main netlink helper to send a netlink message with all the necessary information to forward the main information to the user. Two netlink attributes are proactively added to support future UWB complex channels, but are not actually used yet. Co-developed-by: David Girault <david.girault@qorvo.com> Signed-off-by: David Girault <david.girault@qorvo.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Alexander Aring <aahringo@redhat.com> Link: https://lore.kernel.org/r/20221129135535.532513-2-miquel.raynal@bootlin.com Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Diffstat (limited to 'net/ieee802154/nl802154.h')
-rw-r--r--net/ieee802154/nl802154.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ieee802154/nl802154.h b/net/ieee802154/nl802154.h
index 8c4b6d08954c..89b805500032 100644
--- a/net/ieee802154/nl802154.h
+++ b/net/ieee802154/nl802154.h
@@ -4,5 +4,7 @@
int nl802154_init(void);
void nl802154_exit(void);
+int nl802154_scan_event(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
+ struct ieee802154_coord_desc *desc);
#endif /* __IEEE802154_NL802154_H */