Classes | Defines | Functions | Variables
cfg.c File Reference
#include <linux/ieee80211.h>
#include <linux/nl80211.h>
#include <linux/rtnetlink.h>
#include <linux/slab.h>
#include <net/net_namespace.h>
#include <linux/rcupdate.h>
#include <linux/if_ether.h>
#include <net/cfg80211.h>
#include "ieee80211_i.h"
#include "driver-ops.h"
#include "cfg.h"
#include "rate.h"
#include "mesh.h"
Include dependency graph for kernel-3.2/cfg.c:

Go to the source code of this file.

Classes

struct  iapp_layer2_update

Defines

#define ieee80211_resume   NULL
#define ieee80211_suspend   NULL

Functions

int __ieee80211_request_smps (struct ieee80211_sub_if_data *sdata, enum ieee80211_smps_mode smps_mode)
static int ieee80211_add_beacon (struct wiphy *wiphy, struct net_device *dev, struct beacon_parameters *params)
static struct net_device * ieee80211_add_iface (struct wiphy *wiphy, char *name, enum nl80211_iftype type, u32 *flags, struct vif_params *params)
static int ieee80211_add_key (struct wiphy *wiphy, struct net_device *dev, u8 key_idx, bool pairwise, const u8 *mac_addr, struct key_params *params)
static int ieee80211_add_station (struct wiphy *wiphy, struct net_device *dev, u8 *mac, struct station_parameters *params)
static int ieee80211_assoc (struct wiphy *wiphy, struct net_device *dev, struct cfg80211_assoc_request *req)
static int ieee80211_auth (struct wiphy *wiphy, struct net_device *dev, struct cfg80211_auth_request *req)
static int ieee80211_cancel_remain_on_channel (struct wiphy *wiphy, struct net_device *dev, u64 cookie)
static int ieee80211_cancel_remain_on_channel_hw (struct ieee80211_local *local, u64 cookie)
static int ieee80211_change_bss (struct wiphy *wiphy, struct net_device *dev, struct bss_parameters *params)
static int ieee80211_change_iface (struct wiphy *wiphy, struct net_device *dev, enum nl80211_iftype type, u32 *flags, struct vif_params *params)
static int ieee80211_change_station (struct wiphy *wiphy, struct net_device *dev, u8 *mac, struct station_parameters *params)
static void ieee80211_config_ap_ssid (struct ieee80211_sub_if_data *sdata, struct beacon_parameters *params)
static int ieee80211_config_beacon (struct ieee80211_sub_if_data *sdata, struct beacon_parameters *params)
static int ieee80211_config_default_key (struct wiphy *wiphy, struct net_device *dev, u8 key_idx, bool uni, bool multi)
static int ieee80211_config_default_mgmt_key (struct wiphy *wiphy, struct net_device *dev, u8 key_idx)
static int ieee80211_deauth (struct wiphy *wiphy, struct net_device *dev, struct cfg80211_deauth_request *req, void *cookie)
static int ieee80211_del_beacon (struct wiphy *wiphy, struct net_device *dev)
static int ieee80211_del_iface (struct wiphy *wiphy, struct net_device *dev)
static int ieee80211_del_key (struct wiphy *wiphy, struct net_device *dev, u8 key_idx, bool pairwise, const u8 *mac_addr)
static int ieee80211_del_station (struct wiphy *wiphy, struct net_device *dev, u8 *mac)
static int ieee80211_disassoc (struct wiphy *wiphy, struct net_device *dev, struct cfg80211_disassoc_request *req, void *cookie)
static int ieee80211_dump_station (struct wiphy *wiphy, struct net_device *dev, int idx, u8 *mac, struct station_info *sinfo)
static int ieee80211_dump_survey (struct wiphy *wiphy, struct net_device *dev, int idx, struct survey_info *survey)
static int ieee80211_get_antenna (struct wiphy *wiphy, u32 *tx_ant, u32 *rx_ant)
static int ieee80211_get_key (struct wiphy *wiphy, struct net_device *dev, u8 key_idx, bool pairwise, const u8 *mac_addr, void *cookie, void(*callback)(void *cookie, struct key_params *params))
static void ieee80211_get_ringparam (struct wiphy *wiphy, u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max)
static int ieee80211_get_station (struct wiphy *wiphy, struct net_device *dev, u8 *mac, struct station_info *sinfo)
static u16 ieee80211_get_tdls_sta_capab (struct ieee80211_sub_if_data *sdata)
static int ieee80211_get_tx_power (struct wiphy *wiphy, int *dbm)
static int ieee80211_join_ibss (struct wiphy *wiphy, struct net_device *dev, struct cfg80211_ibss_params *params)
static int ieee80211_leave_ibss (struct wiphy *wiphy, struct net_device *dev)
static void ieee80211_mgmt_frame_register (struct wiphy *wiphy, struct net_device *dev, u16 frame_type, bool reg)
static int ieee80211_mgmt_tx (struct wiphy *wiphy, struct net_device *dev, struct ieee80211_channel *chan, bool offchan, enum nl80211_channel_type channel_type, bool channel_type_valid, unsigned int wait, const u8 *buf, size_t len, bool no_cck, u64 *cookie)
static int ieee80211_mgmt_tx_cancel_wait (struct wiphy *wiphy, struct net_device *dev, u64 cookie)
static enum work_done_result ieee80211_offchan_tx_done (struct ieee80211_work *wk, struct sk_buff *skb)
static int ieee80211_prep_tdls_direct (struct wiphy *wiphy, struct net_device *dev, u8 *peer, u8 action_code, u8 dialog_token, u16 status_code, struct sk_buff *skb)
static int ieee80211_prep_tdls_encap_data (struct wiphy *wiphy, struct net_device *dev, u8 *peer, u8 action_code, u8 dialog_token, u16 status_code, struct sk_buff *skb)
static int ieee80211_remain_on_channel (struct wiphy *wiphy, struct net_device *dev, struct ieee80211_channel *chan, enum nl80211_channel_type channel_type, unsigned int duration, u64 *cookie)
static int ieee80211_remain_on_channel_hw (struct ieee80211_local *local, struct net_device *dev, struct ieee80211_channel *chan, enum nl80211_channel_type chantype, unsigned int duration, u64 *cookie)
static void ieee80211_rfkill_poll (struct wiphy *wiphy)
static int ieee80211_scan (struct wiphy *wiphy, struct net_device *dev, struct cfg80211_scan_request *req)
static int ieee80211_sched_scan_start (struct wiphy *wiphy, struct net_device *dev, struct cfg80211_sched_scan_request *req)
static int ieee80211_sched_scan_stop (struct wiphy *wiphy, struct net_device *dev)
static void ieee80211_send_layer2_update (struct sta_info *sta)
static int ieee80211_set_antenna (struct wiphy *wiphy, u32 tx_ant, u32 rx_ant)
static int ieee80211_set_beacon (struct wiphy *wiphy, struct net_device *dev, struct beacon_parameters *params)
static int ieee80211_set_bitrate_mask (struct wiphy *wiphy, struct net_device *dev, const u8 *addr, const struct cfg80211_bitrate_mask *mask)
static int ieee80211_set_channel (struct wiphy *wiphy, struct net_device *netdev, struct ieee80211_channel *chan, enum nl80211_channel_type channel_type)
static int ieee80211_set_cqm_rssi_config (struct wiphy *wiphy, struct net_device *dev, s32 rssi_thold, u32 rssi_hyst)
static int ieee80211_set_power_mgmt (struct wiphy *wiphy, struct net_device *dev, bool enabled, int timeout)
static int ieee80211_set_rekey_data (struct wiphy *wiphy, struct net_device *dev, struct cfg80211_gtk_rekey_data *data)
static int ieee80211_set_ringparam (struct wiphy *wiphy, u32 tx, u32 rx)
static int ieee80211_set_tx_power (struct wiphy *wiphy, enum nl80211_tx_power_setting type, int mbm)
static int ieee80211_set_txq_params (struct wiphy *wiphy, struct net_device *dev, struct ieee80211_txq_params *params)
static int ieee80211_set_wds_peer (struct wiphy *wiphy, struct net_device *dev, const u8 *addr)
static int ieee80211_set_wiphy_params (struct wiphy *wiphy, u32 changed)
static void ieee80211_tdls_add_ext_capab (struct sk_buff *skb)
static void ieee80211_tdls_add_link_ie (struct sk_buff *skb, u8 *src_addr, u8 *peer, u8 *bssid)
static int ieee80211_tdls_mgmt (struct wiphy *wiphy, struct net_device *dev, u8 *peer, u8 action_code, u8 dialog_token, u16 status_code, const u8 *extra_ies, size_t extra_ies_len)
static int ieee80211_tdls_oper (struct wiphy *wiphy, struct net_device *dev, u8 *peer, enum nl80211_tdls_operation oper)
static void rate_idx_to_bitrate (struct rate_info *rate, struct sta_info *sta, int idx)
static void sta_apply_parameters (struct ieee80211_local *local, struct sta_info *sta, struct station_parameters *params)
static void sta_set_sinfo (struct sta_info *sta, struct station_info *sinfo)

