Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
scan.c File Reference
#include "decl.h"
#include "ioctl.h"
#include "util.h"
#include "fw.h"
#include "main.h"
#include "11n.h"
#include "cfg80211.h"

Go to the source code of this file.

Data Structures

union  mwifiex_scan_cmd_config_tlv
 

Macros

#define MWIFIEX_MAX_CHANNELS_PER_SPECIFIC_SCAN   14
 
#define MWIFIEX_DEF_CHANNELS_PER_SCAN_CMD   4
 
#define MWIFIEX_LIMIT_1_CHANNEL_PER_SCAN_CMD   15
 
#define MWIFIEX_LIMIT_2_CHANNELS_PER_SCAN_CMD   27
 
#define MWIFIEX_LIMIT_3_CHANNELS_PER_SCAN_CMD   35
 
#define CHAN_TLV_MAX_SIZE
 
#define RATE_TLV_MAX_SIZE
 
#define WILDCARD_SSID_TLV_MAX_SIZE
 
#define MAX_SCAN_CFG_ALLOC
 

Enumerations

enum  cipher_suite { CIPHER_SUITE_TKIP, CIPHER_SUITE_CCMP, CIPHER_SUITE_MAX }
 

Functions

s32 mwifiex_ssid_cmp (struct cfg80211_ssid *ssid1, struct cfg80211_ssid *ssid2)
 
int mwifiex_update_bss_desc_with_ie (struct mwifiex_adapter *adapter, struct mwifiex_bssdescriptor *bss_entry)
 
int mwifiex_scan_networks (struct mwifiex_private *priv, const struct mwifiex_user_scan_cfg *user_scan_in)
 
int mwifiex_cmd_802_11_scan (struct host_cmd_ds_command *cmd, struct mwifiex_scan_cmd_config *scan_cfg)
 
int mwifiex_check_network_compatibility (struct mwifiex_private *priv, struct mwifiex_bssdescriptor *bss_desc)
 
int mwifiex_ret_802_11_scan (struct mwifiex_private *priv, struct host_cmd_ds_command *resp)
 
int mwifiex_cmd_802_11_bg_scan_query (struct host_cmd_ds_command *cmd)
 
void mwifiex_queue_scan_cmd (struct mwifiex_private *priv, struct cmd_ctrl_node *cmd_node)
 
int mwifiex_request_scan (struct mwifiex_private *priv, struct cfg80211_ssid *req_ssid)
 
int mwifiex_cmd_append_vsie_tlv (struct mwifiex_private *priv, u16 vsie_mask, u8 **buffer)
 
void mwifiex_save_curr_bcn (struct mwifiex_private *priv)
 
void mwifiex_free_curr_bcn (struct mwifiex_private *priv)
 

Macro Definition Documentation

#define CHAN_TLV_MAX_SIZE
Value:

Definition at line 37 of file scan.c.

#define MAX_SCAN_CFG_ALLOC
#define MWIFIEX_DEF_CHANNELS_PER_SCAN_CMD   4

Definition at line 31 of file scan.c.

#define MWIFIEX_LIMIT_1_CHANNEL_PER_SCAN_CMD   15

Definition at line 32 of file scan.c.

#define MWIFIEX_LIMIT_2_CHANNELS_PER_SCAN_CMD   27

Definition at line 33 of file scan.c.

#define MWIFIEX_LIMIT_3_CHANNELS_PER_SCAN_CMD   35

Definition at line 34 of file scan.c.

#define MWIFIEX_MAX_CHANNELS_PER_SPECIFIC_SCAN   14

Definition at line 29 of file scan.c.

#define RATE_TLV_MAX_SIZE
Value:

Definition at line 42 of file scan.c.

#define WILDCARD_SSID_TLV_MAX_SIZE
Value:

Definition at line 47 of file scan.c.

Enumeration Type Documentation

Enumerator:
CIPHER_SUITE_TKIP 
CIPHER_SUITE_CCMP 
CIPHER_SUITE_MAX 

Definition at line 68 of file scan.c.

Function Documentation

int mwifiex_check_network_compatibility ( struct mwifiex_private priv,
struct mwifiex_bssdescriptor bss_desc 
)

Definition at line 1421 of file scan.c.

int mwifiex_cmd_802_11_bg_scan_query ( struct host_cmd_ds_command cmd)

Definition at line 1807 of file scan.c.

int mwifiex_cmd_802_11_scan ( struct host_cmd_ds_command cmd,
struct mwifiex_scan_cmd_config scan_cfg 
)

Definition at line 1396 of file scan.c.

int mwifiex_cmd_append_vsie_tlv ( struct mwifiex_private priv,
u16  vsie_mask,
u8 **  buffer 
)

Definition at line 1920 of file scan.c.

void mwifiex_free_curr_bcn ( struct mwifiex_private priv)

Definition at line 2031 of file scan.c.

void mwifiex_queue_scan_cmd ( struct mwifiex_private priv,
struct cmd_ctrl_node cmd_node 
)

Definition at line 1825 of file scan.c.

int mwifiex_request_scan ( struct mwifiex_private priv,
struct cfg80211_ssid req_ssid 
)

Definition at line 1884 of file scan.c.

int mwifiex_ret_802_11_scan ( struct mwifiex_private priv,
struct host_cmd_ds_command resp 
)

Definition at line 1525 of file scan.c.

void mwifiex_save_curr_bcn ( struct mwifiex_private priv)

Definition at line 1966 of file scan.c.

int mwifiex_scan_networks ( struct mwifiex_private priv,
const struct mwifiex_user_scan_cfg user_scan_in 
)

Definition at line 1296 of file scan.c.

s32 mwifiex_ssid_cmp ( struct cfg80211_ssid ssid1,
struct cfg80211_ssid ssid2 
)

Definition at line 170 of file scan.c.

int mwifiex_update_bss_desc_with_ie ( struct mwifiex_adapter adapter,
struct mwifiex_bssdescriptor bss_entry 
)

Definition at line 1068 of file scan.c.