forked from TI-OpenLink/ti-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nvs.h
31 lines (19 loc) · 785 Bytes
/
nvs.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef __NVS_H
#define __NVS_H
#define WL127X_NVS_FILE_SZ 912
#define WL128X_NVS_FILE_SZ 1113
char *get_opt_nvsinfile(int argc, char **argv);
char *get_opt_nvsoutfile(int argc, char **argv);
int prepare_nvs_file(void *arg, char *file_name);
int nvs_set_mac(char *nvsfile, char *mac);
void cfg_nvs_ops(struct wl12xx_common *cmn);
int create_nvs_file(struct wl12xx_common *cmn);
int update_nvs_file(const char *nvs_infile, const char *nvs_outfile,
struct wl12xx_common *cmn);
int dump_nvs_file(const char *nvs_file);
int set_nvs_file_autofem(const char *nvs_file, unsigned char val,
struct wl12xx_common *cmn);
int set_nvs_file_fem_manuf(const char *nvs_file, unsigned char val,
struct wl12xx_common *cmn);
int info_nvs_file(const char *nvs_file);
#endif /* __NVS_H */