Variables

struct iapp_layer2_update __packed
struct cfg80211_ops mac80211_config_ops

Define Documentation

#define ieee80211_resume   NULL

Definition at line 1417 of file kernel-3.2/cfg.c.

#define ieee80211_suspend   NULL

Definition at line 1416 of file kernel-3.2/cfg.c.


Function Documentation

int __ieee80211_request_smps ( struct ieee80211_sub_if_data sdata,
enum ieee80211_smps_mode  smps_mode 
)

Definition at line 1665 of file kernel-3.2/cfg.c.

static int ieee80211_add_beacon ( struct wiphy *  wiphy,
struct net_device *  dev,
struct beacon_parameters *  params 
) [static]

Definition at line 592 of file kernel-3.2/cfg.c.

static struct net_device* ieee80211_add_iface ( struct wiphy *  wiphy,
char *  name,
enum nl80211_iftype  type,
u32 flags,
struct vif_params *  params 
) [static, read]

Definition at line 23 of file kernel-3.2/cfg.c.

static int ieee80211_add_key ( struct wiphy *  wiphy,
struct net_device *  dev,
u8  key_idx,
bool  pairwise,
const u8 mac_addr,
struct key_params *  params 
) [static]

Definition at line 105 of file kernel-3.2/cfg.c.

