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
|
|
|
|
|
2016-02-19 06:29:20 -07:00
|
|
|
struct wilc_cfg_byte {
|
2015-09-14 23:06:15 -06:00
|
|
|
u16 id;
|
|
|
|
u16 val;
|
2016-02-19 06:29:20 -07:00
|
|
|
};
|
2015-05-10 23:30:56 -06:00
|
|
|
|
2016-02-19 06:29:20 -07:00
|
|
|
struct wilc_cfg_hword {
|
2015-09-14 23:06:15 -06:00
|
|
|
u16 id;
|
|
|
|
u16 val;
|
2016-02-19 06:29:20 -07:00
|
|
|
};
|
2015-05-10 23:30:56 -06:00
|
|
|
|
2016-02-19 06:29:20 -07:00
|
|
|
struct wilc_cfg_word {
|
2015-09-14 23:06:16 -06:00
|
|
|
u32 id;
|
|
|
|
u32 val;
|
2016-02-19 06:29:20 -07:00
|
|
|
};
|
2015-05-10 23:30:56 -06:00
|
|
|
|
2016-02-19 06:29:20 -07:00
|
|
|
struct wilc_cfg_str {
|
2015-09-14 23:06:16 -06:00
|
|
|
u32 id;
|
2015-09-14 23:06:14 -06:00
|
|
|
u8 *str;
|
2016-02-19 06:29:20 -07:00
|
|
|
};
|
2015-05-10 23:30:56 -06:00
|
|
|
|
2015-12-20 22:18:42 -07:00
|
|
|
struct wilc;
|
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-12-20 22:18:42 -07:00
|
|
|
int wilc_wlan_cfg_indicate_rx(struct wilc *wilc, u8 *frame, int size,
|
|
|
|
struct wilc_cfg_rsp *rsp);
|
2016-02-21 21:41:15 -07:00
|
|
|
int wilc_wlan_cfg_init(void);
|
2015-10-01 23:22:07 -06:00
|
|
|
|
2015-05-10 23:30:56 -06:00
|
|
|
#endif
|