Commit Graph

44 Commits

Author SHA1 Message Date
Joost Buijgers
350a15a0cd make bluetooth module public 2024-10-11 12:18:04 +02:00
Dario Nieuwenhuis
b9a1aaea5b cyw43: add support for WPA3 and more extensive security options. 2024-09-09 02:13:25 +02:00
Dario Nieuwenhuis
6b21f6d3d1 cyw43: log ioctls. 2024-09-09 02:13:25 +02:00
Dario Nieuwenhuis
3ac38e917c cyw43: use enum for ioctl instead of consts. 2024-09-09 02:13:25 +02:00
Dario Nieuwenhuis
ad4df1c1ad cyw43: make sure to yield if doing busy-polling for interrupts. 2024-08-09 01:07:52 +02:00
Dario Nieuwenhuis
4f7ac1946a cyw43: add Bluetooth support.
Co-Authored-By: Brandon Ros <brandonros1@gmail.com>
2024-08-05 21:07:42 +02:00
Vicente
29d79d3af2 Added doc comment to a public enum variant 2024-07-25 20:01:19 +02:00
Vicente
da5ecd29f1 Formmating 2024-07-25 19:55:54 +02:00
Vicente
6eb447eb58 Adding pub struct docs
cyw43::ScanOptions
2024-07-25 19:45:52 +02:00
Vicente
3efbd60a90 Fixing missing re-export
cyw::control::ScanOptions
2024-07-25 19:24:37 +02:00
Tarun Singh
a716a3f006 Reduced define for 'unreachable!' to a single macro rule 2024-07-17 17:05:52 -04:00
Dario Nieuwenhuis
6a4ac5bd60 Add collapse_debuginfo to fmt.rs macros.
This makes location info in defmt logs point to the code calling the macro,
instead of always to fmt.rs as before. Fix works with nightlies
starting with today's, and stable 1.81+.
2024-06-17 01:38:57 +02:00
Gustav Toft
3610799618 Added docs. 2024-06-05 08:33:55 +02:00
Gustav Toft
a516dbd5e2 CYW43: Add function to close existing soft AP 2024-06-05 08:14:35 +02:00
Dion Dokter
f3008597aa Fix cyw43 2024-05-20 15:49:11 +02:00
Cirrus
3db771f4b6 Make join_wpa2_passphrase_info private 2024-04-28 16:04:52 -07:00
Cirrus
7432c4069b passphrase_info does not have to be passed &mut 2024-04-28 15:34:54 -07:00
Cirrus
d2f6ce5afd cyw43: Add function to join WPA2 network with precomputed PSK.
With flags = 0 in PassphraseInfo, CYW firmware skips the PBKDF2 PSK
derivation. This makes it possible avoid storing unhashed passwords.

The wpa_passphrase utility may be used to generate this PSK.
2024-04-28 15:22:11 -07:00
Jack Hogan
6ffecb1250
Added MAC address getter to cyw43 controller 2024-04-15 14:11:28 -04:00
Dario Nieuwenhuis
3d842dac85 fmt: disable "unused" warnings. 2024-03-20 14:53:19 +01:00
DafabHoid
a75007f5cc cyw43: Reuse buf to reduce stack usage 2024-02-16 00:33:23 +01:00
Dario Nieuwenhuis
24968629ec cyw43: Unify dwell time. 2024-01-20 00:10:41 +01:00
umgefahren
6ca43030db feat: Extended the Scan API 2024-01-19 23:51:57 +01:00
Christopher N. Hesse
5e158757b9 Add more fields to the BssInfo packet struct
Taken from the Infineon WHD repository:
04ee318cc9/WiFi_Host_Driver/inc/whd_types.h (L814)

Signed-off-by: Christopher N. Hesse <raymanfx@gmail.com>
2024-01-19 17:31:12 +01:00
Ulf Lilleengen
39c166ef9b docs: document public apis for cyw43 driver 2023-12-19 16:08:06 +01:00
Dario Nieuwenhuis
c6989dfbca Remove nightly and unstable-traits features in preparation for 1.75. 2023-11-29 17:26:33 +01:00
Dario Nieuwenhuis
03d500f548 cyw43: remove feature(concat_bytes). 2023-11-25 01:06:43 +01:00
Samuel Čavoj
e3ee24017d cyw43: Add Control method to add multicast HW address 2023-11-16 00:05:13 +00:00
Dario Nieuwenhuis
e519e00265 Update Rust nightly. 2023-11-01 04:56:56 +01:00
Dario Nieuwenhuis
3cbc687424 net/driver: remove Medium, make HardwareAddress non_exhaustive. 2023-10-18 05:28:16 +02:00
Adam Greig
0621e957a0
time: Update examples, tests, and other code to use new Timer::after_x convenience methods 2023-10-15 01:30:12 +01:00
Dario Nieuwenhuis
5adc80f6d9
Merge pull request #1838 from Frostie314159/cyw43-next
cyw43: Add utility functions.
2023-08-30 14:04:27 +00:00
Frostie314159
98f55fa54d
Reverted patch for lint fix. 2023-08-30 09:59:47 +02:00
Dario Nieuwenhuis
5e613d9abb Sync all fmt.rs files. 2023-08-30 01:37:18 +02:00
Frostie314159
0eeefd3dbf
cyw43: Make Scanner public. 2023-08-29 23:05:05 +02:00
Frostie314159
e025693914
cyw43: Create leave function on Control struct.
Create a function, which disassociates us, from the currently connected infra.
2023-08-28 21:34:14 +02:00
Frostie314159
05ee02b593
cyw43: Introduce seperate up/down functions.
Create two helper functions, for setting the interface up/down.
2023-08-28 21:32:31 +02:00
Frostie314159
4098a61ef0
cyw43: Fix warning in event.rs.
Allow non_upper_case_globals, to prevent the compiler from spitting out a warning about the Event enum.
2023-08-28 21:02:38 +02:00
soypat
977ae5e3e4 don't pay for what you don't use 2023-08-20 20:16:23 -03:00
Ruben De Smet
4afdce4ec5
Introduce driver::HardwareAddress without smoltcp dependency 2023-07-31 14:21:26 +02:00
Dario Nieuwenhuis
9c4df46c46 rustfmt. 2023-07-04 21:34:55 +02:00
Dario Nieuwenhuis
d46b2b49c7 cyw43: remove pointless wait_complete. 2023-06-09 03:34:12 +02:00
Dario Nieuwenhuis
3465452a93 fmt: remove unused defmt::timestamp! 2023-06-09 03:33:39 +02:00
Dario Nieuwenhuis
c327c6cd6f cyw43: move crate to subdir. 2023-05-30 22:42:49 +02:00