Skip to content

Commit

Permalink
WIP: Wifi comment out Kconfigs
Browse files Browse the repository at this point in the history
  • Loading branch information
frkv committed Sep 9, 2024
1 parent 6ef1d2b commit 2b7911e
Showing 1 changed file with 30 additions and 28 deletions.
58 changes: 30 additions & 28 deletions drivers/wifi/nrf700x/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -546,34 +546,36 @@ endif

config WIFI_FIXED_MAC_ADDRESS
string "WiFi Fixed MAC address in format XX:XX:XX:XX:XX:XX"
help
This overrides the MAC address read from OTP. Strictly for testing purposes only.

choice
prompt "Wi-Fi MAC address type"
default WIFI_OTP_MAC_ADDRESS if WIFI_FIXED_MAC_ADDRESS = ""
default WIFI_FIXED_MAC_ADDRESS_ENABLED if WIFI_FIXED_MAC_ADDRESS != ""
help
Select the type of MAC address to be used by the Wi-Fi driver

config WIFI_OTP_MAC_ADDRESS
bool "Use MAC address from OTP"
help
This option uses the MAC address stored in the OTP memory of the nRF700x.

config WIFI_FIXED_MAC_ADDRESS_ENABLED
bool "Enable fixed MAC address"
help
Enable fixed MAC address

config WIFI_RANDOM_MAC_ADDRESS
bool "Enable random MAC address generation at runtime"
depends on ENTROPY_GENERATOR
help
This option enables random MAC address generation at runtime.
The random MAC address is generated using the entropy device random generator.

endchoice
# help
# This overrides the MAC address read from OTP. Strictly for testing purposes only.
#
#
#
#choice WIFI_MAC_ADDRESS_TYPE
# prompt "Wi-Fi MAC address type"
# default WIFI_OTP_MAC_ADDRESS if WIFI_FIXED_MAC_ADDRESS = ""
# default WIFI_FIXED_MAC_ADDRESS_ENABLED if WIFI_FIXED_MAC_ADDRESS != ""
# help
# Select the type of MAC address to be used by the Wi-Fi driver
#
#config WIFI_OTP_MAC_ADDRESS
# bool "Use MAC address from OTP"
# help
# This option uses the MAC address stored in the OTP memory of the nRF700x.
#
#config WIFI_FIXED_MAC_ADDRESS_ENABLED
# bool "Enable fixed MAC address"
# help
# Enable fixed MAC address
#
#config WIFI_RANDOM_MAC_ADDRESS
# bool "Enable random MAC address generation at runtime"
# depends on ENTROPY_GENERATOR
# help
# This option enables random MAC address generation at runtime.
# The random MAC address is generated using the entropy device random generator.
#
#endchoice

config NRF700X_RSSI_STALE_TIMEOUT_MS
int "RSSI stale timeout in milliseconds"
Expand Down

0 comments on commit 2b7911e

Please sign in to comment.