FreeCalypso > hg > freecalypso-sw
view gsm-fw/bsp/rtc/rtc_process.c @ 867:c4da570dca83
int_osx_receive_prim() in gsm-fw/gpf/osx/osx.c: there was an error in the
reconstruction of this function from disassembly in the logic that implements
special handling for MPHC_RXLEV_REQ messages.
The code is now fixed to properly match what the binary object version does;
with this fix the firmware now performs the power measurement phase correctly
and the initial network registration succeeds.
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Sat, 16 May 2015 06:34:09 +0000 |
parents | 98be4841eeb7 |
children |
line wrap: on
line source
/******************************************************************************/ /* */ /* File Name: rtc_process.c */ /* */ /* Purpose: This file contains routine(s) that dispatch and process */ /* message(s) received from other entity */ /* */ /* Note: None. */ /* */ /* Revision History: */ /* 03/22/01 Laurent Sollier Create. */ /* */ /* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved */ /* */ /******************************************************************************/ #include "../../riviera/rvf/rvf_api.h" #include "../../riviera/rv/rv_general.h" #include "../../riviera/rvm/rvm_use_id_list.h" #include "rtc_messages_i.h" #include "rtc_i.h" void rtc_process(T_RV_HDR * msg_ptr) { switch (msg_ptr->msg_id) { case RTC_ALARM_EVT: rvf_send_trace("RTC: received RTC_ALARM event",29, NULL_PARAM, RV_TRACE_LEVEL_DEBUG_MEDIUM, RTC_USE_ID ); RTC_ProcessAlarmEvent(); /* free memory used for the RTC message */ break; default: /* Unknow message has been received */ rvf_send_trace("RTC: Message received unknown",29, NULL_PARAM, RV_TRACE_LEVEL_ERROR, RTC_USE_ID ); break; } }