Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
ps3_gelic_wireless.h File Reference
#include <linux/wireless.h>
#include <net/iw_handler.h>

Go to the source code of this file.

Data Structures

struct  gelic_eurus_common_cfg
 
struct  gelic_eurus_wep_cfg
 
struct  gelic_eurus_wpa_cfg
 
struct  gelic_eurus_scan_info
 
struct  gelic_wl_scan_info
 
struct  gelic_eurus_rssi_info
 
struct  gelic_wl_info
 
struct  gelic_eurus_cmd
 

Macros

#define GELIC_WL_EURUS_PSK_MAX_LEN   64
 
#define WPA_PSK_LEN   32 /* WPA spec says 256bit */
 
#define GELIC_EURUS_MAX_SCAN   (16)
 
#define GELIC_WEP_KEYS   4
 
#define GELIC_WL_BSS_MAX_ENT   32
 
#define GELIC_WL_ASSOC_RETRY   50
 
#define GELIC_WL_PRIV_SET_PSK   (SIOCIWFIRSTPRIV + 0)
 
#define GELIC_WL_PRIV_GET_PSK   (SIOCIWFIRSTPRIV + 1)
 

Enumerations

enum  gelic_lv1_wl_event {
  GELIC_LV1_WL_EVENT_DEVICE_READY = 0x01, GELIC_LV1_WL_EVENT_SCAN_COMPLETED = 0x02, GELIC_LV1_WL_EVENT_DEAUTH = 0x04, GELIC_LV1_WL_EVENT_BEACON_LOST = 0x08,
  GELIC_LV1_WL_EVENT_CONNECTED = 0x10, GELIC_LV1_WL_EVENT_WPA_CONNECTED = 0x20, GELIC_LV1_WL_EVENT_WPA_ERROR = 0x40
}
 
enum  gelic_eurus_command {
  GELIC_EURUS_CMD_ASSOC = 1, GELIC_EURUS_CMD_DISASSOC = 2, GELIC_EURUS_CMD_START_SCAN = 3, GELIC_EURUS_CMD_GET_SCAN = 4,
  GELIC_EURUS_CMD_SET_COMMON_CFG = 5, GELIC_EURUS_CMD_GET_COMMON_CFG = 6, GELIC_EURUS_CMD_SET_WEP_CFG = 7, GELIC_EURUS_CMD_GET_WEP_CFG = 8,
  GELIC_EURUS_CMD_SET_WPA_CFG = 9, GELIC_EURUS_CMD_GET_WPA_CFG = 10, GELIC_EURUS_CMD_GET_RSSI_CFG = 11, GELIC_EURUS_CMD_MAX_INDEX
}
 
enum  gelic_eurus_bss_type { GELIC_EURUS_BSS_INFRA = 0, GELIC_EURUS_BSS_ADHOC = 1 }
 
enum  gelic_eurus_auth_method { GELIC_EURUS_AUTH_OPEN = 0, GELIC_EURUS_AUTH_SHARED = 1 }
 
enum  gelic_eurus_opmode { GELIC_EURUS_OPMODE_11BG = 0, GELIC_EURUS_OPMODE_11B = 1, GELIC_EURUS_OPMODE_11G = 2 }
 
enum  gelic_eurus_wep_security { GELIC_EURUS_WEP_SEC_NONE = 0, GELIC_EURUS_WEP_SEC_40BIT = 1, GELIC_EURUS_WEP_SEC_104BIT = 2 }
 
enum  gelic_eurus_wpa_security {
  GELIC_EURUS_WPA_SEC_NONE = 0x0000, GELIC_EURUS_WPA_SEC_WPA_TKIP_TKIP = 0x0001, GELIC_EURUS_WPA_SEC_WPA_AES_AES = 0x0002, GELIC_EURUS_WPA_SEC_WPA2_TKIP_TKIP = 0x0004,
  GELIC_EURUS_WPA_SEC_WPA2_AES_AES = 0x0008, GELIC_EURUS_WPA_SEC_WPA_TKIP_AES = 0x0010, GELIC_EURUS_WPA_SEC_WPA2_TKIP_AES = 0x0020
}
 
enum  gelic_eurus_wpa_psk_type { GELIC_EURUS_WPA_PSK_PASSPHRASE = 0, GELIC_EURUS_WPA_PSK_BIN = 1 }
 
enum  gelic_eurus_scan_capability { GELIC_EURUS_SCAN_CAP_ADHOC = 0x0000, GELIC_EURUS_SCAN_CAP_INFRA = 0x0001, GELIC_EURUS_SCAN_CAP_MASK = 0x0001 }
 
enum  gelic_eurus_scan_sec_type {
  GELIC_EURUS_SCAN_SEC_NONE = 0x0000, GELIC_EURUS_SCAN_SEC_WEP = 0x0100, GELIC_EURUS_SCAN_SEC_WPA = 0x0200, GELIC_EURUS_SCAN_SEC_WPA2 = 0x0400,
  GELIC_EURUS_SCAN_SEC_MASK = 0x0f00
}
 
