Skip to content

Commit dea9883

Browse files
committed
Documented WPA2.
1 parent e8ca170 commit dea9883

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

foa_sta/src/lib.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,20 @@
1616
//! ### Supported operations.
1717
//! 1. Passive scanning
1818
//! 2. Connecting to a network.
19+
//! - Both Open and WPA2-PSK encrypted networks
1920
//! 3. Disconnecting from a network.
2021
//! 4. Setting the MAC address.
22+
//!
23+
//! ## A note about the WPA2 implementation
24+
//! `foa_sta` has an implementation of WPA2-PSK, which allows it to connect to networks using that
25+
//! cipher suite. It is however extremely basic and in very early stages of development. This means
26+
//! that it may crash at any point during the connection process and is not very secure. Most of
27+
//! this is down to the way it is written, which was intended to get it working and figure out how
28+
//! to do this at all. A new design using a state machine is already in the works, but it will take
29+
//! some time to be ready.
30+
//!
31+
//! (Frostie314159): The reason this will take a while is, because I worked on WPA2 for two months
32+
//! straight to get it working and sorta need to take my mind of it for a while.
2133
2234
use core::cell::{Cell, RefCell};
2335

0 commit comments

Comments
 (0)