/* Callback for notifying upper layer that a packet was succesfully transmitted.  */
static __INLINE void callback_packet_sent(void)
/* Callback for notifying upper layer that a packet was succesfully transmitted.  */
static __INLINE void callback_packet_sent(void)
{
    mp_tx_stream       = NULL;
    m_tx_stream_length = 0;
    m_tx_stream_index  = 0;
    m_ser_phy_tx_event.evt_type = SER_PHY_EVT_TX_PKT_SENT;
    callback_ser_phy_event(m_ser_phy_tx_event);
}