static int ieee80211_add_station ( struct wiphy *  wiphy,
struct net_device *  dev,
u8 mac,
struct station_parameters *  params 
) [static]

Definition at line 811 of file kernel-3.2/cfg.c.

static int ieee80211_assoc ( struct wiphy *  wiphy,
struct net_device *  dev,
struct cfg80211_assoc_request *  req 
) [static]

Definition at line 1481 of file kernel-3.2/cfg.c.

static int ieee80211_auth ( struct wiphy *  wiphy,
struct net_device *  dev,
struct cfg80211_auth_request *  req 
) [static]

Definition at line 1475 of file kernel-3.2/cfg.c.

static int ieee80211_cancel_remain_on_channel ( struct wiphy *  wiphy,
struct net_device *  dev,
u64  cookie 
) [static]

Definition at line 1873 of file kernel-3.2/cfg.c.

static int ieee80211_cancel_remain_on_channel_hw ( struct ieee80211_local local,
u64  cookie 
) [static]

Definition at line 1851 of file kernel-3.2/cfg.c.

static int ieee80211_change_bss ( struct wiphy *  wiphy,
struct net_device *  dev,
struct bss_parameters *  params 
) [static]

Definition at line 1251 of file kernel-3.2/cfg.c.

static int ieee80211_change_iface ( struct wiphy *  wiphy,
struct net_device *  dev,
enum nl80211_iftype  type,
u32 flags,
struct vif_params *  params 
) [static]

Definition at line 52 of file kernel-3.2/cfg.c.

