Pārlūkot izejas kodu

Merge pull request #1507 from enkiller/dev

[components][drivers]Kconfig更新
aozima 7 gadi atpakaļ
vecāks
revīzija
6be8da9464
1 mainītis faili ar 18 papildinājumiem un 0 dzēšanām
  1. 18 0
      components/drivers/Kconfig

+ 18 - 0
components/drivers/Kconfig

@@ -162,6 +162,24 @@ config RT_USING_WIFI
     bool "Using Wi-Fi network"
     bool "Using Wi-Fi network"
     default n
     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
 config RT_USING_AUDIO
     bool "Using Audio device drivers"
     bool "Using Audio device drivers"
     default n
     default n