# p2p_info_tag Struct Reference
[P2P]

Information structure containing all information about a P2P link. More...

`#include <p2p.h>`

Collaboration diagram for p2p_info_tag:
[legend]

## Data Fields
struct p2p_noa_info_tag | noa [P2P_NOA_NB_MAX]
| NOA - Up to 2 concurrent NoA.
struct mm_timer_tag | oppps_timer
| Timer used for P2P Opportunistic PS management.
uint8_t | role
| Role.
uint8_t | vif_index
| Associated VIF index.
uint8_t | oppps_status
| Status of OppPS timer.
uint8_t | oppps_ctw
| CTWindow, Opportunistic Power Save is enabled if CTW is different than 0.
uint32_t | oppps_ctw_end
| End of next CTW (only used for p2p-cli when delaying start of CTW).
uint8_t | noa_index
| Last received/sent NOA Index.
uint8_t | noa_nb
| Number of NOAs currently used.
uint8_t | noa_cm_nb
| Number of NOA triggered by Concurrent Mode.
uint32_t | next_absent
| timestamp when GO is next absent
uint32_t | next_present
| timestamp when GO is next present
bool | is_noa_bcn
| Indicate if the NOA attribute is part of the beacon.
bool | is_go_present
| Indicate if P2P Go is present.
bool | is_waiting_bcn
| Indicate if we are waiting for Beacon reception.
bool | noa_paused
| Indicate if P2P PS NoA is paused due to traffic OppPS does not need to be paused: if we have traffic on a link, peer device won't enter in doze mode NoA due to Concurrent mode cannot be paused.
uint8_t | noa_in_bcn_nb
| Indicate the number of NoA indicated in the beacon.

## Detailed Description

Information structure containing all information about a P2P link.

Definition at line 270 of file p2p.h.

## Field Documentation

uint8_t p2p_info_tag::noa_in_bcn_nb

Indicate the number of NoA indicated in the beacon.

This value can be different than noa_nb if noa_paused is true

Definition at line 316 of file p2p.h.

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

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