diff options
Diffstat (limited to 'mac80211/ti-utils/nvs.h')
-rw-r--r-- | mac80211/ti-utils/nvs.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mac80211/ti-utils/nvs.h b/mac80211/ti-utils/nvs.h new file mode 100644 index 00000000..40439832 --- /dev/null +++ b/mac80211/ti-utils/nvs.h @@ -0,0 +1,23 @@ +#ifndef __NVS_H +#define __NVS_H + +#define WL127X_NVS_FILE_SZ 912 +#define WL128X_NVS_FILE_SZ 1113 + +int prepare_nvs_file(void *arg, char *file_name); + +void cfg_nvs_ops(struct wl12xx_common *cmn); + +int create_nvs_file(struct wl12xx_common *cmn); + +int update_nvs_file(const char *nvs_file, struct wl12xx_common *cmn); + +int dump_nvs_file(const char *nvs_file, struct wl12xx_common *cmn); + +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); + +#endif /* __NVS_H */ |