static int ieee80211_change_station ( struct wiphy *  wiphy,
struct net_device *  dev,
u8 mac,
struct station_parameters *  params 
) [static]

Definition at line 884 of file kernel-3.2/cfg.c.

static void ieee80211_config_ap_ssid ( struct ieee80211_sub_if_data sdata,
struct beacon_parameters *  params 
) [static]

Definition at line 477 of file kernel-3.2/cfg.c.

static int ieee80211_config_beacon ( struct ieee80211_sub_if_data sdata,
struct beacon_parameters *  params 
) [static]

Definition at line 494 of file kernel-3.2/cfg.c.

static int ieee80211_config_default_key ( struct wiphy *  wiphy,
struct net_device *  dev,
u8  key_idx,
bool  uni,
bool  multi 
) [static]

Definition at line 295 of file kernel-3.2/cfg.c.

static int ieee80211_config_default_mgmt_key ( struct wiphy *  wiphy,
struct net_device *  dev,
u8  key_idx 
) [static]

Definition at line 307 of file kernel-3.2/cfg.c.

static int ieee80211_deauth ( struct wiphy *  wiphy,
struct net_device *  dev,
struct cfg80211_deauth_request *  req,
void *  cookie 
) [static]

Definition at line 1501 of file kernel-3.2/cfg.c.

static int ieee80211_del_beacon ( struct wiphy *  wiphy,
struct net_device *  dev 
) [static]

Definition at line 622 of file kernel-3.2/cfg.c.

static int ieee80211_del_iface ( struct wiphy *  wiphy,
struct net_device *  dev 
) [static]

Definition at line 45 of file kernel-3.2/cfg.c.

static int ieee80211_del_key ( struct wiphy *  wiphy,
struct net_device *  dev,
u8  key_idx,
bool  pairwise,
const u8 mac_addr 
) [static]

Definition at line 161 of file kernel-3.2/cfg.c.

static int ieee80211_del_station ( struct wiphy *  wiphy,
struct net_device *  dev,
u8 mac 
) [static]

Definition at line 869 of file kernel-3.2/cfg.c.

static int ieee80211_disassoc ( struct wiphy *  wiphy,
struct net_device *  dev,
struct cfg80211_disassoc_request *  req,
void *  cookie 
) [static]

Definition at line 1509 of file kernel-3.2/cfg.c.

static int ieee80211_dump_station ( struct wiphy *  wiphy,
struct net_device *  dev,
int  idx,
u8 mac,
struct station_info *  sinfo 
) [static]

Definition at line 428 of file kernel-3.2/cfg.c.

static int ieee80211_dump_survey ( struct wiphy *  wiphy,
struct net_device *  dev,
int  idx,
struct survey_info *  survey 
) [static]

Definition at line 449 of file kernel-3.2/cfg.c.

static int ieee80211_get_antenna ( struct wiphy *  wiphy,
u32 tx_ant,
u32 rx_ant 
) [static]

Definition at line 2137 of file kernel-3.2/cfg.c.

static int ieee80211_get_key ( struct wiphy *  wiphy,
struct net_device *  dev,
u8  key_idx,
bool  pairwise,
const u8 mac_addr,
void *  cookie,
void(*)(void *cookie, struct key_params *params)  callback 
) [static]

Definition at line 202 of file kernel-3.2/cfg.c.

static void ieee80211_get_ringparam ( struct wiphy *  wiphy,
u32 tx,
u32 tx_max,
u32 rx,
u32 rx_max 
) [static]

Definition at line 2151 of file kernel-3.2/cfg.c.

static int ieee80211_get_station ( struct wiphy *  wiphy,
struct net_device *  dev,
u8 mac,
struct station_info *  sinfo 
) [static]

Definition at line 457 of file kernel-3.2/cfg.c.

static u16 ieee80211_get_tdls_sta_capab ( struct ieee80211_sub_if_data sdata) [static]

Definition at line 2187 of file kernel-3.2/cfg.c.

static int ieee80211_get_tx_power ( struct wiphy *  wiphy,
int *  dbm 
) [static]

