# ps_env_tag Struct Reference
[PS]

PS module environment. More...

`#include <ps.h>`

Collaboration diagram for ps_env_tag:
[legend]

## Data Fields
bool | ps_on
| Current Power Save mode state.
ke_task_id_t | taskid
| TaskID of the task that requested the power save change.
uint32_t | prevent_sleep
| Bitfield indicating which ongoing procedure prevent from going to sleep.
uint8_t | cfm_cnt
| Expected number of confirmations for NULL frame transmission.
struct mm_timer_tag | uapsd_timer
| Timer used for Traffic Detection Interval.
bool | uapsd_tmr_on
| Flag indicating if UAPSD timer is currently active.
bool | uapsd_on
| Flag indicating if UAPSD is currently in use.
uint32_t | uapsd_timeout
| UAPSD Timer timeout value, in microseconds.
uint8_t | dpsm_state
| Bit field containing different information used for DPSM.
uint8_t | next_mode
| Next PS Mode required by the upper layers.

## Detailed Description

PS module environment.

Definition at line 165 of file ps.h.

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

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