# /space/home/slher/rel/Beken/v6_4_5/macsw/ip/lmac/src/tx/tx_swdesc.h File Reference

Definition of Tx SW descriptors. More...

`#include "co_int.h"`
`#include "co_bool.h"`
`#include "rwnx_config.h"`
`#include "mac.h"`
`#include "hal_desc.h"`
`#include "txu_cntrl.h"`

Go to the source code of this file.

## Data Structures
struct | txl_buffer_control
| Control descriptor containing information about the transmission rates to use, the Beamforming/HTC/STBC flags, etc. More...
struct | hostdesc
| Descriptor filled by the Host. More...
struct | umacdesc
| Descriptor filled by the UMAC. More...
struct | lmacdesc
| Descriptor filled by the LMAC. More...
struct | txdesc
| LMAC Tx Descriptor. More...
struct | txdesc_api
| Description of the TX API. More...
struct | txdesc_host
| Descriptor used for Host/Emb TX frame information exchange. More...
## Defines
#define | DELIMITER_LEN 4
| AMDPU delimiter length in bytes.
## Enumerations
enum | tx_swdesc_umac_flags { TX_SWDESC_UMAC_BEAMFORM_BIT = CO_BIT(0), TX_SWDESC_UMAC_TRIAL_BEAMFORM_BIT = CO_BIT(1), TX_SWDESC_UMAC_TRIAL_STBC_BIT = CO_BIT(2), TX_SWDESC_UMAC_HTC_BIT = CO_BIT(3), TX_SWDESC_UMAC_TRIAL_HTC_BIT = CO_BIT(4) }
## Functions
External API
void | tx_txdesc_init (void)
| Initializes the Tx descriptor pool.
__INLINE bool | is_int_frame (struct txdesc *txdesc)
| Return a boolean indicating if a MPDU is split accross several host buffers (e.g.
__INLINE bool | is_mpdu_split (struct txdesc *txdesc)
| Return a boolean indicating if a MPDU is split across several host buffers (e.g.
__INLINE bool | is_qos_data (struct txdesc *txdesc)
| Return boolean corresponding to MPDU being first in an AMPDU or not.
__INLINE bool | is_htc_sglt_allowed (struct txdesc *txdesc)
| Return if a frame pointed by the given TX descriptor can include a +HTC if transmitted as a singleton MPDU.
__INLINE struct txdesc * | tx_desc_next (struct txdesc *txdesc)
| Return the TX descriptor following the one passed as parameter.
## Variables
struct txdesc * | txdesc_array [NX_TXQ_CNT][RW_USER_MAX]
| Pointer to the TX descriptors arrays.
const int | nx_txdesc_cnt [NX_TXQ_CNT]
| Number of TX descriptors per queue.
const int | nx_txuser_cnt [NX_TXQ_CNT]
| Maximum number of users per queue.

## Detailed Description

Definition of Tx SW descriptors.

Copyright (C) RivieraWaves 2011-2019

Definition in file tx_swdesc.h.