summaryrefslogtreecommitdiff
path: root/net/mac802154/scan.c
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2023-11-28 12:16:52 +0100
committerMiquel Raynal <miquel.raynal@bootlin.com>2023-12-15 11:14:51 +0100
commite9dc1bc9b8dc3aa5380678c5a60593fb6abac68f (patch)
tree46e38548dee72790ca096e3ca9a802916c415cec /net/mac802154/scan.c
parentcf1b830e625baaee5bf1ae4ba4b562cbec5ad012 (diff)
mac802154: Use the PAN coordinator parameter when stamping packets
ACKs come with the source and destination address empty, this has been clarified already. But there is something else: if the destination address is empty but the source address is valid, it may be a way to reach the PAN coordinator. Either the device receiving this frame is the PAN coordinator itself and should process what it just received (PACKET_HOST) or it is not and may, if supported, relay the packet as it is targeted to another device in the network. Right now we do not support relaying so the packet should be dropped in the first place, but the stamping looks more accurate this way. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Stefan Schmidt <stefan@datenfreihafen.org> Acked-by: Alexander Aring <aahringo@redhat.com> Link: https://lore.kernel.org/linux-wpan/20231128111655.507479-3-miquel.raynal@bootlin.com
Diffstat (limited to 'net/mac802154/scan.c')
0 files changed, 0 insertions, 0 deletions