diff options
| author | CXSforHPU <[email protected]> | 2024-09-14 05:40:40 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-09-13 17:40:40 -0400 |
| commit | bb91502465da8432b5b38a0eb12be3af8238c22d (patch) | |
| tree | 2e1d686e6d407768fc99f52216bc6e61fb25e9fe /components/drivers/wlan | |
| parent | 57d002b25e26a5df950b087f0ea2dc7b6feeb7e3 (diff) | |
[drivers] Specifies the name of the drivers driver file
https://github.com/RT-Thread/rt-thread/pull/9420
Diffstat (limited to 'components/drivers/wlan')
| -rw-r--r-- | components/drivers/wlan/SConscript | 14 | ||||
| -rw-r--r-- | components/drivers/wlan/dev_wlan.c (renamed from components/drivers/wlan/wlan_dev.c) | 4 | ||||
| -rw-r--r-- | components/drivers/wlan/dev_wlan.h (renamed from components/drivers/wlan/wlan_dev.h) | 4 | ||||
| -rw-r--r-- | components/drivers/wlan/dev_wlan_cfg.c (renamed from components/drivers/wlan/wlan_cfg.c) | 2 | ||||
| -rw-r--r-- | components/drivers/wlan/dev_wlan_cfg.h (renamed from components/drivers/wlan/wlan_cfg.h) | 6 | ||||
| -rw-r--r-- | components/drivers/wlan/dev_wlan_cmd.c (renamed from components/drivers/wlan/wlan_cmd.c) | 6 | ||||
| -rw-r--r-- | components/drivers/wlan/dev_wlan_lwip.c (renamed from components/drivers/wlan/wlan_lwip.c) | 6 | ||||
| -rw-r--r-- | components/drivers/wlan/dev_wlan_mgnt.c (renamed from components/drivers/wlan/wlan_mgnt.c) | 10 | ||||
| -rw-r--r-- | components/drivers/wlan/dev_wlan_mgnt.h (renamed from components/drivers/wlan/wlan_mgnt.h) | 6 | ||||
| -rw-r--r-- | components/drivers/wlan/dev_wlan_prot.c (renamed from components/drivers/wlan/wlan_prot.c) | 4 | ||||
| -rw-r--r-- | components/drivers/wlan/dev_wlan_prot.h (renamed from components/drivers/wlan/wlan_prot.h) | 4 | ||||
| -rw-r--r-- | components/drivers/wlan/dev_wlan_workqueue.c (renamed from components/drivers/wlan/wlan_workqueue.c) | 2 | ||||
| -rw-r--r-- | components/drivers/wlan/dev_wlan_workqueue.h (renamed from components/drivers/wlan/wlan_workqueue.h) | 4 |
13 files changed, 36 insertions, 36 deletions
diff --git a/components/drivers/wlan/SConscript b/components/drivers/wlan/SConscript index f2a6bbdc82..fed9478201 100644 --- a/components/drivers/wlan/SConscript +++ b/components/drivers/wlan/SConscript @@ -4,26 +4,26 @@ cwd = GetCurrentDir() CPPPATH = [cwd] src = Split(''' - wlan_dev.c + dev_wlan.c ''') if GetDepend(['RT_WLAN_MANAGE_ENABLE']): - src += ['wlan_mgnt.c'] + src += ['dev_wlan_mgnt.c'] if GetDepend(['RT_WLAN_MSH_CMD_ENABLE']): - src += ['wlan_cmd.c'] + src += ['dev_wlan_cmd.c'] if GetDepend(['RT_WLAN_PROT_ENABLE']): - src += ['wlan_prot.c'] + src += ['dev_wlan_prot.c'] if GetDepend(['RT_WLAN_PROT_LWIP_ENABLE']): - src += ['wlan_lwip.c'] + src += ['dev_wlan_lwip.c'] if GetDepend(['RT_WLAN_CFG_ENABLE']): - src += ['wlan_cfg.c'] + src += ['dev_wlan_cfg.c'] if GetDepend(['RT_WLAN_WORK_THREAD_ENABLE']): - src += ['wlan_workqueue.c'] + src += ['dev_wlan_workqueue.c'] group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_WIFI'], CPPPATH = CPPPATH) diff --git a/components/drivers/wlan/wlan_dev.c b/components/drivers/wlan/dev_wlan.c index da4aa57497..a7029e6233 100644 --- a/components/drivers/wlan/wlan_dev.c +++ b/components/drivers/wlan/dev_wlan.c @@ -10,8 +10,8 @@ #include <rthw.h> #include <rtthread.h> -#include <wlan_dev.h> -#include <wlan_prot.h> +#include <dev_wlan.h> +#include <dev_wlan_prot.h> #define DBG_TAG "WLAN.dev" #ifdef RT_WLAN_DEV_DEBUG diff --git a/components/drivers/wlan/wlan_dev.h b/components/drivers/wlan/dev_wlan.h index 0a6c9b3d0d..d20487394e 100644 --- a/components/drivers/wlan/wlan_dev.h +++ b/components/drivers/wlan/dev_wlan.h @@ -8,8 +8,8 @@ * 2018-08-03 tyx the first version */ -#ifndef __WLAN_DEVICE_H__ -#define __WLAN_DEVICE_H__ +#ifndef __DEV_WLAN_DEVICE_H__ +#define __DEV_WLAN_DEVICE_H__ #ifdef __cplusplus extern "C" { diff --git a/components/drivers/wlan/wlan_cfg.c b/components/drivers/wlan/dev_wlan_cfg.c index ac49877c8d..e62ed9d93a 100644 --- a/components/drivers/wlan/wlan_cfg.c +++ b/components/drivers/wlan/dev_wlan_cfg.c @@ -9,7 +9,7 @@ */ #include <rtthread.h> -#include <wlan_cfg.h> +#include <dev_wlan_cfg.h> #define DBG_TAG "WLAN.cfg" #ifdef RT_WLAN_CFG_DEBUG diff --git a/components/drivers/wlan/wlan_cfg.h b/components/drivers/wlan/dev_wlan_cfg.h index 308850f74b..25e44ded72 100644 --- a/components/drivers/wlan/wlan_cfg.h +++ b/components/drivers/wlan/dev_wlan_cfg.h @@ -8,10 +8,10 @@ * 2018-08-06 tyx the first version */ -#ifndef __WLAN_CFG_H__ -#define __WLAN_CFG_H__ +#ifndef __DEV_WLAN_CFG_H__ +#define __DEV_WLAN_CFG_H__ -#include <wlan_dev.h> +#include <dev_wlan.h> #ifdef __cplusplus extern "C" { diff --git a/components/drivers/wlan/wlan_cmd.c b/components/drivers/wlan/dev_wlan_cmd.c index b50261d42a..6592281dac 100644 --- a/components/drivers/wlan/wlan_cmd.c +++ b/components/drivers/wlan/dev_wlan_cmd.c @@ -11,9 +11,9 @@ #include <rtthread.h> #include <rthw.h> -#include <wlan_mgnt.h> -#include <wlan_cfg.h> -#include <wlan_prot.h> +#include <dev_wlan_mgnt.h> +#include <dev_wlan_cfg.h> +#include <dev_wlan_prot.h> #define DBG_TAG "WLAN.cmd" #ifdef RT_WLAN_MGNT_DEBUG diff --git a/components/drivers/wlan/wlan_lwip.c b/components/drivers/wlan/dev_wlan_lwip.c index 08cf150d5f..21f43c115b 100644 --- a/components/drivers/wlan/wlan_lwip.c +++ b/components/drivers/wlan/dev_wlan_lwip.c @@ -10,9 +10,9 @@ #include <rthw.h> #include <rtthread.h> -#include <wlan_dev.h> -#include <wlan_prot.h> -#include <wlan_workqueue.h> +#include <dev_wlan.h> +#include <dev_wlan_prot.h> +#include <dev_wlan_workqueue.h> #if defined(RT_WLAN_PROT_ENABLE) && defined(RT_WLAN_PROT_LWIP_ENABLE) diff --git a/components/drivers/wlan/wlan_mgnt.c b/components/drivers/wlan/dev_wlan_mgnt.c index 5eccdfd101..124496aae2 100644 --- a/components/drivers/wlan/wlan_mgnt.c +++ b/components/drivers/wlan/dev_wlan_mgnt.c @@ -11,11 +11,11 @@ #include <rthw.h> #include <rtthread.h> -#include <wlan_dev.h> -#include <wlan_cfg.h> -#include <wlan_mgnt.h> -#include <wlan_prot.h> -#include <wlan_workqueue.h> +#include <dev_wlan.h> +#include <dev_wlan_cfg.h> +#include <dev_wlan_mgnt.h> +#include <dev_wlan_prot.h> +#include <dev_wlan_workqueue.h> // #define RT_WLAN_MGNT_DEBUG #define DBG_TAG "WLAN.mgnt" diff --git a/components/drivers/wlan/wlan_mgnt.h b/components/drivers/wlan/dev_wlan_mgnt.h index 4e98463a3c..dc5b17e994 100644 --- a/components/drivers/wlan/wlan_mgnt.h +++ b/components/drivers/wlan/dev_wlan_mgnt.h @@ -8,10 +8,10 @@ * 2018-08-06 tyx the first version */ -#ifndef __WLAN_MGNT_H__ -#define __WLAN_MGNT_H__ +#ifndef __DEV_WLAN_MGNT_H__ +#define __DEV_WLAN_MGNT_H__ -#include <wlan_dev.h> +#include <dev_wlan.h> #ifdef __cplusplus extern "C" { diff --git a/components/drivers/wlan/wlan_prot.c b/components/drivers/wlan/dev_wlan_prot.c index dd9b320655..53730338de 100644 --- a/components/drivers/wlan/wlan_prot.c +++ b/components/drivers/wlan/dev_wlan_prot.c @@ -10,8 +10,8 @@ #include <rthw.h> #include <rtthread.h> -#include <wlan_dev.h> -#include <wlan_prot.h> +#include <dev_wlan.h> +#include <dev_wlan_prot.h> #define DBG_TAG "WLAN.prot" #ifdef RT_WLAN_PROT_DEBUG diff --git a/components/drivers/wlan/wlan_prot.h b/components/drivers/wlan/dev_wlan_prot.h index 16515d68be..3ba1daa9fd 100644 --- a/components/drivers/wlan/wlan_prot.h +++ b/components/drivers/wlan/dev_wlan_prot.h @@ -8,8 +8,8 @@ * 2018-08-14 tyx the first version */ -#ifndef __WLAN_PROT_H__ -#define __WLAN_PROT_H__ +#ifndef __DEV_WLAN_PROT_H__ +#define __DEV_WLAN_PROT_H__ #ifdef __cplusplus extern "C" { diff --git a/components/drivers/wlan/wlan_workqueue.c b/components/drivers/wlan/dev_wlan_workqueue.c index 4c966b1175..c663a4ed7c 100644 --- a/components/drivers/wlan/wlan_workqueue.c +++ b/components/drivers/wlan/dev_wlan_workqueue.c @@ -10,7 +10,7 @@ #include <rthw.h> #include <rtthread.h> -#include <wlan_workqueue.h> +#include <dev_wlan_workqueue.h> #include <ipc/workqueue.h> #define DBG_TAG "WLAN.work" diff --git a/components/drivers/wlan/wlan_workqueue.h b/components/drivers/wlan/dev_wlan_workqueue.h index af12b1d196..f85f8493ce 100644 --- a/components/drivers/wlan/wlan_workqueue.h +++ b/components/drivers/wlan/dev_wlan_workqueue.h @@ -8,8 +8,8 @@ * 2018-08-19 tyx the first version */ -#ifndef __WLAN_WORKQUEUE_H__ -#define __WLAN_WORKQUEUE_H__ +#ifndef __DEV_WLAN_WORKQUEUE_H__ +#define __DEV_WLAN_WORKQUEUE_H__ #include <ipc/workqueue.h> |
