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:
Jedrzej Ciupis 2021-07-13 08:14:16 +02:00 committed by Anas Nashif
commit 25ebb42bd9
2 changed files with 0 additions and 15 deletions

View file

@ -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;