mac802154: Handle disassociations
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 27 Sep 2023 18:12:09 +0000 (20:12 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 20 Nov 2023 10:42:55 +0000 (11:42 +0100)
commit9860d9be89f420f3793fb798faadea11c723e08a
tree1c3f7f7e56fa01d00c5a1d2acca2a1a248638740
parent7b18313e84eb62c3e4071f9679480159d8da5107
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
net/ieee802154/pan.c
net/mac802154/cfg.c
net/mac802154/ieee802154_i.h
net/mac802154/scan.c