net: ieee802154: Handle limited devices with only datagram support
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 24 Mar 2023 11:05:57 +0000 (12:05 +0100)
committerStefan Schmidt <stefan@datenfreihafen.org>
Fri, 24 Mar 2023 16:19:12 +0000 (17:19 +0100)
commit822452fb6c696bb2331649ce6fbb49e49261cc71
tree326041ddfb52d1c4a55a7178a07efd0218a088f1
parentd021d218f6d924ff5417c64b2e41d184e4bb32d3
net: ieee802154: Handle limited devices with only datagram support

Some devices, like HardMAC ones can be a bit limited in the way they
handle mac commands. In particular, they might just not support it at
all and instead only be able to transmit and receive regular data
packets. In this case, they cannot be used for any of the internal
management commands that we have introduced so far and must be flagged
accordingly.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Alexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/r/20230324110558.90707-2-miquel.raynal@bootlin.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
include/net/cfg802154.h
net/ieee802154/nl802154.c