ieee802154: hwsim: Implement address filtering
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 7 Oct 2022 08:53:07 +0000 (10:53 +0200)
committerStefan Schmidt <stefan@datenfreihafen.org>
Wed, 12 Oct 2022 10:57:12 +0000 (12:57 +0200)
commitea562d8c486eebd2707bcd193974078a2a47affc
tree8bace5714b129bd37109809f96bdf9088d5a7460
parenta87815b7bbcd10d7e113c366eb6310c5898ff952
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>
drivers/net/ieee802154/mac802154_hwsim.c
include/net/ieee802154_netdev.h