These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / staging / wilc1000 / wilc_wlan_cfg.h
1 /* ////////////////////////////////////////////////////////////////////////// */
2 /*  */
3 /* Copyright (c) Atmel Corporation.  All rights reserved. */
4 /*  */
5 /* Module Name:  wilc_wlan_cfg.h */
6 /*  */
7 /*  */
8 /* ///////////////////////////////////////////////////////////////////////// */
9
10 #ifndef WILC_WLAN_CFG_H
11 #define WILC_WLAN_CFG_H
12
13 typedef struct {
14         u16 id;
15         u16 val;
16 } wilc_cfg_byte_t;
17
18 typedef struct {
19         u16 id;
20         u16 val;
21 } wilc_cfg_hword_t;
22
23 typedef struct {
24         u32 id;
25         u32 val;
26 } wilc_cfg_word_t;
27
28 typedef struct {
29         u32 id;
30         u8 *str;
31 } wilc_cfg_str_t;
32
33 int wilc_wlan_cfg_set_wid(u8 *frame, u32 offset, u16 id, u8 *buf, int size);
34 int wilc_wlan_cfg_get_wid(u8 *frame, u32 offset, u16 id);
35 int wilc_wlan_cfg_get_wid_value(u16 wid, u8 *buffer, u32 buffer_size);
36 int wilc_wlan_cfg_indicate_rx(u8 *frame, int size, wilc_cfg_rsp_t *rsp);
37 int wilc_wlan_cfg_init(wilc_debug_func func);
38
39 #endif