net: pkt: remove ieee802154_frame_retry flag
Flag that indicates if a given packet is being retransmitted has become obsolete since more detailed flags were added. This commit removes the flag and references to it altogether. Signed-off-by: Jedrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
This commit is contained in:
parent
a55c0b0531
commit
25ebb42bd9
2 changed files with 0 additions and 15 deletions
|
@ -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;
|
||||
|
|
|
@ -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 +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue