/************************************************************************* * Function: * * Description: * * Input: * * Output: * **************************************************************************/ extern void AuthRspSrvApCtor(AuthRspSrvAp *me) { mhsm_add(&me->sTop, NULL, (MhsmFcnPtr)AuthRspSrvAp_top); mhsm_add(&me->Auth_Rsp_Srv_Ap, &me->sTop, (MhsmFcnPtr)Auth_Rsp_Srv_Ap_Handle); mhsm_add(&me->Auth_Rsp_Idle, &me->Auth_Rsp_Srv_Ap, (MhsmFcnPtr)Auth_Rsp_Idle_Handle); mhsm_add(&me->Wait_Chal_Rsp, &me->Auth_Rsp_Srv_Ap, (MhsmFcnPtr)Wait_Chal_Rsp_Handle); TimerInit(&me->timer); }
extern void AuthReqSrvStaCtor(AuthReqSrvSta *me) { mhsm_add(&me->sTop, NULL, (MhsmFcnPtr)AuthReqSrvSta_top); mhsm_add(&me->Auth_Req_Srv_Sta, &me->sTop, (MhsmFcnPtr)Auth_Req_Srv_Sta_Handle); mhsm_add(&me->Auth_Req_Idle, &me->Auth_Req_Srv_Sta, (MhsmFcnPtr)Auth_Sta_Req_Idle_Handle); mhsm_add(&me->Wait_Auth_Seq2, &me->Auth_Req_Srv_Sta, (MhsmFcnPtr)Wait_Auth_Sta_Seq2_Handle); mhsm_add(&me->Wait_Auth_Seq4, &me->Auth_Req_Srv_Sta, (MhsmFcnPtr)Wait_Auth_Sta_Seq4_Handle); }
/************************************************************************* * Function: * * Description: * * Input: * * Output: * **************************************************************************/ void SyncSrvCtor(SyncSrvAp *me) { mhsm_add(&me->sTop, NULL, (MhsmFcnPtr)SyncSrvAp_top); mhsm_add(&me->Sync_Srv_Ap, &me->sTop, (MhsmFcnPtr)Sync_Srv_Ap_Handle); mhsm_add(&me->No_Bss, &me->Sync_Srv_Ap, (MhsmFcnPtr)No_Bss_Handle); mhsm_add(&me->Bss, &me->Sync_Srv_Ap, (MhsmFcnPtr)Bss_Handle); mhsm_add(&me->Sta_Active, &me->Sync_Srv_Ap, (MhsmFcnPtr)Sta_Active_Handle); }
void AssocSrvStaCtor(AssocSrvSta *me) { mhsm_add(&me->sTop, NULL, (MhsmFcnPtr)AssocSrvSta_top); mhsm_add(&me->Assoc_Srv_Sta, &me->sTop, (MhsmFcnPtr)Assoc_Srv_Sta_Handle); mhsm_add(&me->Assoc_Idle, &me->Assoc_Srv_Sta, (MhsmFcnPtr)Assoc_Sta_Idle_Handle); mhsm_add(&me->Wait_Assoc_Rsp, &me->Assoc_Srv_Sta, (MhsmFcnPtr)Wait_Assoc_Sta_Rsp_Handle); mhsm_add(&me->Wait_ReAssoc_Rsp, &me->Assoc_Srv_Sta, (MhsmFcnPtr)Wait_ReAssoc_Sta_Rsp_Handle); }
/************************************************************************* * Function: * * Description: * * Input: * * Output: * **************************************************************************/ extern void AuthReqSrvApCtor(AuthReqSrvAp *me) { mhsm_add(&me->sTop, NULL, (MhsmFcnPtr)AuthReqSrvAp_top); mhsm_add(&me->Auth_Req_Srv_Ap, &me->sTop, (MhsmFcnPtr)Auth_Req_Srv_Ap_Handle); mhsm_add(&me->Auth_Req_Idle, &me->Auth_Req_Srv_Ap, (MhsmFcnPtr)Auth_Req_Idle_Handle); mhsm_add(&me->Wait_Auth_Seq2,&me->Auth_Req_Srv_Ap, (MhsmFcnPtr)Wait_Auth_Seq2_Handle); mhsm_add(&me->Wait_Auth_Seq4, &me->Auth_Req_Srv_Ap, (MhsmFcnPtr)Wait_Auth_Seq4_Handle); TimerInit(&me->timer); }