Skip to content

Commit

Permalink
hostap: Cleanups related to Wi-Fi shell (zephyrproject-rtos#6)
Browse files Browse the repository at this point in the history
* Include HOSTAP_BASE to fix header file paths
* Select WEP automatically through Kconfig

Signed-off-by: Chaitanya Tata <[email protected]>
  • Loading branch information
krish2718 committed Sep 18, 2023
1 parent 359cc1d commit a7bd6d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/hostap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ zephyr_compile_definitions(

zephyr_include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/
${HOSTAP_BASE}/
${WPA_SUPPLICANT_BASE}/
${COMMON_SRC_BASE}/
)
Expand Down
4 changes: 4 additions & 0 deletions modules/hostap/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ config WPA_SUPP_THREAD_STACK_SIZE
int "Stack size for wpa_supplicant thread"
default 8192

config WEP
bool "WEP (Legacy crypto) support"

config WPA_SUPP_CRYPTO
bool "Crypto support for WiFi"
select WEP
default y

config WPA_SUPP_CRYPTO_ENTERPRISE
Expand Down

0 comments on commit a7bd6d8

Please sign in to comment.