diff options
Diffstat (limited to 'src/structs.rs')
| -rw-r--r-- | src/structs.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/structs.rs b/src/structs.rs index 91df616ad..dd2c0cfe9 100644 --- a/src/structs.rs +++ b/src/structs.rs | |||
| @@ -142,6 +142,16 @@ impl_bytes!(SsidInfo); | |||
| 142 | #[derive(Clone, Copy)] | 142 | #[derive(Clone, Copy)] |
| 143 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] | 143 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] |
| 144 | #[repr(C)] | 144 | #[repr(C)] |
| 145 | pub struct PassphraseInfo { | ||
| 146 | pub len: u16, | ||
| 147 | pub flags: u16, | ||
| 148 | pub passphrase: [u8; 64], | ||
| 149 | } | ||
| 150 | impl_bytes!(PassphraseInfo); | ||
| 151 | |||
| 152 | #[derive(Clone, Copy)] | ||
| 153 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] | ||
| 154 | #[repr(C)] | ||
| 145 | pub struct EventMask { | 155 | pub struct EventMask { |
| 146 | pub iface: u32, | 156 | pub iface: u32, |
| 147 | pub events: [u8; 24], | 157 | pub events: [u8; 24], |
