Skip to content

Commit 1af3de6

Browse files
miquelraynalStefan-Schmidt
authored andcommitted
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 <miquel.raynal@bootlin.com> Acked-by: Alexander Aring <aahringo@redhat.com> Link: https://lore.kernel.org/r/20230324110558.90707-3-miquel.raynal@bootlin.com Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
1 parent 822452f commit 1af3de6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/net/ieee802154/ca8210.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2945,7 +2945,8 @@ static void ca8210_hw_setup(struct ieee802154_hw *ca8210_hw)
29452945
ca8210_hw->phy->flags =
29462946
WPAN_PHY_FLAG_TXPOWER |
29472947
WPAN_PHY_FLAG_CCA_ED_LEVEL |
2948-
WPAN_PHY_FLAG_CCA_MODE;
2948+
WPAN_PHY_FLAG_CCA_MODE |
2949+
WPAN_PHY_FLAG_DATAGRAMS_ONLY;
29492950
}
29502951

29512952
/**

0 commit comments

Comments
 (0)