Contributors: 8
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Johnny Kim |
87 |
42.65% |
1 |
4.17% |
Ajay Singh |
53 |
25.98% |
7 |
29.17% |
Glen Lee |
33 |
16.18% |
8 |
33.33% |
Chaehyun Lim |
18 |
8.82% |
3 |
12.50% |
Bhumika Goyal |
8 |
3.92% |
1 |
4.17% |
Leo Kim |
3 |
1.47% |
2 |
8.33% |
Nishka Dasgupta |
1 |
0.49% |
1 |
4.17% |
Greg Kroah-Hartman |
1 |
0.49% |
1 |
4.17% |
Total |
204 |
|
24 |
|
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2012 - 2018 Microchip Technology Inc., and its subsidiaries.
* All rights reserved.
*/
#ifndef WILC_WLAN_CFG_H
#define WILC_WLAN_CFG_H
struct wilc_cfg_byte {
u16 id;
u8 val;
};
struct wilc_cfg_hword {
u16 id;
u16 val;
};
struct wilc_cfg_word {
u16 id;
u32 val;
};
struct wilc_cfg_str {
u16 id;
u8 *str;
};
struct wilc_cfg_str_vals {
u8 mac_address[7];
u8 firmware_version[129];
u8 assoc_rsp[256];
};
struct wilc_cfg {
struct wilc_cfg_byte *b;
struct wilc_cfg_hword *hw;
struct wilc_cfg_word *w;
struct wilc_cfg_str *s;
struct wilc_cfg_str_vals *str_vals;
};
struct wilc;
int wilc_wlan_cfg_set_wid(u8 *frame, u32 offset, u16 id, u8 *buf, int size);
int wilc_wlan_cfg_get_wid(u8 *frame, u32 offset, u16 id);
int wilc_wlan_cfg_get_val(struct wilc *wl, u16 wid, u8 *buffer,
u32 buffer_size);
void wilc_wlan_cfg_indicate_rx(struct wilc *wilc, u8 *frame, int size,
struct wilc_cfg_rsp *rsp);
int wilc_wlan_cfg_init(struct wilc *wl);
void wilc_wlan_cfg_deinit(struct wilc *wl);
#endif