Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

AP connection support #144

Merged
merged 10 commits into from
Jan 5, 2024
Merged

AP connection support #144

merged 10 commits into from
Jan 5, 2024

Conversation

krish2718
Copy link
Collaborator

No description provided.

src/drivers/driver_zephyr.c Outdated Show resolved Hide resolved
src/drivers/driver_zephyr.c Outdated Show resolved Hide resolved
src/drivers/driver_zephyr.c Outdated Show resolved Hide resolved
src/drivers/driver_zephyr.c Outdated Show resolved Hide resolved
src/drivers/driver_zephyr.c Outdated Show resolved Hide resolved
src/drivers/driver_zephyr.c Outdated Show resolved Hide resolved
src/drivers/driver_zephyr.c Outdated Show resolved Hide resolved
src/drivers/driver_zephyr.c Outdated Show resolved Hide resolved
src/drivers/driver_zephyr.c Outdated Show resolved Hide resolved
src/drivers/driver_zephyr.c Outdated Show resolved Hide resolved
src/drivers/driver_zephyr.c Outdated Show resolved Hide resolved
src/drivers/driver_zephyr.c Outdated Show resolved Hide resolved
src/drivers/driver_zephyr.c Show resolved Hide resolved
src/drivers/driver_zephyr.c Outdated Show resolved Hide resolved
src/drivers/driver_zephyr.c Outdated Show resolved Hide resolved
src/drivers/driver_zephyr.c Outdated Show resolved Hide resolved
fixup! [nrf noup] zephyr: Implement basic AP ops

Add necessary ops to get basic open connection working.

Implements SHEL-2256 partially.

Signed-off-by: Chaitanya Tata <[email protected]>
fixup! [nrf noup] zephyr: Implement basic AP ops

This is needed in AP as MLME is implemented in WPA supplicant/hostapd.

Signed-off-by: Chaitanya Tata <[email protected]>
fixup! [nrf noup] zephyr: Redesign the events passing to wpa_supplicant from driver

The management frame structure in the WPA supplicant only has a pointer,
so, it need a deep-copy before passing it to WPA supplicant, else driver
ends up freeing causing invalid memory contents.

Signed-off-by: Chaitanya Tata <[email protected]>
This is needed to send EAPoL packets in AP mode, for now we use the L2
packet interface that is used in STA mode as well.

Signed-off-by: Chaitanya Tata <[email protected]>
Remove trailing whitespace.

Signed-off-by: Chaitanya Tata <[email protected]>
fixup! [nrf noup] zephyr: Implement connect and disconnect events to Zephyr

Helpers will abstract the logic from the core WPA supplicant.

Signed-off-by: Chaitanya Tata <[email protected]>
For now just success or failure due to channel is implemented.

Implements SHEL-2343.

Signed-off-by: Chaitanya Tata <[email protected]>
These events notify the Wi-Fi management about Station connection and
disconnection.

Implements SHEL-2345.

Signed-off-by: Chaitanya Tata <[email protected]>
fixup! [nrf noup] zephyr: Implement basic AP ops

Without this the management frame registrations are skipped causing
issue with scanning and association.

Signed-off-by: Chaitanya Tata <[email protected]>
There is no NULL check done and it is assigned immediately, so, no need
for extra NULL assignment.

Signed-off-by: Chaitanya Tata <[email protected]>
@krish2718 krish2718 merged commit 7bf2058 into nrfconnect:main Jan 5, 2024
1 check passed
@krish2718 krish2718 deleted the ap_open_conn branch January 5, 2024 10:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants