Fix mbtk from v1265 GSW
Change-Id: I5d8d395616f284bc74c8b9448cfa347164b5a668
diff --git a/mbtk/include/ql/ql_network.h b/mbtk/include/ql/ql_network.h
new file mode 100755
index 0000000..241c718
--- /dev/null
+++ b/mbtk/include/ql/ql_network.h
@@ -0,0 +1,51 @@
+/**
+ * @file ql_network.h
+ * @brief Quectel Openlinux network public function declarations.
+ *
+ * @note
+ *
+ * @copyright Copyright (c) 2009-2017 @ Quectel Wireless Solutions Co., Ltd.
+ */
+
+#ifndef __QL_NETWORK_H__
+#define __QL_NETWORK_H__
+#include "mbtk_type.h"
+#include "mbtk_info_api.h"
+
+
+ typedef struct {
+ char gw_ip[20]; /* Gateway Address*/
+ char netmask[20]; /* netmask */
+ unsigned char enable_dhcp; /* Whether to enable DHCP; boolean value. */
+ char dhcp_start_ip[20]; /*DHCP start IP address.*/
+ char dhcp_end_ip[20]; /*DHCP end IP address. */
+ unsigned int lease_time; /*DHCP lease time, in seconds.*/
+ }ql_lan_dhcp_config_s;
+
+
+
+/**
+* Set the network configuration: dhcp configuration.
+*s
+* @param [in] lan_dhcp_config
+*
+* @return
+* On success, 0 is returned. On error, -1 is returned.
+*
+*/
+extern int QL_LAN_DHCP_Config_Set(ql_lan_dhcp_config_s lan_dhcp_config);
+
+/**
+* Get the network configuration: dhcp configuration.
+*
+* @param [out] lan_dhcp_config
+*
+* @return
+* On success, 0 is returned. On error, -1 is returned.
+*
+*/
+extern int QL_LAN_DHCP_Config_Get(ql_lan_dhcp_config_s *lan_dhcp_config);
+
+#endif
+
+