Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
scan.c File Reference
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/etherdevice.h>
#include <net/mac80211.h>
#include "dev.h"
#include "agn.h"

Go to the source code of this file.

Macros

#define IWL_ACTIVE_DWELL_TIME_24   (30) /* all times in msec */
 
#define IWL_ACTIVE_DWELL_TIME_52   (20)
 
#define IWL_ACTIVE_DWELL_FACTOR_24GHZ   (3)
 
#define IWL_ACTIVE_DWELL_FACTOR_52GHZ   (2)
 
#define IWL_PASSIVE_DWELL_TIME_24   (20) /* all times in msec */
 
#define IWL_PASSIVE_DWELL_TIME_52   (10)
 
#define IWL_PASSIVE_DWELL_BASE   (100)
 
#define IWL_CHANNEL_TUNE_TIME   5
 
#define MAX_SCAN_CHANNEL   50
 
#define IWL_RADIO_RESET_DWELL_TIME   5
 

Functions

void iwl_force_scan_end (struct iwl_priv *priv)
 
int iwl_scan_cancel (struct iwl_priv *priv)
 
void iwl_scan_cancel_timeout (struct iwl_priv *priv, unsigned long ms)
 
void iwl_setup_rx_scan_handlers (struct iwl_priv *priv)
 
void iwl_init_scan_params (struct iwl_priv *priv)
 
int __must_check iwl_scan_initiate (struct iwl_priv *priv, struct ieee80211_vif *vif, enum iwl_scan_type scan_type, enum ieee80211_band band)
 
void iwl_internal_short_hw_scan (struct iwl_priv *priv)
 
void iwl_setup_scan_deferred_work (struct iwl_priv *priv)
 
void iwl_cancel_scan_deferred_work (struct iwl_priv *priv)
 
void iwl_scan_roc_expired (struct iwl_priv *priv)
 
void iwl_scan_offchannel_skb (struct iwl_priv *priv)
 
void iwl_scan_offchannel_skb_status (struct iwl_priv *priv)
 

Macro Definition Documentation

#define IWL_ACTIVE_DWELL_FACTOR_24GHZ   (3)

Definition at line 42 of file scan.c.

#define IWL_ACTIVE_DWELL_FACTOR_52GHZ   (2)

Definition at line 43 of file scan.c.

#define IWL_ACTIVE_DWELL_TIME_24   (30) /* all times in msec */

Definition at line 39 of file scan.c.

#define IWL_ACTIVE_DWELL_TIME_52   (20)

Definition at line 40 of file scan.c.

#define IWL_CHANNEL_TUNE_TIME   5

Definition at line 51 of file scan.c.

#define IWL_PASSIVE_DWELL_BASE   (100)

Definition at line 50 of file scan.c.

#define IWL_PASSIVE_DWELL_TIME_24   (20) /* all times in msec */

Definition at line 48 of file scan.c.

#define IWL_PASSIVE_DWELL_TIME_52   (10)

Definition at line 49 of file scan.c.

#define IWL_RADIO_RESET_DWELL_TIME   5

Definition at line 55 of file scan.c.

#define MAX_SCAN_CHANNEL   50

Definition at line 52 of file scan.c.

Function Documentation

void iwl_cancel_scan_deferred_work ( struct iwl_priv priv)

Definition at line 1139 of file scan.c.

void iwl_force_scan_end ( struct iwl_priv priv)

Definition at line 167 of file scan.c.

void iwl_init_scan_params ( struct iwl_priv priv)

Definition at line 999 of file scan.c.

void iwl_internal_short_hw_scan ( struct iwl_priv priv)

Definition at line 1063 of file scan.c.

int iwl_scan_cancel ( struct iwl_priv priv)

iwl_scan_cancel - Cancel any currently executing HW scan

Definition at line 211 of file scan.c.

void iwl_scan_cancel_timeout ( struct iwl_priv priv,
unsigned long  ms 
)

iwl_scan_cancel_timeout - Cancel any currently executing HW scan : amount of time to wait (in milliseconds) for scan to abort

Definition at line 223 of file scan.c.

int __must_check iwl_scan_initiate ( struct iwl_priv priv,
struct ieee80211_vif vif,
enum iwl_scan_type  scan_type,
enum ieee80211_band  band 
)

Definition at line 1008 of file scan.c.

void iwl_scan_offchannel_skb ( struct iwl_priv priv)

Definition at line 1174 of file scan.c.

void iwl_scan_offchannel_skb_status ( struct iwl_priv priv)

Definition at line 1180 of file scan.c.

void iwl_scan_roc_expired ( struct iwl_priv priv)

Definition at line 1152 of file scan.c.

void iwl_setup_rx_scan_handlers ( struct iwl_priv priv)

Definition at line 374 of file scan.c.

void iwl_setup_scan_deferred_work ( struct iwl_priv priv)

Definition at line 1131 of file scan.c.