浏览代码

Merge pull request #1507 from enkiller/dev

[components][drivers]Kconfig更新
aozima 7 年之前
父节点
当前提交
6be8da9464
共有 1 个文件被更改,包括 18 次插入0 次删除
  1. 18 0
      components/drivers/Kconfig

+ 18 - 0
components/drivers/Kconfig

@@ -162,6 +162,24 @@ config RT_USING_WIFI
     bool "Using Wi-Fi network"
     default n
 
+    if RT_USING_WIFI
+        config RT_USING_WLAN_STA
+            bool "Using station mode"
+            default y
+
+        config RT_USING_WLAN_AP
+            bool "Using ap mode"
+            default n
+
+        config WIFI_DEVICE_STA_NAME
+            string "the wifi device name for station"
+            default "w0"
+
+        config WIFI_DEVICE_AP_NAME
+            string "the wifi device name for ap"
+            default "ap"
+    endif
+
 config RT_USING_AUDIO
     bool "Using Audio device drivers"
     default n