#ifndef WILC_WLAN_IF_H
#define WILC_WLAN_IF_H
-/* #define MEMORY_STATIC */
-/* #define USE_OLD_SPI_SW */
-
#include <linux/semaphore.h>
#include "linux_wlan_common.h"
#define WILC_TX_ERR_NO_BUF (-2)
-typedef struct {
- int (*wlan_cfg_get_value)(u32, u8 *, u32);
- int (*wlan_add_mgmt_to_tx_que)(void *, u8 *, u32,
- wilc_tx_complete_func_t);
-} wilc_wlan_oup_t;
-
/********************************************
*
* Wlan Configuration ID
WPA2_AES_TKIP = 0x71, /* Aes or Tkip */
} SECURITY_T;
-typedef enum {
+enum AUTHTYPE {
OPEN_SYSTEM = 1,
SHARED_KEY = 2,
ANY = 3,
IEEE8021 = 5
-} AUTHTYPE_T;
+};
-typedef enum {
+enum SITESURVEY {
SITE_SURVEY_1CH = 0,
SITE_SURVEY_ALL_CH = 1,
SITE_SURVEY_OFF = 2
-} SITE_SURVEY_T;
+};
typedef enum {
NORMAL_ACK = 0,
SW_TRIGGER_ABORT,
} TX_ABORT_OPTION_T;
-typedef enum {
+enum WID_TYPE {
WID_CHAR = 0,
WID_SHORT = 1,
WID_INT = 2,
WID_ADR = 7,
WID_UNDEF = 8,
WID_TYPE_FORCE_32BIT = 0xFFFFFFFF
-
-} WID_TYPE_T, tenuWIDtype;
+};
typedef enum {
WID_NIL = 0xffff,
WID_MAX = 0xFFFF
} WID_T;
-int wilc_wlan_init(wilc_wlan_inp_t *inp, wilc_wlan_oup_t *oup);
+int wilc_wlan_init(wilc_wlan_inp_t *inp);
void wilc_bus_set_max_speed(void);
void wilc_bus_set_default_speed(void);
u32 wilc_get_chipid(u8 update);
-extern wilc_wlan_oup_t *gpstrWlanOps;
#endif