# chan_env_tag Struct Reference
[CHAN]

LMAC MAC Management Context. More...

`#include <chan.h>`

Collaboration diagram for chan_env_tag:
[legend]

## Data Fields
struct co_list | list_free_ctxt
| List of free channel contexts.
struct co_list | list_sched_ctxt
| List of scheduled channel contexts.
struct co_list | list_tbtt
| List of TBTT Switch information.
struct co_list | list_free_switch
| List of free channel switch.
struct co_list | list_switch
| List of scheduled channel switch.
struct chan_ctxt_tag * | current_ctxt
| Operational channel.
struct chan_ctxt_tag * | switch_ctxt
| Ongoing channel switch.
struct mm_timer_tag | tmr_conn_less
| Scan/RoC Delay Timer.
struct mm_timer_tag | tmr_switch
| Channel switch timer.
struct chan_ctxt_tag * | fix_ctxt
| Channel context currently fixed (NULL if no channel fixed).
uint32_t | fix_until
| End of fix period.
uint8_t | status
| Status (.
uint8_t | cfm_cnt
| Number of TX confirmations awaited before channel switching.
uint8_t | nb_sched_ctxt
| Number of Channel Context currently scheduled.
uint8_t | nb_active_tbtt
| Number of TBTT window active.
uint8_t | pm
| Flag saving the value of the PM bit.

## Detailed Description

LMAC MAC Management Context.

Definition at line 216 of file chan.h.

## Field Documentation

uint8_t chan_env_tag::status

Status (.

See also:
  enum chan_env_status_bit)

Definition at line 247 of file chan.h.

Referenced by chan_conn_less_ctxt_end(), chan_conn_less_delay_evt(), chan_conn_less_delay_prog(), chan_fix_ctxt_until(), and chan_pre_switch_channel().

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

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