Add gnss 5311 support.

Change-Id: I436cbc7eabe8e6448d318b6eee81f49dddcce756
diff --git a/mbtk/mbtk_gnssd/gnss_info.h b/mbtk/mbtk_gnssd/gnss_info.h
index 51b4421..e781103 100755
--- a/mbtk/mbtk_gnssd/gnss_info.h
+++ b/mbtk/mbtk_gnssd/gnss_info.h
@@ -74,7 +74,7 @@
 typedef int (*gnss_dev_close_func)();
 typedef int (*gnss_open_func)(const char *dev);
 typedef int (*gnss_close_func)(int fd);
-typedef int (*gnss_fw_dl_func)(int fd);
+typedef int (*gnss_fw_dl_func)(int fd, const char *dev);
 typedef void (*gnss_dl_read_cb_func)(const void *data, int data_len);
 typedef gnss_err_enum (*gnss_set_func)(int fd, const char *cmd, void *cmd_rsp, int cmd_rsp_len);
 typedef void (*gnss_set_cb_func)(const void *data, int data_len);
@@ -109,6 +109,7 @@
     char dev_name[32];
     bool auto_open;        // Should auto open gnss?
     bool auto_dl_fw;       // Should download firmware int the first?
+    bool dl_befor_open;    // Should download firmware before open device?
     int fd;                // GNSS uart fd.
     int exit_fd[2];        // Use to exit thread.
     gnss_state_enum state;