mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-06-09 04:30:33 -04:00
ieee802154: hwsim: Implement address filtering
We have access to the address filters being theoretically applied, we also have access to the actual filtering level applied, so let's add a proper frame validation sequence in hwsim. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Alexander Aring <aahringo@redhat.com> Link: https://lore.kernel.org/r/20221007085310.503366-6-miquel.raynal@bootlin.com [stefan@datenfreihafen.org: fixup some checkpatch warnings] Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
This commit is contained in:
committed by
Stefan Schmidt
parent
a87815b7bb
commit
ea562d8c48
@@ -69,6 +69,14 @@ struct ieee802154_hdr_fc {
|
||||
#endif
|
||||
};
|
||||
|
||||
enum ieee802154_frame_version {
|
||||
IEEE802154_2003_STD,
|
||||
IEEE802154_2006_STD,
|
||||
IEEE802154_STD,
|
||||
IEEE802154_RESERVED_STD,
|
||||
IEEE802154_MULTIPURPOSE_STD = IEEE802154_2003_STD,
|
||||
};
|
||||
|
||||
struct ieee802154_hdr {
|
||||
struct ieee802154_hdr_fc fc;
|
||||
u8 seq;
|
||||
|
||||
Reference in New Issue
Block a user