#include <linux/gfp.h>
#include <linux/kernel.h>
#include <linux/random.h>
#include "ieee80211_i.h"
#include "rate.h"
#include "mesh.h"
Go to the source code of this file.
#define dot11MeshConfirmTimeout | ( | s | ) | (s->u.mesh.mshcfg.dot11MeshConfirmTimeout) |
Definition at line 30 of file kernel-3.5/mesh_plink.c.
#define dot11MeshHoldingTimeout | ( | s | ) | (s->u.mesh.mshcfg.dot11MeshHoldingTimeout) |
Definition at line 31 of file kernel-3.5/mesh_plink.c.
#define dot11MeshMaxPeerLinks | ( | s | ) | (s->u.mesh.mshcfg.dot11MeshMaxPeerLinks) |
Definition at line 32 of file kernel-3.5/mesh_plink.c.
#define dot11MeshMaxRetries | ( | s | ) | (s->u.mesh.mshcfg.dot11MeshMaxRetries) |
Definition at line 28 of file kernel-3.5/mesh_plink.c.
#define dot11MeshRetryTimeout | ( | s | ) | (s->u.mesh.mshcfg.dot11MeshRetryTimeout) |
Definition at line 29 of file kernel-3.5/mesh_plink.c.
#define mod_plink_timer | ( | s, | |
t | |||
) |
(mod_timer(&s->plink_timer, \ jiffies + HZ * t / 1000))
Definition at line 25 of file kernel-3.5/mesh_plink.c.
Definition at line 19 of file kernel-3.5/mesh_plink.c.
#define PLINK_GET_LLID | ( | p | ) | (p + 2) |
Definition at line 22 of file kernel-3.5/mesh_plink.c.
#define PLINK_GET_PLID | ( | p | ) | (p + 4) |
Definition at line 23 of file kernel-3.5/mesh_plink.c.
#define rssi_threshold_check | ( | sta, | |
sdata | |||
) |
enum plink_event |
PLINK_UNDEFINED | |
OPN_ACPT | |
OPN_RJCT | |
OPN_IGNR | |
CNF_ACPT | |
CNF_RJCT | |
CNF_IGNR | |
CLS_ACPT | |
CLS_IGNR | |
PLINK_UNDEFINED | |
OPN_ACPT | |
OPN_RJCT | |
OPN_IGNR | |
CNF_ACPT | |
CNF_RJCT | |
CNF_IGNR | |
CLS_ACPT | |
CLS_IGNR |
Definition at line 40 of file kernel-3.5/mesh_plink.c.
static bool __mesh_plink_deactivate | ( | struct sta_info * | sta | ) | [static] |
__mesh_plink_deactivate - deactivate mesh peer link
: mesh peer link to deactivate
All mesh paths with this peer as next hop will be flushed
Locking: the caller must hold sta->lock
Definition at line 179 of file kernel-3.5/mesh_plink.c.
void mesh_neighbour_update | ( | struct ieee80211_sub_if_data * | sdata, |
u8 * | hw_addr, | ||
struct ieee802_11_elems * | elems | ||
) |
Definition at line 394 of file kernel-3.5/mesh_plink.c.
static struct sta_info* mesh_peer_init | ( | struct ieee80211_sub_if_data * | sdata, |
u8 * | addr, | ||
struct ieee802_11_elems * | elems | ||
) | [static, read] |
Definition at line 334 of file kernel-3.5/mesh_plink.c.
static struct sta_info* mesh_plink_alloc | ( | struct ieee80211_sub_if_data * | sdata, |
u8 * | hw_addr | ||
) | [static, read] |
Definition at line 87 of file kernel-3.5/mesh_plink.c.
void mesh_plink_block | ( | struct sta_info * | sta | ) |
Definition at line 540 of file kernel-3.5/mesh_plink.c.
void mesh_plink_deactivate | ( | struct sta_info * | sta | ) |
mesh_plink_deactivate - deactivate mesh peer link
: mesh peer link to deactivate
All mesh paths with this peer as next hop will be flushed
Definition at line 201 of file kernel-3.5/mesh_plink.c.
static void mesh_plink_dec_estab_count | ( | struct ieee80211_sub_if_data * | sdata | ) | [inline, static] |
Definition at line 64 of file kernel-3.5/mesh_plink.c.
static int mesh_plink_frame_tx | ( | struct ieee80211_sub_if_data * | sdata, |
enum ieee80211_self_protected_actioncode | action, | ||
u8 * | da, | ||
__le16 | llid, | ||
__le16 | plid, | ||
__le16 | reason | ||
) | [static] |
Definition at line 218 of file kernel-3.5/mesh_plink.c.
static void mesh_plink_fsm_restart | ( | struct sta_info * | sta | ) | [inline, static] |
mesh_plink_fsm_restart - restart a mesh peer link finite state machine
: mesh peer link to restart
Locking: this function must be called holding sta->lock
Definition at line 77 of file kernel-3.5/mesh_plink.c.
static void mesh_plink_inc_estab_count | ( | struct ieee80211_sub_if_data * | sdata | ) | [inline, static] |
Definition at line 57 of file kernel-3.5/mesh_plink.c.
int mesh_plink_open | ( | struct sta_info * | sta | ) |
Definition at line 515 of file kernel-3.5/mesh_plink.c.
static void mesh_plink_timer | ( | unsigned long | data | ) | [static] |
Definition at line 416 of file kernel-3.5/mesh_plink.c.
static void mesh_plink_timer_set | ( | struct sta_info * | sta, |
int | timeout | ||
) | [inline, static] |
Definition at line 506 of file kernel-3.5/mesh_plink.c.
void mesh_rx_plink_frame | ( | struct ieee80211_sub_if_data * | sdata, |
struct ieee80211_mgmt * | mgmt, | ||
size_t | len, | ||
struct ieee80211_rx_status * | rx_status | ||
) |
Definition at line 555 of file kernel-3.5/mesh_plink.c.
static u32 mesh_set_ht_prot_mode | ( | struct ieee80211_sub_if_data * | sdata | ) | [static] |
Definition at line 118 of file kernel-3.5/mesh_plink.c.