summaryrefslogtreecommitdiffstats
path: root/net/ieee802154
diff options
context:
space:
mode:
authorPhoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>2014-05-14 17:43:07 +0200
committerDavid S. Miller <davem@davemloft.net>2014-05-15 21:51:42 +0200
commit8c84296fd2867118944399ab7e9051515a70d60d (patch)
treec258f1be2848e07f75979202bce494acb610cfe0 /net/ieee802154
parentieee802154: add definitions for link-layer security and header functions (diff)
downloadlinux-8c84296fd2867118944399ab7e9051515a70d60d.tar.xz
linux-8c84296fd2867118944399ab7e9051515a70d60d.zip
mac802154: account for all header parts during wpan header creationg
The current WPAN header creation code checks for EMSGSIZE conditions, but does not account for the MIC field that link layer security may add at the end of the frame. Now that we can accurately calculate the maximum payload size of packets, use that to check for EMSGSIZE conditions. Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ieee802154')
0 files changed, 0 insertions, 0 deletions