diff --git a/include/net/net_pkt.h b/include/net/net_pkt.h index 1afcb002b4e..d29ca218256 100644 --- a/include/net/net_pkt.h +++ b/include/net/net_pkt.h @@ -239,7 +239,6 @@ struct net_pkt { uint8_t ieee802154_lqi; /* Link Quality Indicator */ uint8_t ieee802154_arb : 1; /* ACK Request Bit is set in the frame */ uint8_t ieee802154_ack_fpb : 1; /* Frame Pending Bit was set in the ACK */ - uint8_t ieee802154_frame_retry : 1; /* The frame is being retransmitted. */ uint8_t ieee802154_frame_secured : 1; /* Frame is authenticated and * encrypted according to its * Auxiliary Security Header @@ -1017,17 +1016,6 @@ static inline void net_pkt_set_ieee802154_ack_fpb(struct net_pkt *pkt, pkt->ieee802154_ack_fpb = fpb; } -static inline bool net_pkt_ieee802154_frame_retry(struct net_pkt *pkt) -{ - return pkt->ieee802154_frame_retry; -} - -static inline void net_pkt_set_ieee802154_frame_retry(struct net_pkt *pkt, - bool frame_retry) -{ - pkt->ieee802154_frame_retry = frame_retry; -} - static inline bool net_pkt_ieee802154_frame_secured(struct net_pkt *pkt) { return pkt->ieee802154_frame_secured; diff --git a/subsys/net/lib/openthread/platform/radio.c b/subsys/net/lib/openthread/platform/radio.c index 548b0579695..be53e3cd5a5 100644 --- a/subsys/net/lib/openthread/platform/radio.c +++ b/subsys/net/lib/openthread/platform/radio.c @@ -271,9 +271,6 @@ void transmit_message(struct k_work *tx_job) radio_api->set_channel(radio_dev, sTransmitFrame.mChannel); radio_api->set_txpower(radio_dev, tx_power); - net_pkt_set_ieee802154_frame_retry(tx_pkt, - sTransmitFrame.mInfo.mTxInfo.mIsARetx); - if ((radio_api->get_capabilities(radio_dev) & IEEE802154_HW_TXTIME) && (sTransmitFrame.mInfo.mTxInfo.mTxDelay != 0)) { uint64_t tx_at = sTransmitFrame.mInfo.mTxInfo.mTxDelayBaseTime +