1
0
Эх сурвалжийг харах

[components][drivers]Kconfig更新

tangyuxin 7 жил өмнө
parent
commit
2f35ed0ec7

+ 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 n
+
+        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