# /space/home/slher/rel/Beken/v6_4_5/macsw/ip/lmac/src/rx/rxl/rxl_cntrl.h File Reference

Declarations of radar detection driver. More...

`#include "co_int.h"`
`#include "co_list.h"`
`#include "co_ring.h"`
`#include "dma.h"`

Go to the source code of this file.

## Data Structures
struct | rxl_cntrl_env_tag
| RX control environment declaration. More...
struct | rx_upload_cntrl_tag
| Descriptor used to handle the actions performed when uploading the MPDU. More...
## Defines
#define | RX_DATA_UPLOAD_CHAN IPC_DMA_CHANNEL_DATA_RX
| DMA channel used for data upload.
#define | DMA_HD_RXPATTERN 0xAAAAAA00
| Pattern indicating to the host that the buffer is ready for him.
#define | RXL_CNTRL_FRAME_INFO_SET(bit) (rxl_cntrl_env.rx_status.frame_info |= RXL_CNTRL_ ## bit)
| Set bit in frame_info value (struct rxl_cntrl_rx_status).
#define | RXL_CNTRL_FRAME_INFO_GET(bit) (rxl_cntrl_env.rx_status.frame_info & RXL_CNTRL_ ## bit)
| Get if bit set to 1 in frame_info value (struct rxl_cntrl_rx_status).
#define | RX_LLICTRL(irqenable)
| Configure the bridge DMA control field.
## Typedefs
typedef void(* | cb_rx_dma_func_ptr )(void *)
| Pointer to callback function.
## Enumerations
enum | rx_upload_flags { RX_NO_UPLOAD = CO_BIT(0) }
| RX upload control flag bits. More...
## Functions
__INLINE void | rxl_upload_cntrl_push_pending (struct rx_upload_cntrl_tag *upload_cntrl)
| Push an upload control descriptor to the pending queue.
__INLINE bool | rxl_upload_pending (void)
| Check if some packets are pending for upload.
void | rxl_init (void)
| This function initializes the RX path.
void | rxl_reset (void)
| RX path reset function.
void | rxl_cntrl_evt (int dummy)
| RX path background packet handler.
void | rxl_host_irq_mitigation_update (void *env)
| Update uploaded packet counter upon a frame upload and call the indication function if the counter passes the threshold.
void | rxl_timeout_int_handler (void)
| Handling of the SW RX timeout.
void | rxl_dma_int_handler (void)
| RX IPC DMA interrupt handler.
void | rxl_dma_evt (int dummy)
| RX DMA event handler.
## Variables
struct rxl_cntrl_env_tag | rxl_cntrl_env
| RXL module environment variable.

## Detailed Description

Declarations of radar detection driver.

API declarations for the Rx path.

Copyright (C) RivieraWaves 2011-2019

Definition in file rxl_cntrl.h.