|
| 1 | +config PKG_USING_GD32VW55X_WIFI |
| 2 | + bool |
| 3 | + default y |
| 4 | + select RT_USING_LWIP |
| 5 | + select RT_USING_LIBC |
| 6 | + |
| 7 | +menu "GD32VW55x WIFI Configuration" |
| 8 | + |
| 9 | + config GD32VW55X_WIFI_STATION_MODE |
| 10 | + bool "Enable Station Mode" |
| 11 | + default y |
| 12 | + help |
| 13 | + Enable WIFI Station (STA) mode to connect to access points. |
| 14 | + |
| 15 | + config GD32VW55X_WIFI_SOFTAP_MODE |
| 16 | + bool "Enable SoftAP Mode" |
| 17 | + default n |
| 18 | + help |
| 19 | + Enable WIFI SoftAP mode to act as an access point. |
| 20 | + |
| 21 | + menu "Security Configuration" |
| 22 | + |
| 23 | + config GD32VW55X_WIFI_WPA_SECURITY |
| 24 | + bool "Enable WPA/WPA2 Security" |
| 25 | + default y |
| 26 | + help |
| 27 | + Enable WPA and WPA2 security protocols. |
| 28 | + |
| 29 | + config GD32VW55X_WIFI_WPA3_SECURITY |
| 30 | + bool "Enable WPA3 Security" |
| 31 | + default n |
| 32 | + depends on GD32VW55X_WIFI_WPA_SECURITY |
| 33 | + help |
| 34 | + Enable WPA3 security protocol (SAE). |
| 35 | + |
| 36 | + config GD32VW55X_WIFI_WPS_SUPPORT |
| 37 | + bool "Enable WPS (Wi-Fi Protected Setup)" |
| 38 | + default n |
| 39 | + help |
| 40 | + Enable WPS for easy network setup. |
| 41 | + |
| 42 | + endmenu |
| 43 | + |
| 44 | + menu "Advanced Configuration" |
| 45 | + |
| 46 | + config GD32VW55X_WIFI_TASK_STACK_SIZE |
| 47 | + int "WIFI Task Stack Size" |
| 48 | + default 4096 |
| 49 | + range 2048 8192 |
| 50 | + help |
| 51 | + Stack size for WIFI tasks in bytes. |
| 52 | + |
| 53 | + config GD32VW55X_WIFI_TASK_PRIORITY |
| 54 | + int "WIFI Task Priority" |
| 55 | + default 10 |
| 56 | + range 1 31 |
| 57 | + help |
| 58 | + Priority for WIFI management tasks. |
| 59 | + |
| 60 | + config GD32VW55X_WIFI_RX_BUFFER_SIZE |
| 61 | + int "WIFI RX Buffer Size" |
| 62 | + default 1600 |
| 63 | + range 1024 4096 |
| 64 | + help |
| 65 | + Receive buffer size for WIFI packets. |
| 66 | + |
| 67 | + config GD32VW55X_WIFI_MAX_SCAN_RESULTS |
| 68 | + int "Maximum Scan Results" |
| 69 | + default 32 |
| 70 | + range 8 128 |
| 71 | + help |
| 72 | + Maximum number of scan results to store. |
| 73 | + |
| 74 | + endmenu |
| 75 | + |
| 76 | + menu "Power Management" |
| 77 | + |
| 78 | + config GD32VW55X_WIFI_POWER_SAVE |
| 79 | + bool "Enable Power Save Mode" |
| 80 | + default n |
| 81 | + help |
| 82 | + Enable WIFI power saving features. |
| 83 | + |
| 84 | + if GD32VW55X_WIFI_POWER_SAVE |
| 85 | + |
| 86 | + config GD32VW55X_WIFI_PS_DTIM_PERIOD |
| 87 | + int "DTIM Period for Power Save" |
| 88 | + default 3 |
| 89 | + range 1 10 |
| 90 | + help |
| 91 | + DTIM period for power save mode. |
| 92 | + |
| 93 | + endif |
| 94 | + |
| 95 | + endmenu |
| 96 | + |
| 97 | + config GD32VW55X_WIFI_DEBUG |
| 98 | + bool "Enable WIFI Debug Output" |
| 99 | + default n |
| 100 | + help |
| 101 | + Enable detailed debug output for WIFI operations. |
| 102 | + |
| 103 | + if GD32VW55X_WIFI_DEBUG |
| 104 | + |
| 105 | + config GD32VW55X_WIFI_DEBUG_LEVEL |
| 106 | + int "Debug Level (0-4)" |
| 107 | + default 2 |
| 108 | + range 0 4 |
| 109 | + help |
| 110 | + Debug level: 0=None, 1=Error, 2=Warning, 3=Info, 4=Verbose |
| 111 | + |
| 112 | + endif |
| 113 | + |
| 114 | +endmenu |
0 commit comments