diff options
author | Miquel Raynal <[email protected]> | 2023-03-24 12:05:58 +0100 |
---|---|---|
committer | Stefan Schmidt <[email protected]> | 2023-03-24 17:19:29 +0100 |
commit | 1af3de62f03f651c5e50c0e00f8fed34d07b9df3 (patch) | |
tree | ca37464cae02b4bfb37a8121a4dfad2ebf721fea | |
parent | 822452fb6c696bb2331649ce6fbb49e49261cc71 (diff) |
ieee802154: ca8210: Flag the driver as being limited
This is a hardMAC device wired to Linux 802154 softMAC
implementation. It is a bit limited in the sense that it cannot handle
anything else that datagrams. Let's flag it like this to prevent using
unsupported features such as scan/beacons handling.
Signed-off-by: Miquel Raynal <[email protected]>
Acked-by: Alexander Aring <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stefan Schmidt <[email protected]>
-rw-r--r-- | drivers/net/ieee802154/ca8210.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ieee802154/ca8210.c b/drivers/net/ieee802154/ca8210.c index 1eada1db8dcf..567e95f00001 100644 --- a/drivers/net/ieee802154/ca8210.c +++ b/drivers/net/ieee802154/ca8210.c @@ -2945,7 +2945,8 @@ static void ca8210_hw_setup(struct ieee802154_hw *ca8210_hw) ca8210_hw->phy->flags = WPAN_PHY_FLAG_TXPOWER | WPAN_PHY_FLAG_CCA_ED_LEVEL | - WPAN_PHY_FLAG_CCA_MODE; + WPAN_PHY_FLAG_CCA_MODE | + WPAN_PHY_FLAG_DATAGRAMS_ONLY; } /** |