mac802154: Only allow PAN controllers to process association requests
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 28 Nov 2023 11:16:53 +0000 (12:16 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 15 Dec 2023 10:14:53 +0000 (11:14 +0100)
commit95d92505b6063896d7a1e6fcadd07e8552653cfb
tree05cfc69c4f913fa589238cba512f4a4227971bba
parente9dc1bc9b8dc3aa5380678c5a60593fb6abac68f
mac802154: Only allow PAN controllers to process association requests

It is not very clear in the specification whether simple coordinators
are allowed or not to answer to association requests themselves. As
there is no synchronization mechanism, it is probably best to rely on
the relay feature of these coordinators and avoid processing them in
this case.

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/20231128111655.507479-4-miquel.raynal@bootlin.com
net/mac802154/scan.c