enum  gelic_eurus_scan_sec_wep_type { GELIC_EURUS_SCAN_SEC_WEP_UNKNOWN = 0x0000, GELIC_EURUS_SCAN_SEC_WEP_40 = 0x0001, GELIC_EURUS_SCAN_SEC_WEP_104 = 0x0002, GELIC_EURUS_SCAN_SEC_WEP_MASK = 0x0003 }
 
enum  gelic_eurus_scan_sec_wpa_type { GELIC_EURUS_SCAN_SEC_WPA_UNKNOWN = 0x0000, GELIC_EURUS_SCAN_SEC_WPA_TKIP = 0x0001, GELIC_EURUS_SCAN_SEC_WPA_AES = 0x0002, GELIC_EURUS_SCAN_SEC_WPA_MASK = 0x0003 }
 
enum  gelic_wl_info_status_bit {
  GELIC_WL_STAT_CONFIGURED, GELIC_WL_STAT_CH_INFO, GELIC_WL_STAT_ESSID_SET, GELIC_WL_STAT_BSSID_SET,
  GELIC_WL_STAT_WPA_PSK_SET, GELIC_WL_STAT_WPA_LEVEL_SET
}
 
enum  gelic_wl_scan_state { GELIC_WL_SCAN_STAT_INIT, GELIC_WL_SCAN_STAT_SCANNING, GELIC_WL_SCAN_STAT_GOT_LIST }
 
enum  gelic_wl_cipher_method { GELIC_WL_CIPHER_NONE, GELIC_WL_CIPHER_WEP, GELIC_WL_CIPHER_TKIP, GELIC_WL_CIPHER_AES }
 
enum  gelic_wl_wpa_level { GELIC_WL_WPA_LEVEL_NONE, GELIC_WL_WPA_LEVEL_WPA, GELIC_WL_WPA_LEVEL_WPA2 }
 
enum  gelic_wl_assoc_state { GELIC_WL_ASSOC_STAT_DISCONN, GELIC_WL_ASSOC_STAT_ASSOCIATING, GELIC_WL_ASSOC_STAT_ASSOCIATED }
 

Functions

int gelic_wl_driver_probe (struct gelic_card *card)
 
int gelic_wl_driver_remove (struct gelic_card *card)
 
void gelic_wl_interrupt (struct net_device *netdev, u64 status)
 

Variables

struct gelic_eurus_common_cfg __packed
 

Macro Definition Documentation

#define GELIC_EURUS_MAX_SCAN   (16)

Definition at line 177 of file ps3_gelic_wireless.h.

#define GELIC_WEP_KEYS   4

Definition at line 241 of file ps3_gelic_wireless.h.

#define GELIC_WL_ASSOC_RETRY   50

Definition at line 296 of file ps3_gelic_wireless.h.

#define GELIC_WL_BSS_MAX_ENT   32

Definition at line 295 of file ps3_gelic_wireless.h.

#define GELIC_WL_EURUS_PSK_MAX_LEN   64

Definition at line 115 of file ps3_gelic_wireless.h.

#define GELIC_WL_PRIV_GET_PSK   (SIOCIWFIRSTPRIV + 1)

Definition at line 321 of file ps3_gelic_wireless.h.

#define GELIC_WL_PRIV_SET_PSK   (SIOCIWFIRSTPRIV + 0)

Definition at line 320 of file ps3_gelic_wireless.h.

#define WPA_PSK_LEN   32 /* WPA spec says 256bit */

Definition at line 116 of file ps3_gelic_wireless.h.

Enumeration Type Documentation

Enumerator:
GELIC_EURUS_AUTH_OPEN 
GELIC_EURUS_AUTH_SHARED 

Definition at line 60 of file ps3_gelic_wireless.h.

Enumerator:
GELIC_EURUS_BSS_INFRA 
GELIC_EURUS_BSS_ADHOC 

Definition at line 55 of file ps3_gelic_wireless.h.

Enumerator:
GELIC_EURUS_CMD_ASSOC 
GELIC_EURUS_CMD_DISASSOC 
GELIC_EURUS_CMD_START_SCAN 
GELIC_EURUS_CMD_GET_SCAN 
GELIC_EURUS_CMD_SET_COMMON_CFG 
GELIC_EURUS_CMD_GET_COMMON_CFG 
GELIC_EURUS_CMD_SET_WEP_CFG 
GELIC_EURUS_CMD_GET_WEP_CFG 
GELIC_EURUS_CMD_SET_WPA_CFG 
GELIC_EURUS_CMD_GET_WPA_CFG 
GELIC_EURUS_CMD_GET_RSSI_CFG 
GELIC_EURUS_CMD_MAX_INDEX 

Definition at line 39 of file ps3_gelic_wireless.h.

Enumerator:
GELIC_EURUS_OPMODE_11BG 
GELIC_EURUS_OPMODE_11B 
GELIC_EURUS_OPMODE_11G 

