# /space/home/slher/rel/Beken/v6_4_5/macsw/ip/umac/src/txu/txu_cntrl.h File Reference

UMAC TX Path definitions. More...

`#include "co_int.h"`
`#include "co_bool.h"`
`#include "rwnx_config.h"`

Go to the source code of this file.

## Defines
TX Status bits passed to the host upon frame confirmation
#define | TX_STATUS_DONE CO_BIT(0)
| Frame transmission done.
#define | TX_STATUS_RETRY_REQUIRED CO_BIT(1)
| Frame retry required.
#define | TX_STATUS_SW_RETRY_REQUIRED CO_BIT(2)
| Frame sw retry required.
#define | TX_STATUS_ACKNOWLEDGED CO_BIT(3)
| Frame acknoledged.
TX Flags passed by the host or UMAC
#define | TXU_CNTRL_RETRY CO_BIT(0)
| The frame is a retry.
#define | TXU_CNTRL_UNDER_BA CO_BIT(1)
| The frame is sent under a BlockAck agreement.
#define | TXU_CNTRL_MORE_DATA CO_BIT(2)
| More data are buffered on host side for this STA after this packet.
#define | TXU_CNTRL_MGMT CO_BIT(3)
| TX Frame is a management frame: WLAN header is already provided, no need to transform an ethernet header Frame shall be sent as a singleton.
#define | TXU_CNTRL_MGMT_NO_CCK CO_BIT(4)
| No CCK rate can be used (valid only if TXU_CNTRL_MGMT is set).
#define | TXU_CNTRL_MGMT_PM_MON CO_BIT(5)
| Internal flag indicating that the PM monitoring has been started for this frame.
#define | TXU_CNTRL_AMSDU CO_BIT(6)
| The frame is an A-MSDU.
#define | TXU_CNTRL_MGMT_ROBUST CO_BIT(7)
| The frame is a robust management frame.
#define | TXU_CNTRL_USE_4ADDR CO_BIT(8)
| The frame shall be transmitted using a 4 address MAC Header.
#define | TXU_CNTRL_EOSP CO_BIT(9)
| The frame is the last of the UAPSD service period.
#define | TXU_CNTRL_MESH_FWD CO_BIT(10)
| This frame is forwarded.
#define | TXU_CNTRL_TDLS CO_BIT(11)
| This frame is sent directly to a TDLS peer.
#define | TXU_CNTRL_POSTPONE_PS CO_BIT(12)
| This frame is postponed internally because of PS. (only for AP).
#define | TXU_CNTRL_RC_TRIAL CO_BIT(13)
| Internal flag indicating that this packet should use the trial rate as first or second rate.
#define | TXU_CNTRL_UASPD_TRIGGER CO_BIT(14)
| Internal flag indicating that this is a UAPSD trigger frame.
## Functions
bool | txu_cntrl_push (struct txdesc *txdesc, uint8_t access_category)
| This is the entry point in UMAC TX path for sending host and send back data frames.
void | txu_cntrl_frame_build (struct txdesc *txdesc, uint32_t buf)
| Function called by the LMAC once the data buffer has been allocated.
void | txu_cntrl_tkip_mic_append (struct txdesc *txdesc, uint8_t ac)
| Function called by the LMAC once the data buffer has been downloaded.
void | txu_cntrl_cfm (struct txdesc *txdesc)
| NX_FULLY_HOSTED.
void | txu_cntrl_protect_mgmt_frame (struct txdesc *txdesc, struct mac_hdr *mac_hdr, uint16_t hdr_len)
| This function Add security header to a management frame.

## Detailed Description

UMAC TX Path definitions.

Copyright (C) RivieraWaves 2011-2019

Definition in file txu_cntrl.h.