nrfxlib API 0.1.0
Loading...
Searching...
No Matches
fmac_tx.h File Reference

Header containing TX data path specific declarations for the FMAC IF Layer of the Wi-Fi driver. More...

#include "host_rpu_data_if.h"
#include "fmac_structs.h"

Go to the source code of this file.

Data Structures

struct  tx_pkt_info
 Structure containing information about a TX packet. More...
 
struct  tx_cmd_prep_info
 Structure containing information for preparing a TX command. More...
 

Macros

#define TX_DESC_BUCKET_BOUND   32
 The maximum number of descriptors in a TX descriptor bucket.
 
#define DOT11_WMM_PARAMS_LEN   2
 The length of the WMM parameters.
 
#define SPARE_DESC_Q_MAP_SIZE   4
 The size of the spare descriptor queue map.
 

Enumerations

enum  nrf_wifi_fmac_tx_status { NRF_WIFI_FMAC_TX_STATUS_SUCCESS , NRF_WIFI_FMAC_TX_STATUS_QUEUED = 1 , NRF_WIFI_FMAC_TX_STATUS_FAIL = -1 }
 The status of a TX operation performed by the RPU driver. More...
 

Functions

enum nrf_wifi_status tx_init (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx)
 Initialize the TX module.
 
void tx_deinit (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx)
 Deinitialize the TX module.
 
enum nrf_wifi_status nrf_wifi_fmac_tx_done_event_process (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, struct nrf_wifi_tx_buff_done *config)
 Process the TX done event.
 
unsigned int tx_desc_get (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, int queue)
 Get a TX descriptor from the specified queue.
 
enum nrf_wifi_status tx_pending_process (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, unsigned int desc, unsigned int ac)
 Process the pending TX descriptors.
 
enum nrf_wifi_status tx_cmd_init (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, void *txq, int desc, int peer_id)
 Initialize a TX command.
 
unsigned int tx_buff_req_free (struct nrf_wifi_fmac_dev_ctx *fmac_ctx, unsigned int desc, unsigned char *ac)
 Request free TX buffers.
 

Detailed Description

Header containing TX data path specific declarations for the FMAC IF Layer of the Wi-Fi driver.