Definition at line 65 of file ps3_gelic_wireless.h.

Enumerator:
GELIC_EURUS_SCAN_CAP_ADHOC 
GELIC_EURUS_SCAN_CAP_INFRA 
GELIC_EURUS_SCAN_CAP_MASK 

Definition at line 126 of file ps3_gelic_wireless.h.

Enumerator:
GELIC_EURUS_SCAN_SEC_NONE 
GELIC_EURUS_SCAN_SEC_WEP 
GELIC_EURUS_SCAN_SEC_WPA 
GELIC_EURUS_SCAN_SEC_WPA2 
GELIC_EURUS_SCAN_SEC_MASK 

Definition at line 132 of file ps3_gelic_wireless.h.

Enumerator:
GELIC_EURUS_SCAN_SEC_WEP_UNKNOWN 
GELIC_EURUS_SCAN_SEC_WEP_40 
GELIC_EURUS_SCAN_SEC_WEP_104 
GELIC_EURUS_SCAN_SEC_WEP_MASK 

Definition at line 140 of file ps3_gelic_wireless.h.

Enumerator:
GELIC_EURUS_SCAN_SEC_WPA_UNKNOWN 
GELIC_EURUS_SCAN_SEC_WPA_TKIP 
GELIC_EURUS_SCAN_SEC_WPA_AES 
GELIC_EURUS_SCAN_SEC_WPA_MASK 

Definition at line 147 of file ps3_gelic_wireless.h.

Enumerator:
GELIC_EURUS_WEP_SEC_NONE 
GELIC_EURUS_WEP_SEC_40BIT 
GELIC_EURUS_WEP_SEC_104BIT 

Definition at line 81 of file ps3_gelic_wireless.h.

Enumerator:
GELIC_EURUS_WPA_PSK_PASSPHRASE 
GELIC_EURUS_WPA_PSK_BIN 

Definition at line 110 of file ps3_gelic_wireless.h.

Enumerator:
GELIC_EURUS_WPA_SEC_NONE 
GELIC_EURUS_WPA_SEC_WPA_TKIP_TKIP 
GELIC_EURUS_WPA_SEC_WPA_AES_AES 
GELIC_EURUS_WPA_SEC_WPA2_TKIP_TKIP 
GELIC_EURUS_WPA_SEC_WPA2_AES_AES 
GELIC_EURUS_WPA_SEC_WPA_TKIP_AES 
GELIC_EURUS_WPA_SEC_WPA2_TKIP_AES 

Definition at line 94 of file ps3_gelic_wireless.h.

Enumerator:
GELIC_LV1_WL_EVENT_DEVICE_READY 
GELIC_LV1_WL_EVENT_SCAN_COMPLETED 
GELIC_LV1_WL_EVENT_DEAUTH 
GELIC_LV1_WL_EVENT_BEACON_LOST 
GELIC_LV1_WL_EVENT_CONNECTED 
GELIC_LV1_WL_EVENT_WPA_CONNECTED 
GELIC_LV1_WL_EVENT_WPA_ERROR 

Definition at line 28 of file ps3_gelic_wireless.h.

Enumerator:
GELIC_WL_ASSOC_STAT_DISCONN 
GELIC_WL_ASSOC_STAT_ASSOCIATING 
GELIC_WL_ASSOC_STAT_ASSOCIATED 

Definition at line 235 of file ps3_gelic_wireless.h.

Enumerator:
GELIC_WL_CIPHER_NONE 
GELIC_WL_CIPHER_WEP 
GELIC_WL_CIPHER_TKIP 
GELIC_WL_CIPHER_AES 

Definition at line 220 of file ps3_gelic_wireless.h.

Enumerator:
GELIC_WL_STAT_CONFIGURED 
GELIC_WL_STAT_CH_INFO 
GELIC_WL_STAT_ESSID_SET 
GELIC_WL_STAT_BSSID_SET 
GELIC_WL_STAT_WPA_PSK_SET 
GELIC_WL_STAT_WPA_LEVEL_SET 

Definition at line 200 of file ps3_gelic_wireless.h.

Enumerator:
GELIC_WL_SCAN_STAT_INIT 
GELIC_WL_SCAN_STAT_SCANNING 
GELIC_WL_SCAN_STAT_GOT_LIST 

Definition at line 210 of file ps3_gelic_wireless.h.

Enumerator:
GELIC_WL_WPA_LEVEL_NONE 
GELIC_WL_WPA_LEVEL_WPA 
GELIC_WL_WPA_LEVEL_WPA2 

Definition at line 228 of file ps3_gelic_wireless.h.

Function Documentation

int gelic_wl_driver_probe ( struct gelic_card card)

Definition at line 2601 of file ps3_gelic_wireless.c.

int gelic_wl_driver_remove ( struct gelic_card card)

Definition at line 2643 of file ps3_gelic_wireless.c.

void gelic_wl_interrupt ( struct net_device netdev,
u64  status 
)

Definition at line 2263 of file ps3_gelic_wireless.c.

Variable Documentation