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/gfp.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/ieee80211.h>
#include <net/cfg80211.h>
#include "hermes.h"
#include "orinoco.h"
#include "main.h"
#include "scan.h"

Go to the source code of this file.

Macros

#define ZERO_DBM_OFFSET   0x95
 
#define MAX_SIGNAL_LEVEL   0x8A
 
#define MIN_SIGNAL_LEVEL   0x2F
 
#define SIGNAL_TO_DBM(x)
 
#define SIGNAL_TO_MBM(x)   (SIGNAL_TO_DBM(x) * 100)
 

Functions

void orinoco_add_extscan_result (struct orinoco_private *priv, struct agere_ext_scan_info *bss, size_t len)
 
void orinoco_add_hostscan_results (struct orinoco_private *priv, unsigned char *buf, size_t len)
 
void orinoco_scan_done (struct orinoco_private *priv, bool abort)
 

Macro Definition Documentation

#define MAX_SIGNAL_LEVEL   0x8A

Definition at line 19 of file scan.c.

#define MIN_SIGNAL_LEVEL   0x2F

Definition at line 20 of file scan.c.

#define SIGNAL_TO_DBM (   x)
Value:

Definition at line 22 of file scan.c.

#define SIGNAL_TO_MBM (   x)    (SIGNAL_TO_DBM(x) * 100)

Definition at line 25 of file scan.c.

#define ZERO_DBM_OFFSET   0x95

Definition at line 18 of file scan.c.

Function Documentation

void orinoco_add_extscan_result ( struct orinoco_private priv,
struct agere_ext_scan_info bss,
size_t  len 
)

Definition at line 131 of file scan.c.

void orinoco_add_hostscan_results ( struct orinoco_private priv,
unsigned char buf,
size_t  len 
)

Definition at line 164 of file scan.c.

void orinoco_scan_done ( struct orinoco_private priv,
bool  abort 
)

Definition at line 242 of file scan.c.