|
Linux Kernel
3.7.1
|
#include <linux/ieee80211.h>#include <linux/export.h>#include <net/cfg80211.h>#include "nl80211.h"#include "core.h"Go to the source code of this file.
Macros | |
| #define | MESH_TTL 31 |
| #define | MESH_DEFAULT_ELEMENT_TTL 31 |
| #define | MESH_MAX_RETR 3 |
| #define | MESH_RET_T 100 |
| #define | MESH_CONF_T 100 |
| #define | MESH_HOLD_T 100 |
| #define | MESH_PATH_TIMEOUT 5000 |
| #define | MESH_RANN_INTERVAL 5000 |
| #define | MESH_PATH_TO_ROOT_TIMEOUT 6000 |
| #define | MESH_ROOT_INTERVAL 5000 |
| #define | MESH_ROOT_CONFIRMATION_INTERVAL 2000 |
| #define | MESH_PREQ_MIN_INT 10 |
| #define | MESH_PERR_MIN_INT 100 |
| #define | MESH_DIAM_TRAVERSAL_TIME 50 |
| #define | MESH_RSSI_THRESHOLD 0 |
| #define | MESH_PATH_REFRESH_TIME 1000 |
| #define | MESH_MIN_DISCOVERY_TIMEOUT (2 * MESH_DIAM_TRAVERSAL_TIME) |
| #define | MESH_MAX_ESTAB_PLINKS 32 |
| #define | MESH_MAX_PREQ_RETRIES 4 |
| #define | MESH_SYNC_NEIGHBOR_OFFSET_MAX 50 |
Variables | |
| struct mesh_config | default_mesh_config |
| struct mesh_setup | default_mesh_setup |
| #define MESH_MIN_DISCOVERY_TIMEOUT (2 * MESH_DIAM_TRAVERSAL_TIME) |
| int __cfg80211_join_mesh | ( | struct cfg80211_registered_device * | rdev, |
| struct net_device * | dev, | ||
| struct mesh_setup * | setup, | ||
| const struct mesh_config * | conf | ||
| ) |
| int cfg80211_join_mesh | ( | struct cfg80211_registered_device * | rdev, |
| struct net_device * | dev, | ||
| struct mesh_setup * | setup, | ||
| const struct mesh_config * | conf | ||
| ) |
| int cfg80211_leave_mesh | ( | struct cfg80211_registered_device * | rdev, |
| struct net_device * | dev | ||
| ) |
| void cfg80211_notify_new_peer_candidate | ( | struct net_device * | dev, |
| const u8 * | macaddr, | ||
| const u8 * | ie, | ||
| u8 | ie_len, | ||
| gfp_t | gfp | ||
| ) |
cfg80211_notify_new_candidate - notify cfg80211 of a new mesh peer candidate
: network device : the MAC address of the new candidate : information elements advertised by the peer candidate : lenght of the information elements buffer : allocation flags
This function notifies cfg80211 that the mesh peer candidate has been detected, most likely via a beacon or, less likely, via a probe response. cfg80211 then sends a notification to userspace.
| int cfg80211_set_mesh_freq | ( | struct cfg80211_registered_device * | rdev, |
| struct wireless_dev * | wdev, | ||
| int | freq, | ||
| enum nl80211_channel_type | channel_type | ||
| ) |
| EXPORT_SYMBOL | ( | cfg80211_notify_new_peer_candidate | ) |
| struct mesh_config default_mesh_config |
| struct mesh_setup default_mesh_setup |
1.8.2