summaryrefslogtreecommitdiffstats
path: root/net/ieee802154
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2023-09-27 20:12:09 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2023-11-20 11:42:55 +0100
commit9860d9be89f420f3793fb798faadea11c723e08a (patch)
tree1c3f7f7e56fa01d00c5a1d2acca2a1a248638740 /net/ieee802154
parentieee802154: Add support for user disassociation requests (diff)
downloadlinux-9860d9be89f420f3793fb798faadea11c723e08a.tar.xz
linux-9860d9be89f420f3793fb798faadea11c723e08a.zip
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.c2
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);