SM_ENTRY_MA macro
SM_ENTRY_MA - State machine function entry point for state machine group @machine: State machine name @_state: State machine state @data: State variable prefix (full variable: prefix_state) This macro is like SM_ENTRY_M, but a MAC address is included in debug output. STATE_MACHINE_ADDR has to be defined to point to the MAC address to be included in debug.
Syntax
#define SM_ENTRY_MA(machine, _state, data) \
if (!global || sm->data ## _ ## state != machine ## _ ## _state) { \
sm->changed = TRUE; \
wpa_printf(MSG_DEBUG, STATE_MACHINE_DEBUG_PREFIX ": " MACSTR " " \
#machine " entering state " #_state"\n", \
MAC2STR(STATE_MACHINE_ADDR)); \
} \
sm->data ## _ ## state = machine ## _ ## _state;
![]()
#define SM_ENTRY_MA(machine, _state, data) \![]()
SM_ENTRY_MA(AUTH_PAE, INITIALIZE, auth_pae);![]()
SM_ENTRY_MA(AUTH_PAE, DISCONNECTED, auth_pae);![]()
SM_ENTRY_MA(AUTH_PAE, RESTART, auth_pae);![]()
SM_ENTRY_MA(AUTH_PAE, CONNECTING, auth_pae);![]()
SM_ENTRY_MA(AUTH_PAE, HELD, auth_pae);![]()
SM_ENTRY_MA(AUTH_PAE, AUTHENTICATED, auth_pae);![]()
SM_ENTRY_MA(AUTH_PAE, AUTHENTICATING, auth_pae);![]()
SM_ENTRY_MA(AUTH_PAE, ABORTING, auth_pae);![]()
SM_ENTRY_MA(AUTH_PAE, FORCE_AUTH, auth_pae);![]()
SM_ENTRY_MA(AUTH_PAE, FORCE_UNAUTH, auth_pae);![]()
SM_ENTRY_MA(BE_AUTH, INITIALIZE, be_auth);![]()
SM_ENTRY_MA(BE_AUTH, REQUEST, be_auth);![]()
SM_ENTRY_MA(BE_AUTH, RESPONSE, be_auth);![]()
SM_ENTRY_MA(BE_AUTH, SUCCESS, be_auth);![]()
SM_ENTRY_MA(BE_AUTH, FAIL, be_auth);![]()
SM_ENTRY_MA(BE_AUTH, TIMEOUT, be_auth);![]()
SM_ENTRY_MA(BE_AUTH, IDLE, be_auth);![]()
SM_ENTRY_MA(BE_AUTH, IGNORE, be_auth);![]()
SM_ENTRY_MA(REAUTH_TIMER, INITIALIZE, reauth_timer);![]()
SM_ENTRY_MA(REAUTH_TIMER, REAUTHENTICATE, reauth_timer);![]()
SM_ENTRY_MA(CTRL_DIR, FORCE_BOTH, ctrl_dir);![]()
SM_ENTRY_MA(CTRL_DIR, IN_OR_BOTH, ctrl_dir);![]()
SM_ENTRY_MA(WPA_PTK, INITIALIZE, wpa_ptk);![]()
SM_ENTRY_MA(WPA_PTK, DISCONNECT, wpa_ptk);![]()
SM_ENTRY_MA(WPA_PTK, DISCONNECTED, wpa_ptk);![]()
SM_ENTRY_MA(WPA_PTK, AUTHENTICATION, wpa_ptk);![]()
SM_ENTRY_MA(WPA_PTK, AUTHENTICATION2, wpa_ptk);![]()
SM_ENTRY_MA(WPA_PTK, INITPMK, wpa_ptk);![]()
SM_ENTRY_MA(WPA_PTK, INITPSK, wpa_ptk);![]()
SM_ENTRY_MA(WPA_PTK, PTKSTART, wpa_ptk);![]()
SM_ENTRY_MA(WPA_PTK, PTKCALCNEGOTIATING, wpa_ptk);![]()
SM_ENTRY_MA(WPA_PTK, PTKCALCNEGOTIATING2, wpa_ptk);![]()
SM_ENTRY_MA(WPA_PTK, PTKINITNEGOTIATING, wpa_ptk);![]()
SM_ENTRY_MA(WPA_PTK, PTKINITDONE, wpa_ptk);![]()
SM_ENTRY_MA(WPA_PTK_GROUP, IDLE, wpa_ptk_group);![]()
SM_ENTRY_MA(WPA_PTK_GROUP, REKEYNEGOTIATING, wpa_ptk_group);![]()
SM_ENTRY_MA(WPA_PTK_GROUP, REKEYESTABLISHED, wpa_ptk_group);![]()
SM_ENTRY_MA(WPA_PTK_GROUP, KEYERROR, wpa_ptk_group);