2015-05-10 23:30:56 -06:00
|
|
|
/* ////////////////////////////////////////////////////////////////////////// */
|
|
|
|
/* */
|
|
|
|
/* Copyright (c) Atmel Corporation. All rights reserved. */
|
|
|
|
/* */
|
|
|
|
/* Module Name: wilc_wlan_cfg.h */
|
|
|
|
/* */
|
|
|
|
/* */
|
|
|
|
/* ///////////////////////////////////////////////////////////////////////// */
|
|
|
|
|
|
|
|
#ifndef WILC_WLAN_CFG_H
|
|
|
|
#define WILC_WLAN_CFG_H
|
|
|
|
|
|
|
|
typedef struct {
|
2015-09-14 23:06:15 -06:00
|
|
|
u16 id;
|
|
|
|
u16 val;
|
2015-05-10 23:30:56 -06:00
|
|
|
} wilc_cfg_byte_t;
|
|
|
|
|
|
|
|
typedef struct {
|
2015-09-14 23:06:15 -06:00
|
|
|
u16 id;
|
|
|
|
u16 val;
|
2015-05-10 23:30:56 -06:00
|
|
|
} wilc_cfg_hword_t;
|
|
|
|
|
|
|
|
typedef struct {
|
2015-09-14 23:06:16 -06:00
|
|
|
u32 id;
|
|
|
|
u32 val;
|
2015-05-10 23:30:56 -06:00
|
|
|
} wilc_cfg_word_t;
|
|
|
|
|
|
|
|
typedef struct {
|
2015-09-14 23:06:16 -06:00
|
|
|
u32 id;
|
2015-09-14 23:06:14 -06:00
|
|
|
u8 *str;
|
2015-05-10 23:30:56 -06:00
|
|
|
} wilc_cfg_str_t;
|
|
|
|
|
2015-10-01 23:22:07 -06:00
|
|
|
int wilc_wlan_cfg_set_wid(u8 *frame, u32 offset, u16 id, u8 *buf, int size);
|
2015-10-01 23:22:08 -06:00
|
|
|
int wilc_wlan_cfg_get_wid(u8 *frame, u32 offset, u16 id);
|
2015-10-01 23:22:09 -06:00
|
|
|
int wilc_wlan_cfg_get_wid_value(u16 wid, u8 *buffer, u32 buffer_size);
|
2015-11-05 19:20:01 -07:00
|
|
|
int wilc_wlan_cfg_indicate_rx(u8 *frame, int size, struct wilc_cfg_rsp *rsp);
|
2015-10-01 23:22:11 -06:00
|
|
|
int wilc_wlan_cfg_init(wilc_debug_func func);
|
2015-10-01 23:22:07 -06:00
|
|
|
|
2015-05-10 23:30:56 -06:00
|
|
|
#endif
|