]> git.baikalelectronics.ru Git - kernel.git/commit
mac802154: add comments for llsec issues
authorAlexander Aring <alex.aring@gmail.com>
Mon, 28 Sep 2015 07:00:26 +0000 (09:00 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 30 Sep 2015 11:16:44 +0000 (13:16 +0200)
commit2a4a1a9688ee3f45236f44a1682f7f3e909370a2
tree2360d7c37869ea813208cd451a61b139fc02c323
parenta4307294fa164df0d44ac7e58d4ea2a09d223efd
mac802154: add comments for llsec issues

While doing a little test with the llsec implementation I saw these
issues. We should move decryption and encruption somewhere else,
otherwise while capturing with wireshark the mac header shows secuirty
fields but the payload is plaintext.

A complete other issue is what doing with HardMAC drivers where the
payload is always plaintext. I think we need a special handling then in
userspace. We currently doesn't support any HardMAC transceivers, so we
should fix the first issue for SoftMAC transceivers.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/rx.c
net/mac802154/tx.c