Lines Matching refs:state

26  * state. This is more fine-grained than most users will be interested in.
31 * state constants in <code>defs.h</code> in <code>wpa_supplicant</code>.
35 * This state indicates that client is not associated, but is likely to
36 * start looking for an access point. This state is entered when a
44 * This state is entered if the network interface is disabled.
51 * Inactive state (wpa_supplicant disabled).
53 * This state is entered if there are no enabled networks in the
63 * This state is entered when wpa_supplicant starts scanning for a
71 * This state is entered when wpa_supplicant has found a suitable BSS
80 * This state is entered when wpa_supplicant has found a suitable BSS
83 * state is entered when the driver is configured to try to associate
91 * This state is entered when the driver reports that association has
93 * (with or without WPA/WPA2), wpa_supplicant remains in this state
101 * This state is entered when WPA/WPA2 4-Way Handshake is started. In
103 * frame after association. In case of WPA-EAP, this state is entered
111 * This state is entered when 4-Way Key Handshake has been completed
121 * This state is entered when the full authentication process is
123 * successfully completed. With WPA, this state is entered after the
127 * plaintext connections, this state is entered when an association
130 * This state indicates that the supplicant has completed its
139 * An Android-added state that is reported when a client issues an
142 * DISCONNECTED state above), but it also does not attempt to connect
151 * This is an additional pseudo-state to handle the case where
158 * A pseudo-state that should normally never be seen.
163 * Returns {@code true} if the supplicant state is valid and {@code false}
165 * @param state The supplicant state
166 * @return {@code true} if the supplicant state is valid and {@code false}
169 public static boolean isValidState(SupplicantState state) {
170 return state != UNINITIALIZED && state != INVALID;
174 /** Supplicant associating or authenticating is considered a handshake state {@hide} */
175 public static boolean isHandshakeState(SupplicantState state) {
176 switch(state) {
193 throw new IllegalArgumentException("Unknown supplicant state");
197 static boolean isConnecting(SupplicantState state) {
198 switch(state) {
215 throw new IllegalArgumentException("Unknown supplicant state");
219 static boolean isDriverActive(SupplicantState state) {
220 switch(state) {
237 throw new IllegalArgumentException("Unknown supplicant state");