summaryrefslogtreecommitdiff
path: root/components/drivers/include
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-09-22 09:37:36 +0800
committerGitHub <[email protected]>2018-09-22 09:37:36 +0800
commit83d134bc82aa1431c9a305464486178397e98ef1 (patch)
tree2b58212ef39f637983d29ebda3d30948bb29779c /components/drivers/include
parentd675ede836219ca4151e8c106468cdd6a493c790 (diff)
parentb5202d17fbd8e226a737caa38d536a4cd7a55956 (diff)
Merge pull request #1810 from enkiller/dev
[DeviceDriver][wlan] add new wlan framework
Diffstat (limited to 'components/drivers/include')
-rw-r--r--components/drivers/include/drivers/wlan.h21
-rw-r--r--components/drivers/include/rtdevice.h22
2 files changed, 27 insertions, 16 deletions
diff --git a/components/drivers/include/drivers/wlan.h b/components/drivers/include/drivers/wlan.h
new file mode 100644
index 0000000000..724e61da78
--- /dev/null
+++ b/components/drivers/include/drivers/wlan.h
@@ -0,0 +1,21 @@
+/*
+ * Copyright (c) 2006-2018, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date Author Notes
+ * 2018-09-15 tyx the first version
+ */
+
+#ifndef __WLAN_H__
+#define __WLAN_H__
+
+#include <rtthread.h>
+#include <wlan_dev.h>
+#include <wlan_cfg.h>
+#include <wlan_mgnt.h>
+#include <wlan_prot.h>
+#include <wlan_workqueue.h>
+
+#endif
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index 4207ddc0ee..e0499dcd20 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -1,21 +1,7 @@
/*
- * File : rtdevice.h
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2006 - 2012, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
@@ -117,6 +103,10 @@ extern "C" {
#include "drivers/rt_drv_pwm.h"
#endif
+#ifdef RT_USING_WIFI
+#include "drivers/wlan.h"
+#endif
+
#ifdef MTD_USING_NOR
#include "drivers/mtdnor.h"
#endif