Home | History | Annotate | Download | only in ti-utils
      1 #ifndef __NVS_H
      2 #define __NVS_H
      3 
      4 #define WL127X_NVS_FILE_SZ        912
      5 #define WL128X_NVS_FILE_SZ        1113
      6 
      7 int prepare_nvs_file(void *arg, char *file_name);
      8 
      9 void cfg_nvs_ops(struct wl12xx_common *cmn);
     10 
     11 int create_nvs_file(struct wl12xx_common *cmn);
     12 
     13 int update_nvs_file(const char *nvs_file, struct wl12xx_common *cmn);
     14 
     15 int dump_nvs_file(const char *nvs_file, struct wl12xx_common *cmn);
     16 
     17 int set_nvs_file_autofem(const char *nvs_file, unsigned char val,
     18     struct wl12xx_common *cmn);
     19 
     20 int set_nvs_file_fem_manuf(const char *nvs_file, unsigned char val,
     21     struct wl12xx_common *cmn);
     22 
     23 #endif /* __NVS_H */
     24