mesh: Rename MPM FSM states to match the standard
[mech_eap.git] / src / common / defs.h
index eb080ea..4f56794 100644 (file)
@@ -174,7 +174,7 @@ enum wpa_states {
        /**
         * WPA_INTERFACE_DISABLED - Interface disabled
         *
-        * This stat eis entered if the network interface is disabled, e.g.,
+        * This statis entered if the network interface is disabled, e.g.,
         * due to rfkill. wpa_supplicant refuses any new operations that would
         * use the radio until the interface has been enabled.
         */
@@ -312,6 +312,7 @@ enum wpa_ctrl_req_type {
        WPA_CTRL_REQ_EAP_PASSPHRASE,
        WPA_CTRL_REQ_SIM,
        WPA_CTRL_REQ_PSK_PASSPHRASE,
+       WPA_CTRL_REQ_EXT_CERT_CHECK,
        NUM_WPA_CTRL_REQS
 };
 
@@ -319,13 +320,13 @@ enum wpa_ctrl_req_type {
 #define EAP_MAX_METHODS 8
 
 enum mesh_plink_state {
-       PLINK_LISTEN = 1,
-       PLINK_OPEN_SENT,
-       PLINK_OPEN_RCVD,
+       PLINK_IDLE = 1,
+       PLINK_OPN_SNT,
+       PLINK_OPN_RCVD,
        PLINK_CNF_RCVD,
        PLINK_ESTAB,
        PLINK_HOLDING,
-       PLINK_BLOCKED,
+       PLINK_BLOCKED, /* not defined in the IEEE 802.11 standard */
 };
 
 enum set_band {
@@ -334,4 +335,10 @@ enum set_band {
        WPA_SETBAND_2G
 };
 
+enum wpa_radio_work_band {
+       BAND_2_4_GHZ = BIT(0),
+       BAND_5_GHZ = BIT(1),
+       BAND_60_GHZ = BIT(2),
+};
+
 #endif /* DEFS_H */