Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
wl_util.c File Reference
#include <wl_version.h>
#include <linux/kernel.h>
#include <linux/ctype.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <debug.h>
#include <hcf.h>
#include <wl_if.h>
#include <wl_internal.h>
#include <wl_util.h>
#include <wl_wext.h>
#include <wl_main.h>

Go to the source code of this file.


#define ls   ((LINK_STATUS_STRCT *)pLtv)


int dbm (int value)
int percent (int value, int min, int max)
int is_valid_key_string (char *s)
void key_string2key (char *ks, KEY_STRCT *key)
int wl_has_wep (IFBP ifbp)
void wl_hcf_error (struct net_device *dev, int hcfStatus)
void wl_endian_translate_event (ltv_t *pLtv)
void msf_assert (unsigned int line_number, hcf_16 trace, hcf_32 qual)
hcf_8 wl_parse_ds_ie (PROBE_RESP *probe_rsp)
hcf_8wl_parse_wpa_ie (PROBE_RESP *probe_rsp, hcf_16 *length)
hcf_8wl_print_wpa_ie (hcf_8 *buffer, int length)
int wl_is_a_valid_chan (int channel)
int wl_is_a_valid_freq (long frequency)
long wl_get_freq_from_chan (int channel)
int wl_get_chan_from_freq (long frequency)
void wl_process_link_status (struct wl_private *lp)
void wl_process_probe_response (struct wl_private *lp)
void wl_process_updated_record (struct wl_private *lp)
void wl_process_assoc_status (struct wl_private *lp)
void wl_process_security_status (struct wl_private *lp)
int wl_get_tallies (struct wl_private *lp, CFG_HERMES_TALLIES_STRCT *tallies)

Macro Definition Documentation

#define ls   ((LINK_STATUS_STRCT *)pLtv)

Function Documentation

int dbm ( int  value)

Definition at line 155 of file wl_util.c.

int is_valid_key_string ( char s)

Definition at line 225 of file wl_util.c.

void key_string2key ( char ks,

Definition at line 279 of file wl_util.c.

void msf_assert ( unsigned int  line_number,
hcf_16  trace,
hcf_32  qual 

Definition at line 613 of file wl_util.c.

int percent ( int  value,
int  min,
int  max 

Definition at line 191 of file wl_util.c.

void wl_endian_translate_event ( ltv_t pLtv)

Definition at line 482 of file wl_util.c.

int wl_get_chan_from_freq ( long  frequency)

Definition at line 960 of file wl_util.c.

long wl_get_freq_from_chan ( int  channel)

Definition at line 917 of file wl_util.c.

int wl_get_tallies ( struct wl_private lp,

Definition at line 1434 of file wl_util.c.

int wl_has_wep ( IFBP  ifbp)

Definition at line 333 of file wl_util.c.

void wl_hcf_error ( struct net_device dev,
int  hcfStatus 

Definition at line 375 of file wl_util.c.

int wl_is_a_valid_chan ( int  channel)

Definition at line 836 of file wl_util.c.

int wl_is_a_valid_freq ( long  frequency)

Definition at line 879 of file wl_util.c.

hcf_8 wl_parse_ds_ie ( PROBE_RESP probe_rsp)

Definition at line 642 of file wl_util.c.

hcf_8* wl_parse_wpa_ie ( PROBE_RESP probe_rsp,
hcf_16 length 

Definition at line 701 of file wl_util.c.

hcf_8* wl_print_wpa_ie ( hcf_8 buffer,
int  length 

Definition at line 774 of file wl_util.c.

void wl_process_assoc_status ( struct wl_private lp)

Definition at line 1315 of file wl_util.c.

void wl_process_link_status ( struct wl_private lp)

Definition at line 997 of file wl_util.c.

void wl_process_probe_response ( struct wl_private lp)

Definition at line 1056 of file wl_util.c.

void wl_process_security_status ( struct wl_private lp)

Definition at line 1382 of file wl_util.c.

void wl_process_updated_record ( struct wl_private lp)

Definition at line 1264 of file wl_util.c.