diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2023-09-27 21:12:09 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2023-11-20 13:42:55 +0300 |
commit | 9860d9be89f420f3793fb798faadea11c723e08a (patch) | |
tree | 1c3f7f7e56fa01d00c5a1d2acca2a1a248638740 /net/ieee802154 | |
parent | 7b18313e84eb62c3e4071f9679480159d8da5107 (diff) | |
download | linux-9860d9be89f420f3793fb798faadea11c723e08a.tar.xz |
mac802154: Handle disassociations
Devices may decide to disassociate from their coordinator for different
reasons (device turning off, coordinator signal strength too low, etc),
the MAC layer just has to send a disassociation notification.
If the ack of the disassociation notification is not received, the
device may consider itself disassociated anyway.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Stefan Schmidt <stefan@datenfreihafen.org>
Acked-by: Alexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/linux-wpan/20230927181214.129346-7-miquel.raynal@bootlin.com
Diffstat (limited to 'net/ieee802154')
-rw-r--r-- | net/ieee802154/pan.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ieee802154/pan.c b/net/ieee802154/pan.c index 2b30e7b19ac3..43b8d2df2186 100644 --- a/net/ieee802154/pan.c +++ b/net/ieee802154/pan.c @@ -46,6 +46,7 @@ bool cfg802154_device_is_parent(struct wpan_dev *wpan_dev, return cfg802154_pan_device_is_matching(wpan_dev->parent, target); } +EXPORT_SYMBOL_GPL(cfg802154_device_is_parent); struct ieee802154_pan_device * cfg802154_device_is_child(struct wpan_dev *wpan_dev, @@ -61,3 +62,4 @@ cfg802154_device_is_child(struct wpan_dev *wpan_dev, return NULL; } +EXPORT_SYMBOL_GPL(cfg802154_device_is_child); |