# /space/home/slher/rel/Beken/v6_4_5/macsw/ip/umac/src/me/me.h File Reference

Copyright (C) RivieraWaves 2011-2019. More...

`#include "rwnx_config.h"`
`#include "scanu_task.h"`
`#include "me_task.h"`
`#include "mac.h"`
`#include "txl_frame.h"`

Go to the source code of this file.

## Data Structures
struct | me_env_tag
| ME environment structure. More...
struct | mobility_domain
| Mobility Domain IE. More...
struct | me_bss_info
| Information related to the BSS a VIF is linked to. More...
## Defines
#define | DEFAULT_ASSOCRSP_TIMEOUT (200 * TU_DURATION)
| Association response timeout (in us).
#define | DEFAULT_AUTHRSP_TIMEOUT (200 * TU_DURATION)
| Authentication response timeout (in us).
#define | LOCAL_CAPA(type) ((me_env.capa_flags & ME_##type##_CAPA) != 0)
| Test whether the specified capability is supported locally.
#define | LOCAL_CAPA_SET(type) (me_env.capa_flags |= ME_##type##_CAPA)
| Set the specified local capability.
#define | LOCAL_CAPA_CLR(type) (me_env.capa_flags &= ~ME_##type##_CAPA)
| Clear the specified local capability.
#define | BSS_CAPA(bss, type) (((bss)->capa_flags & BSS_##type##_CAPA) != 0)
| Test whether the specified capability is supported by the BSS.
#define | BSS_CAPA_SET(bss, type) ((bss)->capa_flags |= BSS_##type##_CAPA)
| Set the specified BSS capability.
#define | BSS_CAPA_CLR(bss, type) ((bss)->capa_flags &= ~BSS_##type##_CAPA)
| Clear the specified BSS capability.
#define | BSS_CAPA_RESET(bss) ((bss)->capa_flags = 0)
| Reset (i.e.
## Enumerations
enum | { ME_HT_CAPA = CO_BIT(0), ME_VHT_CAPA = CO_BIT(1), ME_HE_CAPA = CO_BIT(2), ME_OFDMA_UL_CAPA = CO_BIT(3) }
| Local capability flags. More...
enum | { BSS_QOS_CAPA = CO_BIT(0), BSS_HT_CAPA = CO_BIT(1), BSS_VHT_CAPA = CO_BIT(2), BSS_HE_CAPA = CO_BIT(3), BSS_VALID_CAPA = CO_BIT(31) }
| BSS capability flags. More...
## Functions
__INLINE uint16_t | me_tx_lft_get (void)
| This function returns the TX lifetime of packets sent under BlockAck agreement.
__INLINE void | me_credits_update_ind (uint8_t sta_idx, uint8_t tid, int8_t credits)
| This function updates the host about the number of credits allocated/deallocated to a peer STA/TID pair.
void | me_init (void)
| Initialize the ME modules.
struct mac_chan_def * | me_freq_to_chan_ptr (uint8_t band, uint16_t freq)
| Search the channel structure corresponding to the parameters, and returns a a pointer to this structure.
void | me_init_chan (struct mac_chan_op *chan)
| Initialize channel TX power and flags from regulatory data base.
## Variables
struct me_env_tag | me_env
| ME module environment variable.

## Detailed Description

Copyright (C) RivieraWaves 2011-2019.

Declaration of the initialization functions used in UMAC ME.

Definition in file me.h.