Definition at line 1614 of file kernel-3.2/cfg.c.

static int ieee80211_join_ibss ( struct wiphy *  wiphy,
struct net_device *  dev,
struct cfg80211_ibss_params *  params 
) [static]

Definition at line 1517 of file kernel-3.2/cfg.c.

static int ieee80211_leave_ibss ( struct wiphy *  wiphy,
struct net_device *  dev 
) [static]

Definition at line 1539 of file kernel-3.2/cfg.c.

static void ieee80211_mgmt_frame_register ( struct wiphy *  wiphy,
struct net_device *  dev,
u16  frame_type,
bool  reg 
) [static]

Definition at line 2110 of file kernel-3.2/cfg.c.

static int ieee80211_mgmt_tx ( struct wiphy *  wiphy,
struct net_device *  dev,
struct ieee80211_channel chan,
bool  offchan,
enum nl80211_channel_type  channel_type,
bool  channel_type_valid,
unsigned int  wait,
const u8 buf,
size_t  len,
bool  no_cck,
u64 cookie 
) [static]

Definition at line 1915 of file kernel-3.2/cfg.c.

static int ieee80211_mgmt_tx_cancel_wait ( struct wiphy *  wiphy,
struct net_device *  dev,
u64  cookie 
) [static]

Definition at line 2063 of file kernel-3.2/cfg.c.

static enum work_done_result ieee80211_offchan_tx_done ( struct ieee80211_work wk,
struct sk_buff skb 
) [static]

Definition at line 1894 of file kernel-3.2/cfg.c.

static int ieee80211_prep_tdls_direct ( struct wiphy *  wiphy,
struct net_device *  dev,
u8 peer,
u8  action_code,
u8  dialog_token,
u16  status_code,
struct sk_buff skb 
) [static]

Definition at line 2292 of file kernel-3.2/cfg.c.

static int ieee80211_prep_tdls_encap_data ( struct wiphy *  wiphy,
struct net_device *  dev,
u8 peer,
u8  action_code,
u8  dialog_token,
u16  status_code,
struct sk_buff skb 
) [static]

Definition at line 2220 of file kernel-3.2/cfg.c.

static int ieee80211_remain_on_channel ( struct wiphy *  wiphy,
struct net_device *  dev,
struct ieee80211_channel chan,
enum nl80211_channel_type  channel_type,
unsigned int  duration,
u64 cookie 
) [static]

Definition at line 1824 of file kernel-3.2/cfg.c.

static int ieee80211_remain_on_channel_hw ( struct ieee80211_local local,
struct net_device *  dev,
struct ieee80211_channel chan,
enum nl80211_channel_type  chantype,
unsigned int  duration,
u64 cookie 
) [static]

Definition at line 1793 of file kernel-3.2/cfg.c.

static void ieee80211_rfkill_poll ( struct wiphy *  wiphy) [static]

Definition at line 1633 of file kernel-3.2/cfg.c.

static int ieee80211_scan ( struct wiphy *  wiphy,
struct net_device *  dev,
struct cfg80211_scan_request *  req 
) [static]

Definition at line 1420 of file kernel-3.2/cfg.c.

static int ieee80211_sched_scan_start ( struct wiphy *  wiphy,
struct net_device *  dev,
struct cfg80211_sched_scan_request *  req 
) [static]

Definition at line 1452 of file kernel-3.2/cfg.c.

static int ieee80211_sched_scan_stop ( struct wiphy *  wiphy,
struct net_device *  dev 
) [static]

Definition at line 1465 of file kernel-3.2/cfg.c.

static void ieee80211_send_layer2_update ( struct sta_info sta) [static]

Definition at line 652 of file kernel-3.2/cfg.c.

static int ieee80211_set_antenna ( struct wiphy *  wiphy,
u32  tx_ant,
u32  rx_ant 
) [static]

Definition at line 2127 of file kernel-3.2/cfg.c.

static int ieee80211_set_beacon ( struct wiphy *  wiphy,
struct net_device *  dev,
struct beacon_parameters *  params 
) [static]

