5f74eb83562fae3f585e476d3dd377bd7413de7d
[deliverable/linux.git] / 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 struct wilc;
34 int wilc_wlan_cfg_set_wid(u8 *frame, u32 offset, u16 id, u8 *buf, int size);
35 int wilc_wlan_cfg_get_wid(u8 *frame, u32 offset, u16 id);
36 int wilc_wlan_cfg_get_wid_value(u16 wid, u8 *buffer, u32 buffer_size);
37 int wilc_wlan_cfg_indicate_rx(struct wilc *wilc, u8 *frame, int size,
38 struct wilc_cfg_rsp *rsp);
39 int wilc_wlan_cfg_init(wilc_debug_func func);
40
41 #endif
This page took 0.031227 seconds and 4 git commands to generate.