Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
unifi_native.h File Reference
#include <linux/kernel.h>
#include <linux/if_arp.h>

Go to the source code of this file.

Data Structures

struct  scan_info
 

Macros

#define IE_VECTOR_MAXLEN   1024
 
#define UF_SME_STATS_WQ_TIMEOUT   2000 /* in msecs */
 

Typedefs

typedef struct scan_info scan_info_t
 

Functions

void unifi_clear_scan_table (unifi_priv_t *priv)
 
scan_info_tunifi_get_scan_report (unifi_priv_t *priv, int index)
 
const unsigned charunifi_find_info_element (int id, const unsigned char *info, int len)
 
int unifi_add_info_element (unsigned char *info, int ie_id, const unsigned char *ie_data, int ie_len)
 
int unifi_autojoin (unifi_priv_t *priv, const char *ssid)
 
int unifi_set_powermode (unifi_priv_t *priv)
 
int unifi_join_ap (unifi_priv_t *priv, scan_info_t *si)
 
int unifi_join_bss (unifi_priv_t *priv, unsigned char *macaddr)
 
int unifi_leave (unifi_priv_t *priv)
 
unsigned int unifi_get_wmm_bss_capabilities (unifi_priv_t *priv, unsigned char *ie_vector, int ie_len, int *ap_capabilities)
 
int uf_init_wext_interface (unifi_priv_t *priv)
 
void uf_deinit_wext_interface (unifi_priv_t *priv)
 
int unifi_reset_state (unifi_priv_t *priv, unsigned char *macaddr, unsigned char set_default_mib)
 
int uf_abort_mlme (unifi_priv_t *priv)
 
int unifi_mlme_blocking_request (unifi_priv_t *priv, ul_client_t *pcli, CSR_SIGNAL *sig, bulk_data_param_t *data_ptrs, int timeout)
 
void unifi_mlme_copy_reply_and_wakeup_client (ul_client_t *pcli, CSR_SIGNAL *signal, int signal_len, const bulk_data_param_t *bulkdata)
 
const charlookup_reason_code (int reason)
 
const charlookup_result_code (int result)
 
int uf_sme_init (unifi_priv_t *priv)
 
void uf_sme_deinit (unifi_priv_t *priv)
 
int sme_sys_suspend (unifi_priv_t *priv)
 
int sme_sys_resume (unifi_priv_t *priv)
 
int sme_mgt_wifi_on (unifi_priv_t *priv)
 
void sme_native_log_event (ul_client_t *client, const u8 *sig_packed, int sig_len, const bulk_data_param_t *bulkdata, int dir)
 
void sme_native_mlme_event_handler (ul_client_t *pcli, const u8 *sig_packed, int sig_len, const bulk_data_param_t *bulkdata, int dir)
 
void uf_sme_stats_wq (struct work_struct *work)
 
void uf_native_process_udi_signal (ul_client_t *pcli, const u8 *packed_signal, int packed_signal_len, const bulk_data_param_t *bulkdata, int dir)
 

Macro Definition Documentation

#define IE_VECTOR_MAXLEN   1024

Definition at line 38 of file unifi_native.h.

#define UF_SME_STATS_WQ_TIMEOUT   2000 /* in msecs */

Definition at line 238 of file unifi_native.h.

Typedef Documentation

Function Documentation

const char* lookup_reason_code ( int  reason)

Definition at line 422 of file mlme.c.

const char* lookup_result_code ( int  result)

Definition at line 392 of file mlme.c.

int sme_mgt_wifi_on ( unifi_priv_t priv)

Definition at line 67 of file sme_native.c.

void sme_native_log_event ( ul_client_t client,
const u8 sig_packed,
int  sig_len,
const bulk_data_param_t bulkdata,
int  dir 
)

Definition at line 210 of file sme_native.c.

void sme_native_mlme_event_handler ( ul_client_t pcli,
const u8 sig_packed,
int  sig_len,
const bulk_data_param_t bulkdata,
int  dir 
)

Definition at line 454 of file sme_native.c.

int sme_sys_resume ( unifi_priv_t priv)

Definition at line 1418 of file sme_blocking.c.

int sme_sys_suspend ( unifi_priv_t priv)

Definition at line 1331 of file sme_blocking.c.

int uf_abort_mlme ( unifi_priv_t priv)

Definition at line 268 of file mlme.c.

void uf_deinit_wext_interface ( unifi_priv_t priv)
int uf_init_wext_interface ( unifi_priv_t priv)
void uf_native_process_udi_signal ( ul_client_t pcli,
const u8 packed_signal,
int  packed_signal_len,
const bulk_data_param_t bulkdata,
int  dir 
)

Definition at line 422 of file sme_native.c.

void uf_sme_deinit ( unifi_priv_t priv)

Definition at line 47 of file sme_native.c.

int uf_sme_init ( unifi_priv_t priv)

Definition at line 23 of file sme_native.c.

void uf_sme_stats_wq ( struct work_struct work)
int unifi_add_info_element ( unsigned char info,
int  ie_id,
const unsigned char ie_data,
int  ie_len 
)
int unifi_autojoin ( unifi_priv_t priv,
const char ssid 
)
void unifi_clear_scan_table ( unifi_priv_t priv)
const unsigned char* unifi_find_info_element ( int  id,
const unsigned char info,
int  len 
)
scan_info_t* unifi_get_scan_report ( unifi_priv_t priv,
int  index 
)
unsigned int unifi_get_wmm_bss_capabilities ( unifi_priv_t priv,
unsigned char ie_vector,
int  ie_len,
int ap_capabilities 
)
int unifi_join_ap ( unifi_priv_t priv,
scan_info_t si 
)
int unifi_join_bss ( unifi_priv_t priv,
unsigned char macaddr 
)
int unifi_leave ( unifi_priv_t priv)
int unifi_mlme_blocking_request ( unifi_priv_t priv,
ul_client_t pcli,
CSR_SIGNAL sig,
bulk_data_param_t data_ptrs,
int  timeout 
)

Definition at line 151 of file mlme.c.

void unifi_mlme_copy_reply_and_wakeup_client ( ul_client_t pcli,
CSR_SIGNAL signal,
int  signal_len,
const bulk_data_param_t bulkdata 
)

Definition at line 222 of file mlme.c.

int unifi_reset_state ( unifi_priv_t priv,
unsigned char macaddr,
unsigned char  set_default_mib 
)

Definition at line 572 of file sme_native.c.

int unifi_set_powermode ( unifi_priv_t priv)