Definition at line 607 of file kernel-3.2/cfg.c.

static int ieee80211_set_bitrate_mask ( struct wiphy *  wiphy,
struct net_device *  dev,
const u8 addr,
const struct cfg80211_bitrate_mask *  mask 
) [static]

Definition at line 1772 of file kernel-3.2/cfg.c.

static int ieee80211_set_channel ( struct wiphy *  wiphy,
struct net_device *  netdev,
struct ieee80211_channel chan,
enum nl80211_channel_type  channel_type 
) [static]

Definition at line 1355 of file kernel-3.2/cfg.c.

static int ieee80211_set_cqm_rssi_config ( struct wiphy *  wiphy,
struct net_device *  dev,
s32  rssi_thold,
u32  rssi_hyst 
) [static]

Definition at line 1743 of file kernel-3.2/cfg.c.

static int ieee80211_set_power_mgmt ( struct wiphy *  wiphy,
struct net_device *  dev,
bool  enabled,
int  timeout 
) [static]

Definition at line 1711 of file kernel-3.2/cfg.c.

static int ieee80211_set_rekey_data ( struct wiphy *  wiphy,
struct net_device *  dev,
struct cfg80211_gtk_rekey_data *  data 
) [static]

Definition at line 2159 of file kernel-3.2/cfg.c.

static int ieee80211_set_ringparam ( struct wiphy *  wiphy,
u32  tx,
u32  rx 
) [static]

Definition at line 2144 of file kernel-3.2/cfg.c.

static int ieee80211_set_tx_power ( struct wiphy *  wiphy,
enum nl80211_tx_power_setting  type,
int  mbm 
) [static]

Definition at line 1583 of file kernel-3.2/cfg.c.

static int ieee80211_set_txq_params ( struct wiphy *  wiphy,
struct net_device *  dev,
struct ieee80211_txq_params *  params 
) [static]

Definition at line 1318 of file kernel-3.2/cfg.c.

static int ieee80211_set_wds_peer ( struct wiphy *  wiphy,
struct net_device *  dev,
const u8 addr 
) [static]

Definition at line 1623 of file kernel-3.2/cfg.c.

static int ieee80211_set_wiphy_params ( struct wiphy *  wiphy,
u32  changed 
) [static]

Definition at line 1546 of file kernel-3.2/cfg.c.

static void ieee80211_tdls_add_ext_capab ( struct sk_buff skb) [static]

Definition at line 2174 of file kernel-3.2/cfg.c.

static void ieee80211_tdls_add_link_ie ( struct sk_buff skb,
u8 src_addr,
u8 peer,
u8 bssid 
) [static]

Definition at line 2204 of file kernel-3.2/cfg.c.

static int ieee80211_tdls_mgmt ( struct wiphy *  wiphy,
struct net_device *  dev,
u8 peer,
u8  action_code,
u8  dialog_token,
u16  status_code,
const u8 extra_ies,
size_t  extra_ies_len 
) [static]

Definition at line 2330 of file kernel-3.2/cfg.c.

static int ieee80211_tdls_oper ( struct wiphy *  wiphy,
struct net_device *  dev,
u8 peer,
enum nl80211_tdls_operation  oper 
) [static]

Definition at line 2449 of file kernel-3.2/cfg.c.

static void rate_idx_to_bitrate ( struct rate_info *  rate,
struct sta_info sta,
int  idx 
) [static]

Definition at line 318 of file kernel-3.2/cfg.c.

static void sta_apply_parameters ( struct ieee80211_local local,
struct sta_info sta,
struct station_parameters *  params 
) [static]

Definition at line 685 of file kernel-3.2/cfg.c.

static void sta_set_sinfo ( struct sta_info sta,
struct station_info *  sinfo 
) [static]

Definition at line 329 of file kernel-3.2/cfg.c.


Variable Documentation

struct cfg80211_ops mac80211_config_ops

Definition at line 2491 of file kernel-3.2/cfg.c.



ros_rt_wmp
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Fri Jan 3 2014 12:07:56