Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
WIFI_Driver/nmc/strc.h
- Committer:
- Marcomissyou
- Date:
- 2015-06-26
- Revision:
- 0:4085cc9441f3
File content as of revision 0:4085cc9441f3:
#include "nmi_wlan.h"
#include "nmi_wlan_if.h"
#ifndef __STRC_H__
#define __STRC_H__
typedef struct {
void *priv;
void (*scan_callback)(void *, nmi_wl_bss_t *, int, int);
} scan_session_t;
typedef struct {
int bss_type;
int connect;
void *priv;
u8 sa[6];
u8 bssid[6];
void (*join_callback)(void *, nmi_wl_join_rsp_t *);
void (*disconnect_callback)(void *);
int dhcp_check;
} join_session_t;
typedef struct wlan_t {
u32 chipid;
u32 fw_state;
/**
**/
nmi_wl_platform_t plat;
nmi_wl_if_t hif;
/**
TX queue
**/
que_hdr_t txq_h;
/**
RX queue
**/
que_hdr_t rxq_h;
/**
CFG queue
**/
que_hdr_t cfg_w_h;
que_hdr_t cfg_q_h;
que_hdr_t cfg_q_rsp_h;
u32 cfg_id;
scan_session_t scan_sess;
join_session_t join_sess;
int rx_isr;
int sleep;
int fw_en_sleep;
u8 mac_addr[6]; /* ksong add 2013.5.16 */
u32 scan_cmd_cnt; /* ksong 2013-8-9 */
u32 join_cmd_cnt; /* ksong 2013-8-9 */
#ifdef STATIC_TX_BUFFER
u8 tx_buffer[1500];//[8*1024];
#endif
} nmi_wlan_t;
#endif