• Phoebe Buckheister's avatar
    ieee802154, mac802154: implement devkey record option · f0f77dc6
    Phoebe Buckheister authored
    The 802.15.4-2011 standard states that for each key, a list of devices
    that use this key shall be kept. Previous patches have only considered
    two options:
    
     * a device "uses" (or may use) all keys, rendering the list useless
     * a device is restricted to a certain set of keys
    
    Another option would be that a device *may* use all keys, but need not
    do so, and we are interested in the actual set of keys the device uses.
    Recording keys used by any given device may have a noticable performance
    impact and might not be needed as often. The common case, in which a
    device will not switch keys too often, should still perform well.
    Signed-off-by: default avatarPhoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    f0f77dc6
llsec.c 25 KB