/space/home/slher/rel/Beken/v6_4_5/macsw/ip/lmac/src/tdls/tdls.h File Reference

Tunneled direct-link setup (TDLS) module definition. More...

#include "co_int.h"
#include "co_bool.h"
#include "co_utils.h"
#include "ke_timer.h"
#include "tdls_task.h"
#include "hal_desc.h"
#include "hal_machw.h"
#include "hal_dma.h"
#include "sta_mgmt.h"

Go to the source code of this file.

Defines

#define TDLS_PTI_RSP_TOUT_US   5000000
 Peer Traffic Indication Response timeout, in us.
#define TDLS_KEEP_ALIVE_US   10000000
 Keep-alive time, in us.
#define TDLS_CHSW_SWITCH_TIME_US   5000
 Time spent to switch channel, in us.
#define TDLS_CHSW_TX_FRAME_TIME_US   1000
 Time spent to transmit a frame included SIFS, in us.
#define TDLS_MAX_CHSW_SWITCH_TIME_US   15000
 Max channel switch timeout, in us.
#define TDLS_CHSW_REQ_DELAY_US   10000
 Delay of Channel Switch Request on TBTT time, in us.
#define TDLS_KA_RETRIES   2
 Number of keep-alive frames transmitted before considering the TDLS peer unreachable.
#define TDLS_CHSW_REQ_DELAY_AP_TRAFFIC_US   20000
 Delay of Channel Switch Request when there is traffic with AP, in us.

Functions

__INLINE uint32_t tdls_get_dt_us (uint32_t next_tbtt, uint32_t now)
 This function is used to compute the time to the next TBTT.
bool tdls_check_frame (uint8_t *frame, struct vif_info_tag *vif, uint8_t sta_idx)
 This function processes the received TDLS frames.
void tdls_chsw_req_evt (void *env)
 Callback called upon TDLS channel switch request timer expiration.
void tdls_send_chan_switch_base_ind (struct chan_ctxt_tag *roc_chan_ctxt)
 TDLS channel switch to base channel indication.
void tdls_send_peer_ps_ind (struct vif_info_tag *vif, bool ps_on, uint8_t sta_idx)
 TDLS peer power save indication.
void tdls_peer_traffic_ind_tx_cfm (void *env, uint32_t status)
 Callback function indicating the completion of the TDLS Peer Traffic Indication Request frame transmission.
void tdls_add_sta (struct sta_info_tag *sta, bool initiator, bool chsw_allowed)
 Add TDLS station.
void tdls_del_sta (struct sta_info_tag *sta)
 Del TDLS station.

Detailed Description

Tunneled direct-link setup (TDLS) module definition.

Copyright (C) RivieraWaves 2016-2019

Definition in file tdls.h.


Generated on 14 Jan 2020 for Ceva-RW WLAN FullMAC SW documentation by  doxygen 1.6.1