diff options
| author | tangyuxin <[email protected]> | 2018-09-15 09:54:18 +0800 |
|---|---|---|
| committer | tangyuxin <[email protected]> | 2018-09-15 10:16:04 +0800 |
| commit | 324bfc589779ac434a737f4cc7db7798b5658a22 (patch) | |
| tree | de5513c8ad17aabcc90b2f914a0a6f020d6d7d2b /components/drivers/include | |
| parent | 2c6c4a747b9d3cf96b31728772ba287fddfe9586 (diff) | |
[DeviceDriver][wlan] add new wlan framework
Diffstat (limited to 'components/drivers/include')
| -rw-r--r-- | components/drivers/include/drivers/wlan.h | 21 | ||||
| -rw-r--r-- | components/drivers/include/rtdevice.h | 4 |
2 files changed, 25 insertions, 0 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 eb28714891..b7fec50b73 100644 --- a/components/drivers/include/rtdevice.h +++ b/components/drivers/include/rtdevice.h @@ -117,6 +117,10 @@ extern "C" { #include "drivers/rt_drv_pwm.h" #endif +#ifdef RT_USING_WIFI +#include "drivers/wlan.h" +#endif + #ifdef __cplusplus } #endif |
