mac802154: Handle disassociation notifications from peers
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 27 Sep 2023 18:12:13 +0000 (20:12 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 20 Nov 2023 10:43:33 +0000 (11:43 +0100)
commit1e2a45f1f854ce63c114b42298ea686dce9ae4fd
tree5acc58a704ba9487ed022a5350aee5e3524e7ccd
parent80f8bf9a2a7f603662e08f7663643a58087a2cd4
mac802154: Handle disassociation notifications from peers

Peers may decided to disassociate from us, their coordinator, in this
case they will send a disassociation notification which we must
acknowledge. If we don't, the peer device considers itself disassociated
anyway. We also need to drop the reference to this child from our
internal structures.

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-11-miquel.raynal@bootlin.com
net/mac802154/ieee802154_i.h
net/mac802154/rx.c
net/mac802154/scan.c