# hostdesc Struct Reference
[TX_SWDESC]

Descriptor filled by the Host. More...

`#include <tx_swdesc.h>`

Collaboration diagram for hostdesc:
[legend]

## Data Fields
uint32_t | packet_addr [NX_TX_PAYLOAD_MAX]
| Pointers to packet payloads.
uint16_t | packet_len [NX_TX_PAYLOAD_MAX]
| Sizes of the MPDU/MSDU payloads.
uint8_t | packet_cnt
| Number of payloads forming the MPDU.
uint32_t | status_desc_addr
| Address of the status descriptor in host memory (used for confirmation upload).
struct mac_addr | eth_dest_addr
| NX_FULLY_HOSTED.
struct mac_addr | eth_src_addr
| Source Address.
uint16_t | ethertype
| Ethernet Type.
uint16_t | pn [4]
| PN that was used for first transmission of this MPDU.
uint16_t | sn
| Sequence Number used for first transmission of this MPDU.
uint16_t | timestamp
| Timestamp of first transmission of this MPDU.
uint8_t | tid
| Packet TID.
uint8_t | vif_idx
| VIF index.
uint8_t | staid
| Station Id (0xFF if station is unknown).
uint8_t | mumimo_info
| MU-MIMO information (GroupId and User Position in the group) - The GroupId is located on bits 0-5 and the User Position on bits 6-7.
uint16_t | flags
| TX flags.

## Detailed Description

Descriptor filled by the Host.

Definition at line 109 of file tx_swdesc.h.

## Field Documentation

struct mac_addr hostdesc::eth_dest_addr`[read]`

NX_FULLY_HOSTED.

Destination Address

Definition at line 135 of file tx_swdesc.h.

Referenced by txl_buffer_mic_compute(), txu_cntrl_amsdu_hdr_append(), and txu_cntrl_mac_hdr_append().

uint8_t hostdesc::mumimo_info

MU-MIMO information (GroupId and User Position in the group) - The GroupId is located on bits 0-5 and the User Position on bits 6-7.

The GroupId value is set to 63 if MU-MIMO shall not be used

Definition at line 164 of file tx_swdesc.h.

Referenced by get_group_id(), and get_user_pos().

The documentation for this struct was generated from the following file:

- /space/home/slher/rel/Beken/v6_4_5/macsw/ip/lmac/src/tx/tx_swdesc.h