Linux IEEE 802.15.4 and 6LoWPAN development
 help / color / mirror / Atom feed
* "encryption failed" warnings in dmesg
@ 2018-03-07 13:35 Anton Sviridenko
  2018-03-07 15:43 ` Alexander Aring
  0 siblings, 1 reply; 9+ messages in thread
From: Anton Sviridenko @ 2018-03-07 13:35 UTC (permalink / raw)
  To: linux-wpan

I send packets through raw socket on ieee802154 network interface using at86rf212b transceiver
and sometimes get lot of these messages in dmesg:

ieee802154 phy0 wpan0: encryption failed: -22

I've traced place in source that generates them:
https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/tree/net/mac802154/tx.c

Can someone explain what happens?
Isn't it supposed for raw packets to be passed as is? I think if packet is encrypted, 
it should be already encrypted by userspace software that prepared this raw packet.
Btw, software that sends raw packets is OpenThread, I'm trying to run it on Linux,
if that matters

How encryption keys are expected to be set up when encryption is used?
It seems wpan-tools do not contain such commands.

Anton


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-03-12 15:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-07 13:35 "encryption failed" warnings in dmesg Anton Sviridenko
2018-03-07 15:43 ` Alexander Aring
2018-03-10 17:29   ` anton
2018-03-10 23:43     ` Alexander Aring
2018-03-11  4:49       ` Alexander Aring
2018-03-11 12:37         ` anton
2018-03-11 13:34           ` Alexander Aring
2018-03-11 17:30             ` anton
2018-03-12 15:27               ` Alexander Aring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox