# /space/home/slher/rel/Beken/v6_4_5/macsw/ip/lmac/src/rwnx/rwnx.c File Reference

This file contains the implementation of the nX-MAC platform APIs. More...

`#include "version.h"`
`#include "dbg.h"`
`#include "ke_event.h"`
`#include "mm.h"`
`#include "hal_machw.h"`
`#include "rxl_cntrl.h"`
`#include "txl_cntrl.h"`
`#include "ps.h"`
`#include "rwnx.h"`
`#include "macif.h"`
`#include "vif_mgmt.h"`
`#include "me.h"`

Go to the source code of this file.

## Data Structures
struct | rwnx_env_tag
| Define global rwnx status. More...
## Functions
void | rwnxl_init (void)
| This function performs all the initializations of the MAC SW.
void | rwnxl_start (void)
| Start the MAC SW.
void | rwnxl_reset_evt (int dummy)
| NX reset event handler.
bool | rwnxl_cpu_can_sleep (void)
| This function checks if any kernel event is pending in the MAC SW.
void | rwnxl_sleep (void)
| This function performs the required checks prior to go to DOZE mode.
void | rwnxl_wakeup (void)
| This function performs the wake up from DOZE mode.
## Variables
static struct rwnx_env_tag | rwnx_env
| RWNX context.

## Detailed Description

This file contains the implementation of the nX-MAC platform APIs.

Copyright (C) RivieraWaves 2011-2019

Definition in file rwnx.c.