• Alexander Aring's avatar
    at86rf230: add transmit retry support · ba6d2239
    Alexander Aring authored
    This patch introduce a transmit retry handling into at86rf230 transmit
    path. Current behaviour is to wait the normal receive time if we want
    to go into STATE_TX_ON when the transceiver is in STATE_BUSY_RX_AACK
    which indicates that a frame is currently receiving. A non force state
    change will not interrupt the the receiving state.
    
    The current behaviour is that after the normal receive time we will
    start a force change into STATE_TX_ON. With this patch we do seven
    retries to go into STATE_TX_ON without forcing. After we hit the
    AT86RF2XX_MAX_TX_RETRIES we will start the force state change.
    This is a polling like method to go into STATE_TX_ON in times of maximum
    receiving time.
    Signed-off-by: default avatarAlexander Aring <alex.aring@gmail.com>
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    ba6d2239
at86rf230.c 41.7 KB