Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
ce8fc6f
[nrf fromtree] hostap: only add STA interface when hostapd enabled
MaochenWang1 Sep 2, 2024
d6cc479
[nrf fromtree] zephyr: hostap: fix eap secure mode print UNKNOWN
GaofengZhangNXP Sep 23, 2024
9c115de
[nrf fromtree] hostap: add AP configuration cmd support
gangli02 Sep 20, 2024
7a0bcb5
[nrf fromtree] hostap: The security keys were checked in wrong function
jukkar Sep 27, 2024
a44d4f0
[nrf fromtree] net: wifi: shell: add reg domain support
Rex-Chen-NXP Sep 29, 2024
8e1d608
[nrf fromtree] hostap: Use proper value when generating supplicant event
jukkar Sep 25, 2024
785c667
[nrf fromtree] hostap: add crypto module test kconfig option
fengming-ye Sep 27, 2024
688382f
[nrf fromtree] modules: hostap: Use OS primitive even in native code
krish2718 Oct 6, 2024
2e611ac
[nrf fromtree] modules: hostap: Fix heap pool allocation
krish2718 Oct 6, 2024
da76688
[nrf fromtree] modules: hostap: Add missing default for max STAs in A…
krish2718 Oct 6, 2024
ccc94d3
[nrf fromtree] modules: hostap: Use the build time flag
krish2718 Oct 6, 2024
caeb8a0
[nrf fromtree] hostap: fix other STA failed to connect to SAP
MaochenWang1 Oct 8, 2024
08f7cf9
[nrf fromtree] hostap: add WPA-Auto-Personal(WPA2/WPA3 mixed) support
gangli02 Sep 20, 2024
bed2f3f
[nrf fromtree] modules: hostap: Add config options for EAP types
rado17 Oct 10, 2024
3dfc369
[nrf fromtree] modules: hostap: Add separate config for EAP-FAST
krish2718 Sep 19, 2024
6a31ccf
[nrf fromtree] modules: hostap: Fix checks for Enterprise security
krish2718 Sep 19, 2024
eacb34e
[nrf fromtree] hostap: fix DUT hang when start SAP on wrong channel
MaochenWang1 Oct 15, 2024
b39653f
[nrf fromtree] drivers: nrfwifi: Fix random MAC address setting
krish2718 Oct 8, 2024
272ca5f
[nrf fromtree] west.yml: update hostap revision
jukkar Sep 25, 2024
9ee02e1
[nrf fromtree] west.yml: update hostap revision
fengming-ye Sep 27, 2024
fba27c6
[nrf fromtree] manifest: hostap: Pull fixes from NCS
krish2718 Oct 6, 2024
3e8d51b
[nrf fromtree] manifest: hostap: Pull fix for duplicate AP enable event
krish2718 Oct 9, 2024
f217f0a
[nrf fromtree] modules: hal_nordic: Add global domain power request s…
Rafal-Nordic Oct 1, 2024
4d7f9f2
[nrf fromtree] manifest: update hal_nordic revision for offloaded raw…
kapbh Oct 14, 2024
36f77e3
[nrf fromtree] manifest: Update hostap to fix build error
MaochenWang1 Oct 14, 2024
ac3476d
[nrf fromtree] drivers: nrfwifi: Create separate offloaded raw tx mode
kapbh Sep 9, 2024
2c78fb8
[nrf fromtree] wifi: Add wrapper APIs for offloaded raw TX feature
kapbh Sep 27, 2024
d2c28bd
Revert "[nrf fromtree] drivers: nrfwifi: Use Zephyr tooling to load n…
krish2718 Oct 24, 2024
7828e60
[nrf fromtree] drivers: nrfwifi: Fix rebuilding when FW blobs are cha…
krish2718 Oct 5, 2024
8170407
[nrf fromtree] Revert "drivers: nrfwifi: Fix rebuilding when FW blobs…
krish2718 Oct 9, 2024
682a5d0
[nrf fromtree] drivers: nrfwifi: Use Zephyr tooling to load nRF70 FW …
krish2718 Oct 9, 2024
eff5cb8
[nrf fromtree] drivers: wifi: Fix RPU recovery not being triggered
krish2718 Jul 8, 2024
95c1392
[nrf fromtree] drivers: wifi: nrf700x: Ignore all failures in iface down
krish2718 Jul 9, 2024
ba7b377
[nrf fromtree] drivers: wifi: Add a sanity check for RPU comms
krish2718 Jul 9, 2024
cbd9a1d
[nrf fromtree] drivers: wifi: Add support for separate debugs for RPU…
krish2718 Jul 9, 2024
186c230
[nrf fromtree] drivers: wifi: Increase the propogation delay
krish2718 Jul 11, 2024
4afc430
[nrf fromtree] drivers: wifi: Ignore parallel recovery requests
krish2718 Jul 13, 2024
369f37b
[nrf fromtree] drivers: wifi: Add quiet period for RPU recovery
krish2718 Jul 13, 2024
d8d877d
[nrf fromtree] drivers: wifi: Fix the NULL check
krish2718 Jul 13, 2024
b8a277b
[nrf fromtree] drivers: wifi: Add RPU recovery retry mechanism
krish2718 Jul 13, 2024
9a95663
[nrf fromtree] drivers: wifi: Fix RPU recovery disabled build failures
krish2718 Jul 17, 2024
cdc3faa
[nrf fromtree] drivers: wifi: Fix TX buffers leak
krish2718 Jul 17, 2024
6949bc4
[nrf fromtree] drivers: wifi: Add PS state debugs
krish2718 Jul 18, 2024
8fb6a35
[nrf fromtree] drivers: wifi: Enable management buffers offload
krish2718 Jul 18, 2024
c55d469
[nrf fromtree] drivers: wifi: Increase default PS active timeout inte…
krish2718 Aug 6, 2024
9326b6a
[nrf fromtree] drivers: wifi: Add support for keepalive
krish2718 Aug 6, 2024
43050d8
[nrf fromtree] drivers: wifi: Fix shell hang
krish2718 Sep 2, 2024
f2a5bb6
[nrf fromtree] drivers: wifi: Use mutex for spinlock
krish2718 Sep 4, 2024
1bd11d6
[nrf fromtree] drivers: wifi: Add PS exit strategy runtime configuration
ajayparida Sep 3, 2024
ce1aa65
[nrf fromtree] drivers: wifi: Fix crash when recovery is triggered
krish2718 Sep 11, 2024
6939fff
[nrf fromtree] drivers: wifi: Fix missing unlock for stats
krish2718 Sep 12, 2024
122c251
[nrf fromtree] drivers: wifi: Fix mutex re-initialization
krish2718 Sep 13, 2024
924e1fb
[nrf fromtree] wifi_mgmt: Add support for configuring PS exit strategy
ajayparida Sep 3, 2024
e9daacf
[nrf fromtree] drivers: nrfwifi: Fix build errors when Util is enabled
krish2718 Oct 7, 2024
7086163
Revert "[nrf noup] samples: net: wifi: Enable Wi-Fi driver in sysbuil…
krish2718 Oct 21, 2024
4057926
[nrf fromtree] samples: net: wifi: Enable nRF70 Util in nRF70 build
krish2718 Oct 7, 2024
d42f4ab
[nrf fromtree] drivers: nrfwifi: Fix build error
krish2718 Oct 15, 2024
8c25a76
[nrf fromtree] modules: hostap: fix DPP build error
fengming-ye Oct 16, 2024
9ebb07f
[nrf fromtree] doc: wifi: Update enumeration for EAP-TLS
krish2718 Sep 19, 2024
ccc32a5
[nrf fromtree] doc: wifi: Update build command for Enterprise mode
krish2718 Oct 6, 2024
be9fb74
[nrf fromtree] samples: net: wifi: enable time checking for mbedtls c…
Rex-Chen-NXP Sep 29, 2024
f529cba
[nrf fromtree] samples: wifi: Add overlays for Enterprise mode
krish2718 Sep 19, 2024
3c0b770
[nrf fromtree] net: l2: wifi: ensure certificates directory is created
danieldegrasse Sep 19, 2024
2734a46
[nrf fromtree] net: wifi: shell: enhance consistency in `cmd_wifi_dpp…
ndrs-pst Sep 21, 2024
1d17d62
Revert "[nrf fromlist] net: wifi: Fix DPP disabled build"
krish2718 Oct 21, 2024
b3e4256
[nrf fromtree] net: wifi: Fix DPP disabled build
krish2718 Sep 30, 2024
741d6b1
[nrf fromtree] wifi: shell: Add missing newlines when printing error
jukkar Oct 9, 2024
510fa10
[nrf fromtree] wifi: shell: btm_query: Fix invalid pointer cast
jukkar Oct 9, 2024
ac5503d
[nrf fromtree] net: wifi: Fix PEM certificate parsing errors
krish2718 Sep 19, 2024
221e84c
[nrf fromtree] net: l2: wifi: fix AP sets band failed with channel 0
MaochenWang1 Oct 16, 2024
9db5ca2
[nrf fromtree] modules: hostap: Fix memory leak of network
krish2718 Oct 11, 2024
1494234
[nrf fromtree] manifest: hostap: Pull fix for WPA3 connection
krish2718 Oct 11, 2024
6d32a85
[nrf fromtree] manifest: hal_nordic: include lpcomp-int-dis-on-stop p…
bjarki-andreasen Oct 14, 2024
12a926a
[nrf fromtree] manifest: Pull promiscuous mode filtering support in d…
VivekUppunda Oct 7, 2024
fd3a7a7
[nrf fromtree] drivers: wifi: nrfwifi: Promiscuous mode filtering sup…
VivekUppunda Oct 7, 2024
0a0394e
[nrf fromtree] drivers: wifi: nrfwifi: Add promiscuous mode support f…
VivekUppunda Oct 8, 2024
a999f54
[nrf fromtree] drivers: wifi: Add regulatory debug log
krish2718 Oct 15, 2024
cc42569
[nrf fromtree] manifest: hal_nordic: Pull the flag to identify unsoli…
krish2718 Oct 15, 2024
b725825
[nrf fromtree] drivers: wifi: Fix memory leak in regulatory processing
krish2718 Oct 15, 2024
4b12f2d
[nrf fromtree] drivers: wifi: Clean up exit path
krish2718 Oct 15, 2024
2789cd1
[nrf fromtree] drivers: nrfwifi: Remove non-existing member
krish2718 Oct 16, 2024
b91d129
[nrf fromlist] net: ip: Add a name to existing Kconfig choice
D-Triveni Oct 3, 2024
8a39d2d
[nrf fromlist] drivers: wifi: nrfwifi: Enable variable network config…
D-Triveni Sep 19, 2024
33055a6
[nrf fromlist] dts: bindings: wifi: split nrf700x coex and wifi models
bjarki-andreasen Oct 9, 2024
7ae1230
[nrf fromlist] boards: nordic: nrf7002dk: align with nrf700x split in…
bjarki-andreasen Oct 9, 2024
361b9a1
[nrf fromlist] boards: shields: nrf7002eb: align with nrf700x split i…
bjarki-andreasen Oct 9, 2024
c374842
[nrf fromlist] boards: shields: nrf7002ek: align with nrf700x split i…
bjarki-andreasen Oct 9, 2024
c5755a0
[nrf fromtree] drivers: wifi: Add Kconfig option for passive scan
kapbh Oct 17, 2024
5cd1ac8
[nrf fromtree] drivers: nrfwifi: Allow scan-only for all platforms
krish2718 Oct 18, 2024
afed0cf
[nrf fromtree] drivers: wifi: Add changes for regulatory domain
kapbh Oct 18, 2024
c4b0c44
[nrf fromtree] manifest: update hal_nordic revision for regularity do…
kapbh Oct 22, 2024
a31cf00
[nrf fromtree] modules: hostap: fix DPP build error
fengming-ye Oct 16, 2024
1a944de
[nrf fromtree] net: wifi: shell: add wps support
Rex-Chen-NXP Aug 20, 2024
31ed61b
[nrf fromtree] net: fix build error in DPP struct
MaochenWang1 Oct 8, 2024
86ab240
[nrf fromtree] hostapd: add ap status in l2 wifi
GaofengZhangNXP Sep 29, 2024
d78fde3
[nrf fromtree] wifi: Refactor wifi-shell to allow external subcommands
jukkar Oct 9, 2024
02ae973
[nrf fromtree] net: wifi: shell: add enterprise support for station
Rex-Chen-NXP Sep 24, 2024
80d475f
[nrf fromtree] hostap: Remove extra IEEE8021X_EAPOL as it was mention…
jukkar Oct 17, 2024
b55c9c2
[nrf fromtree] hostap: Fix hostapd AP compilation error
jukkar Oct 17, 2024
6db183c
[nrf fromtree] hostap: Add ip-addr.c compilation to the build
jukkar Oct 17, 2024
56d4331
[nrf fromtree] hostap: P2P needs EAPOL to select it
jukkar Oct 17, 2024
256e3bc
[nrf fromtree] hostap: Fix compilation error when enterprise support …
jukkar Oct 17, 2024
58830e2
[nrf fromtree] hostap: Enterprise mode needs sha1-internal.c
jukkar Oct 17, 2024
68b6b12
[nrf fromtree] hostap: Fix crypto=none compilation
jukkar Oct 17, 2024
dbb93b4
[nrf fromtree] hostap: Remove not found hostapd functions
jukkar Oct 18, 2024
143fbbf
[nrf fromtree] hostap: Add needed include files to fix compilation
jukkar Oct 18, 2024
442fabd
[nrf fromtree] hostap: Avoid warning of different enum mapping
jukkar Oct 18, 2024
d7ef1ca
[nrf fromtree] tests: net: wifi: Add build test for various config co…
jukkar Oct 17, 2024
8315cac
[nrf fromtree] manifest: hostap: Pull compile error fixes
jukkar Oct 18, 2024
744e1cc
[nrf fromtree] modules: hostap: Add a config option for WPA control t…
krish2718 Oct 19, 2024
b1e6560
[nrf fromlist] net: l2: wifi: Add checks for cert header creation
rado17 Oct 22, 2024
9e92552
[nrf fromtree] manifest: hal_nordic: Pull fix for build errors
krish2718 Oct 21, 2024
2e630ca
[nrf fromtree] drivers: nrfwifi: Fix a build error
krish2718 Oct 21, 2024
472fafb
[nrf fromtree] samples: wifi: Fix missing CONFIG for the option
krish2718 Oct 21, 2024
3c17f74
[nrf fromlist] manifest: hostap: Pull fix for build error
krish2718 Oct 23, 2024
682ca04
[nrf noup] modules: hostap: Support Wi-Fi EAP-TLS mode
rado17 Oct 8, 2024
0453d82
[nrf noup] samples: net: wifi: Changes for EAP-TLS support
rado17 Oct 8, 2024
5c0c132
[nrf noup] modules: hostap: Add NCS PSA for hostap crypto ALT
krish2718 Oct 17, 2024
3029ae8
[nrf noup] samples: net: wifi: Enable Wi-Fi driver in sysbuild builds
krish2718 Oct 10, 2024
87ac9b8
[nrf noup] modules: hostap: Fix duplicate define warning
krish2718 Oct 21, 2024
4793f63
[nrf noup] boards: nordic: 7002dk_ns: Fix missing co-ex
krish2718 Oct 21, 2024
b36b6fe
[nrf noup] modules: hostap: Fix NS build
krish2718 Oct 22, 2024
dd331a3
[nrf noup] samples: net: wifi: Update certificates
krish2718 Oct 22, 2024
b1f1e2f
[nrf noup] modules: hostap: Add NCS PSA for hostap crypto ALT
krish2718 Oct 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion boards/nordic/nrf7002dk/nrf7002dk_nrf5340_cpuapp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
qspi-quad-mode;

#include "nrf70_common.dtsi"
#include "nrf70_common_coex.dtsi"
#include "nrf70_common_5g.dtsi"
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,5 @@
qspi-quad-mode;

#include "nrf70_common.dtsi"
#include "nrf70_common_coex.dtsi"
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,5 @@
qspi-quad-mode;

#include "nrf70_common.dtsi"
#include "nrf70_common_coex.dtsi"
};
};
1 change: 0 additions & 1 deletion boards/nordic/nrf7002dk/nrf7002dk_nrf5340_cpuapp_ns.dts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
qspi-quad-mode;

#include "nrf70_common.dtsi"
#include "nrf70_common_coex.dtsi"
#include "nrf70_common_5g.dtsi"
};
};
7 changes: 5 additions & 2 deletions boards/nordic/nrf7002dk/nrf7002dk_nrf5340_cpunet.dts
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,12 @@

nrf70: coex {
status = "okay";
compatible = "nordic,nrf70-coex";
compatible = "nordic,nrf7002-coex";

#include "nrf70_common_coex.dtsi"
req-gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
status0-gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
grant-gpios = <&gpio0 24 (GPIO_PULL_DOWN | GPIO_ACTIVE_LOW)>;
swctrl1-gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
};

/* These aliases are provided for compatibility with samples */
Expand Down
1 change: 1 addition & 0 deletions boards/nordic/nrf7002dk/nrf70_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
iovdd-ctrl-gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
bucken-gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
host-irq-gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>;
srrf-switch-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;

wifi-max-tx-pwr-2g-dsss = <21>;
wifi-max-tx-pwr-2g-mcs0 = <16>;
Expand Down
11 changes: 0 additions & 11 deletions boards/nordic/nrf7002dk/nrf70_common_coex.dtsi

This file was deleted.

13 changes: 8 additions & 5 deletions boards/shields/nrf7002eb/nrf7002eb_coex.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include "nrf7002eb.overlay"
/ {
nrf70: coex {
compatible = "nordic,nrf7002-coex";
status = "okay";

&nrf70 {
status0-gpios = <&edge_connector 5 GPIO_ACTIVE_HIGH>;
req-gpios = <&edge_connector 6 GPIO_ACTIVE_HIGH>;
grant-gpios = <&edge_connector 15 (GPIO_PULL_DOWN | GPIO_ACTIVE_LOW)>;
status0-gpios = <&edge_connector 5 GPIO_ACTIVE_HIGH>;
req-gpios = <&edge_connector 6 GPIO_ACTIVE_HIGH>;
grant-gpios = <&edge_connector 15 (GPIO_PULL_DOWN | GPIO_ACTIVE_LOW)>;
};
};
3 changes: 3 additions & 0 deletions boards/shields/nrf7002ek/Kconfig.shield
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ config SHIELD_NRF7002EK_NRF7001

config SHIELD_NRF7002EK_NRF7000
def_bool $(shields_list_contains,nrf7002ek_nrf7000)

config SHIELD_NRF7002EK_COEX
def_bool $(shields_list_contains,nrf7002ek_coex)
13 changes: 7 additions & 6 deletions boards/shields/nrf7002ek/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,25 @@ SR Co-existence
###############

The nRF7002 EK supports SR co-existence provided the host board supports it. The SR co-existence
pins are connected to the host board's GPIO pins.
pins are connected to the host board's GPIO pins. The interface is selected by setting
``--shield nrf7002ek_coex`` when invoking ``west build``.

Two Kconfig options are available to enable SR co-existence:

- :kconfig:option:`CONFIG_NRF70_SR_COEX`: Enables SR co-existence.
- :kconfig:option:`CONFIG_NRF70_SR_COEX`: Enables SR co-existence driver.
- :kconfig:option:`CONFIG_NRF70_SR_COEX_RF_SWITCH`: Control SR side RF switch.

Shield Variants
###############

The nRF7002 EK is available in three variants:
The nRF7002 EK is available in four variants:

- ``nrf7002ek``: The default variant.
- ``nrf7002ek_nrf7001``: Variant for the nRF7001 SoC or nRF7002 SoC emulating nRF7001
that supports only 2.4GHz Wi-Fi.
that supports only 2.4GHz Wi-Fi.
- ``nrf7002ek_nrf7000``: Variant for the nRF7000 SoC or nRF7002 SoC emulating nRF7000
that supports only 2.4GHz Wi-Fi.

that supports only 2.4GHz Wi-Fi.
- ``nrf7002ek_coex``: Variant for the SR co-existence interface

References
**********
Expand Down
21 changes: 21 additions & 0 deletions boards/shields/nrf7002ek/nrf7002ek_coex.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
* Copyright (c) 2024 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/

/ {
nrf70: coex {
compatible = "nordic,nrf7002-coex";
status = "okay";

/* D2 */
status0-gpios = <&arduino_header 8 GPIO_ACTIVE_HIGH>;
/* D3 */
req-gpios = <&arduino_header 9 GPIO_ACTIVE_HIGH>;
/* D4 */
grant-gpios = <&arduino_header 10 (GPIO_PULL_DOWN | GPIO_ACTIVE_LOW)>;
/* D6 */
swctrl1-gpios = <&arduino_header 12 GPIO_ACTIVE_HIGH>;
};
};
9 changes: 1 addition & 8 deletions boards/shields/nrf7002ek/nrf7002ek_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,8 @@ iovdd-ctrl-gpios = <&arduino_header 6 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
bucken-gpios = <&arduino_header 7 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
/* D7 */
host-irq-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>;

/* Short-range (SR) co-existence */
/* D2 */
status0-gpios = <&arduino_header 8 GPIO_ACTIVE_HIGH>;
/* D3 */
req-gpios = <&arduino_header 9 GPIO_ACTIVE_HIGH>;
/* D4 */
grant-gpios = <&arduino_header 10 (GPIO_PULL_DOWN | GPIO_ACTIVE_LOW)>;
/* D6 */
swctrl1-gpios = <&arduino_header 12 GPIO_ACTIVE_HIGH>;
/* D8 */
srrf-switch-gpios = <&arduino_header 14 GPIO_ACTIVE_HIGH>;

Expand Down
19 changes: 13 additions & 6 deletions doc/connectivity/networking/api/wifi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,28 @@ module.
$ cp client.pem samples/net/wifi/test_certs/
$ cp client-key.pem samples/net/wifi/test_certs/
$ cp ca.pem samples/net/wifi/test_certs/
$ west build -p -b <board> samples/net/wifi
$ cp client2.pem samples/net/wifi/test_certs/
$ cp client-key2.pem samples/net/wifi/test_certs/
$ cp ca2.pem samples/net/wifi/test_certs/
$ west build -p -b <board> samples/net/wifi -- -DEXTRA_CONF_FILE=overlay-enterprise.conf

For using variable size network buffer, the following overlay file can be used:

.. code-block:: bash

$ west build -p -b <board> samples/net/wifi -- -DEXTRA_CONF_FILE=overlay-enterprise-variable-bufs.conf



To initiate Wi-Fi connection, the following command can be used:

.. code-block:: console

uart:~$ wifi connect -s <SSID> -k 5 -a anon -K whatever
uart:~$ wifi connect -s <SSID> -c 149 -k 17 -w 2 -a client1 --key1-pwd whatever --key2-pwd whatever --eap-id1 id1 --eap-pwd1 pwd1

Server certificate is also provided in the same directory for testing purposes.
Any AAA server can be used for testing purposes, for example, ``FreeRADIUS`` or ``hostapd``.

.. important::

The passphrase for the :file:`client-key.pem`` and the :file:`server-key.pem` is ``whatever``.

