From e1fd7dfc40bbb1ccbab511fb1e0d7a1120ae68a0 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Tue, 12 Jul 2022 04:17:07 +0200 Subject: wpa2 join... still nothing. --- src/structs.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/structs.rs') diff --git a/src/structs.rs b/src/structs.rs index 91df616ad..dd2c0cfe9 100644 --- a/src/structs.rs +++ b/src/structs.rs @@ -139,6 +139,16 @@ pub struct SsidInfo { } impl_bytes!(SsidInfo); +#[derive(Clone, Copy)] +#[cfg_attr(feature = "defmt", derive(defmt::Format))] +#[repr(C)] +pub struct PassphraseInfo { + pub len: u16, + pub flags: u16, + pub passphrase: [u8; 64], +} +impl_bytes!(PassphraseInfo); + #[derive(Clone, Copy)] #[cfg_attr(feature = "defmt", derive(defmt::Format))] #[repr(C)] -- cgit