• Alexander Aring's avatar
    mac802154: at86rf230: add hw flags and merge ops · 640985ec
    Alexander Aring authored
    This patch adds new mac802154 hw flags for transmit power, csma and
    listen before transmit (lbt). These flags indicates that the transceiver
    supports these features. If the flags are set and the driver doesn't
    implement the necessary functions, then ieee802154_register_device
    returns -ENOSYS "Function not implemented".
    
    This patch merges also all at86rf230 operations into one operations structure
    and set the right hw flags for the at86rf230 transceivers.
    Signed-off-by: default avatarAlexander Aring <alex.aring@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    640985ec
at86rf230.c 28.6 KB