.. note::

The certificates are for testing purposes only and should not be used in production.
Expand Down
48 changes: 44 additions & 4 deletions drivers/wifi/nrfwifi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,15 @@ zephyr_include_directories_ifdef(CONFIG_NRF70_RADIO_TEST
${OS_AGNOSTIC_BASE}/fw_if/umac_if/inc/radio_test
)

zephyr_include_directories_ifndef(CONFIG_NRF70_RADIO_TEST
${OS_AGNOSTIC_BASE}/fw_if/umac_if/inc/default
zephyr_include_directories_ifdef(CONFIG_NRF70_OFFLOADED_RAW_TX
${OS_AGNOSTIC_BASE}/fw_if/umac_if/inc/offload_raw_tx
off_raw_tx/inc
)

if(NOT CONFIG_NRF70_RADIO_TEST AND NOT CONFIG_NRF70_OFFLOADED_RAW_TX)
zephyr_include_directories(${OS_AGNOSTIC_BASE}/fw_if/umac_if/inc/default)
endif()

zephyr_library_sources_ifdef(CONFIG_NRF70_SR_COEX
src/coex.c
)
Expand All @@ -57,23 +62,28 @@ zephyr_library_sources(
src/shim.c
src/work.c
src/timer.c
src/fmac_main.c
src/qspi/src/device.c
src/qspi/src/rpu_hw_if.c
src/qspi/src/ficr_prog.c
)

zephyr_library_sources_ifndef(CONFIG_NRF70_OFFLOADED_RAW_TX
src/fmac_main.c
)

zephyr_library_sources_ifdef(CONFIG_NRF_WIFI_PATCHES_BUILTIN
src/fw_load.c
)

zephyr_library_sources_ifndef(CONFIG_NRF70_RADIO_TEST
if(NOT CONFIG_NRF70_RADIO_TEST AND NOT CONFIG_NRF70_OFFLOADED_RAW_TX)
zephyr_library_sources(
${OS_AGNOSTIC_BASE}/fw_if/umac_if/src/rx.c
${OS_AGNOSTIC_BASE}/fw_if/umac_if/src/fmac_vif.c
${OS_AGNOSTIC_BASE}/fw_if/umac_if/src/fmac_util.c
src/net_if.c
${OS_AGNOSTIC_BASE}/fw_if/umac_if/src/default/fmac_api.c
)
endif()

zephyr_library_sources_ifdef(CONFIG_NET_L2_WIFI_MGMT
src/wifi_mgmt_scan.c
Expand All @@ -88,6 +98,12 @@ zephyr_library_sources_ifdef(CONFIG_NRF70_RADIO_TEST
${OS_AGNOSTIC_BASE}/fw_if/umac_if/src/fmac_util.c
)

zephyr_library_sources_ifdef(CONFIG_NRF70_OFFLOADED_RAW_TX
${OS_AGNOSTIC_BASE}/fw_if/umac_if/src/offload_raw_tx/fmac_api.c
${OS_AGNOSTIC_BASE}/fw_if/umac_if/src/fmac_util.c
off_raw_tx/src/off_raw_tx_api.c
)

zephyr_library_sources_ifdef(CONFIG_NRF70_DATA_TX
${OS_AGNOSTIC_BASE}/fw_if/umac_if/src/tx.c
${OS_AGNOSTIC_BASE}/fw_if/umac_if/src/fmac_peer.c
Expand All @@ -112,6 +128,10 @@ zephyr_library_sources_ifdef(CONFIG_NRF70_STA_MODE
${OS_AGNOSTIC_BASE}/fw_if/umac_if/src/fmac_util.c
)

zephyr_library_sources_ifdef(CONFIG_NRF70_PROMISC_DATA_RX
${OS_AGNOSTIC_BASE}/fw_if/umac_if/src/fmac_promisc.c
)

zephyr_library_sources_ifdef(CONFIG_NRF70_ON_QSPI
src/qspi/src/qspi_if.c
)
Expand Down Expand Up @@ -152,6 +172,8 @@ elseif(CONFIG_NRF_WIFI_PATCHES_BUILTIN)
set(NRF70_PATCH ${FW_BINS_BASE}/scan_only/nrf70.bin)
elseif (CONFIG_NRF70_SYSTEM_WITH_RAW_MODES)
set(NRF70_PATCH ${FW_BINS_BASE}/system_with_raw/nrf70.bin)
elseif(CONFIG_NRF70_OFFLOADED_RAW_TX)
set(NRF70_PATCH ${FW_BINS_BASE}/offloaded_raw_tx/nrf70.bin)
else()
# Error
message(FATAL_ERROR "Unsupported nRF70 patch configuration")
Expand Down Expand Up @@ -231,6 +253,10 @@ zephyr_compile_definitions_ifdef(CONFIG_NRF70_RADIO_TEST
-DNRF70_RADIO_TEST
)

zephyr_compile_definitions_ifdef(CONFIG_NRF70_OFFLOADED_RAW_TX
-DNRF70_OFFLOADED_RAW_TX
)

zephyr_compile_definitions_ifdef(CONFIG_NRF70_TCP_IP_CHECKSUM_OFFLOAD
-DNRF70_TCP_IP_CHECKSUM_OFFLOAD
)
Expand Down Expand Up @@ -263,6 +289,18 @@ zephyr_compile_definitions_ifdef(CONFIG_NRF70_AP_MODE
-DNRF70_AP_MODE
)

zephyr_compile_definitions_ifdef(CONFIG_NRF_WIFI_MGMT_BUFF_OFFLOAD
-DNRF_WIFI_MGMT_BUFF_OFFLOAD
)

zephyr_compile_definitions_ifdef(CONFIG_NRF_WIFI_FEAT_KEEPALIVE
-DNRF_WIFI_FEAT_KEEPALIVE
)

zephyr_compile_definitions_ifdef(CONFIG_NRF_WIFI_FEAT_KEEPALIVE
-DNRF_WIFI_KEEPALIVE_PERIOD_S=${CONFIG_NRF_WIFI_KEEPALIVE_PERIOD_S}
)

zephyr_compile_definitions(
-DNRF70_RX_NUM_BUFS=${CONFIG_NRF70_RX_NUM_BUFS}
-DNRF70_MAX_TX_TOKENS=${CONFIG_NRF70_MAX_TX_TOKENS}
Expand Down Expand Up @@ -304,4 +342,6 @@ zephyr_compile_definitions(
-DNRF70_ANT_GAIN_5G_BAND1=${CONFIG_NRF70_ANT_GAIN_5G_BAND1}
-DNRF70_ANT_GAIN_5G_BAND2=${CONFIG_NRF70_ANT_GAIN_5G_BAND2}
-DNRF70_ANT_GAIN_5G_BAND3=${CONFIG_NRF70_ANT_GAIN_5G_BAND3}
-DNRF_WIFI_PS_INT_PS=${CONFIG_NRF_WIFI_PS_INT_PS}
-DNRF_WIFI_RPU_RECOVERY_PS_ACTIVE_TIMEOUT_MS=${CONFIG_NRF_WIFI_RPU_RECOVERY_PS_ACTIVE_TIMEOUT_MS}
)
Loading
Loading