Classes | Defines | Functions | Variables
mesh_sync.c File Reference
#include "ieee80211_i.h"
#include "mesh.h"
#include "driver-ops.h"
Include dependency graph for mesh_sync.c:

Go to the source code of this file.

Classes

struct  sync_method

Defines

#define msync_dbg(fmt, args...)   do { (void)(0); } while (0)
#define TOFFSET_MAXIMUM_ADJUSTMENT   30000 /* 30 ms */
#define TOFFSET_MINIMUM_ADJUSTMENT   10
#define TOFFSET_SET_MARGIN   20

Functions

struct ieee80211_mesh_sync_opsieee80211_mesh_sync_ops_get (u8 method)
static const u8mesh_get_vendor_oui (struct ieee80211_sub_if_data *sdata)
static bool mesh_peer_tbtt_adjusting (struct ieee802_11_elems *ie)
void mesh_sync_adjust_tbtt (struct ieee80211_sub_if_data *sdata)
static void mesh_sync_offset_adjust_tbtt (struct ieee80211_sub_if_data *sdata)
static void mesh_sync_offset_rx_bcn_presp (struct ieee80211_sub_if_data *sdata, u16 stype, struct ieee80211_mgmt *mgmt, struct ieee802_11_elems *elems, struct ieee80211_rx_status *rx_status)
static void mesh_sync_vendor_adjust_tbtt (struct ieee80211_sub_if_data *sdata)
static void mesh_sync_vendor_rx_bcn_presp (struct ieee80211_sub_if_data *sdata, u16 stype, struct ieee80211_mgmt *mgmt, struct ieee802_11_elems *elems, struct ieee80211_rx_status *rx_status)

Variables

static struct sync_method sync_methods []

Define Documentation

#define msync_dbg (   fmt,
  args... 
)    do { (void)(0); } while (0)

Definition at line 19 of file mesh_sync.c.

#define TOFFSET_MAXIMUM_ADJUSTMENT   30000 /* 30 ms */

Definition at line 38 of file mesh_sync.c.

#define TOFFSET_MINIMUM_ADJUSTMENT   10

Definition at line 25 of file mesh_sync.c.

#define TOFFSET_SET_MARGIN   20

Definition at line 31 of file mesh_sync.c.


Function Documentation

Definition at line 304 of file mesh_sync.c.

static const u8* mesh_get_vendor_oui ( struct ieee80211_sub_if_data sdata) [static]

Definition at line 245 of file mesh_sync.c.

static bool mesh_peer_tbtt_adjusting ( struct ieee802_11_elems ie) [static]

mesh_peer_tbtt_adjusting - check if an mp is currently adjusting its TBTT

: information elements of a management frame from the mesh peer

Definition at line 50 of file mesh_sync.c.

void mesh_sync_adjust_tbtt ( struct ieee80211_sub_if_data sdata)

Definition at line 56 of file mesh_sync.c.

static void mesh_sync_offset_adjust_tbtt ( struct ieee80211_sub_if_data sdata) [static]

Definition at line 212 of file mesh_sync.c.

static void mesh_sync_offset_rx_bcn_presp ( struct ieee80211_sub_if_data sdata,
u16  stype,
struct ieee80211_mgmt *  mgmt,
struct ieee802_11_elems elems,
struct ieee80211_rx_status rx_status 
) [static]

Definition at line 86 of file mesh_sync.c.

static void mesh_sync_vendor_adjust_tbtt ( struct ieee80211_sub_if_data sdata) [static]

Definition at line 276 of file mesh_sync.c.

static void mesh_sync_vendor_rx_bcn_presp ( struct ieee80211_sub_if_data sdata,
u16  stype,
struct ieee80211_mgmt *  mgmt,
struct ieee802_11_elems elems,
struct ieee80211_rx_status rx_status 
) [static]

Definition at line 262 of file mesh_sync.c.


Variable Documentation

struct sync_method sync_methods[] [static]
Initial value:
 {
        {
                .method = IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET,
                .ops = {
                        .rx_bcn_presp = &mesh_sync_offset_rx_bcn_presp,
                        .adjust_tbtt = &mesh_sync_offset_adjust_tbtt,
                }
        },
        {
                .method = IEEE80211_SYNC_METHOD_VENDOR,
                .ops = {
                        .rx_bcn_presp = &mesh_sync_vendor_rx_bcn_presp,
                        .adjust_tbtt = &mesh_sync_vendor_adjust_tbtt,
                }
        },
}

Definition at line 287 of file mesh_sync.c.



ros_rt_wmp
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Mon Oct 6 2014 08:27:13