FreeBSD kernel WLAN code
ieee80211_tdma.h File Reference

Go to the source code of this file.

Data Structures

struct  ieee80211_tdma_param
 
struct  ieee80211_tdma_state
 

Macros

#define TDMA_SUBTYPE_PARAM   0x01
 
#define TDMA_VERSION_V2   2
 
#define TDMA_VERSION   TDMA_VERSION_V2
 
#define TDMA_MAXSLOTS   2 /* max slots/sta's */
 
#define TDMA_PARAM_LEN_V2   sizeof(struct ieee80211_tdma_param)
 
#define TDMA_UPDATE_SLOT   0x0001 /* tdma_slot changed */
 
#define TDMA_UPDATE_SLOTCNT   0x0002 /* tdma_slotcnt changed */
 
#define TDMA_UPDATE_SLOTLEN   0x0004 /* tdma_slotlen changed */
 
#define TDMA_UPDATE_BINTVAL   0x0008 /* tdma_bintval changed */
 

Functions

void ieee80211_tdma_vattach (struct ieee80211vap *)
 
int ieee80211_tdma_getslot (struct ieee80211vap *vap)
 
void ieee80211_parse_tdma (struct ieee80211_node *ni, const uint8_t *ie)
 
uint8_t * ieee80211_add_tdma (uint8_t *frm, struct ieee80211vap *vap)
 
void ieee80211_tdma_update_beacon (struct ieee80211vap *vap, struct ieee80211_beacon_offsets *bo)
 

Variables

struct ieee80211_tdma_param __packed
 

Macro Definition Documentation

◆ TDMA_MAXSLOTS

#define TDMA_MAXSLOTS   2 /* max slots/sta's */

Definition at line 42 of file ieee80211_tdma.h.

◆ TDMA_PARAM_LEN_V2

#define TDMA_PARAM_LEN_V2   sizeof(struct ieee80211_tdma_param)

Definition at line 44 of file ieee80211_tdma.h.

◆ TDMA_SUBTYPE_PARAM

#define TDMA_SUBTYPE_PARAM   0x01

Definition at line 37 of file ieee80211_tdma.h.

◆ TDMA_UPDATE_BINTVAL

#define TDMA_UPDATE_BINTVAL   0x0008 /* tdma_bintval changed */

Definition at line 94 of file ieee80211_tdma.h.

◆ TDMA_UPDATE_SLOT

#define TDMA_UPDATE_SLOT   0x0001 /* tdma_slot changed */

Definition at line 91 of file ieee80211_tdma.h.

◆ TDMA_UPDATE_SLOTCNT

#define TDMA_UPDATE_SLOTCNT   0x0002 /* tdma_slotcnt changed */

Definition at line 92 of file ieee80211_tdma.h.

◆ TDMA_UPDATE_SLOTLEN

#define TDMA_UPDATE_SLOTLEN   0x0004 /* tdma_slotlen changed */

Definition at line 93 of file ieee80211_tdma.h.

◆ TDMA_VERSION

#define TDMA_VERSION   TDMA_VERSION_V2

Definition at line 39 of file ieee80211_tdma.h.

◆ TDMA_VERSION_V2

#define TDMA_VERSION_V2   2

Definition at line 38 of file ieee80211_tdma.h.

Function Documentation

◆ ieee80211_add_tdma()

uint8_t * ieee80211_add_tdma ( uint8_t *  frm,
struct ieee80211vap vap 
)

Referenced by ieee80211_beacon_construct().

Here is the caller graph for this function:

◆ ieee80211_parse_tdma()

void ieee80211_parse_tdma ( struct ieee80211_node ni,
const uint8_t *  ie 
)

Referenced by ieee80211_sta_join().

Here is the caller graph for this function:

◆ ieee80211_tdma_getslot()

int ieee80211_tdma_getslot ( struct ieee80211vap vap)

Referenced by adhoc_pick_bss().

Here is the caller graph for this function:

◆ ieee80211_tdma_update_beacon()

void ieee80211_tdma_update_beacon ( struct ieee80211vap vap,
struct ieee80211_beacon_offsets bo 
)

Referenced by ieee80211_beacon_update().

Here is the caller graph for this function:

◆ ieee80211_tdma_vattach()

void ieee80211_tdma_vattach ( struct ieee80211vap )

Referenced by adhoc_vattach().

Here is the caller graph for this function:

Variable Documentation

◆ __packed

struct ieee80211_tdma_param __packed