FreeCalypso > hg > fc-tourmaline
diff src/ui/mfw/mfw_gprs.h @ 188:92abb46dc1ba
src/ui/mfw/*.[ch]: rm trailing white space
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 19 Jan 2021 06:10:27 +0000 |
parents | 67bfe9f274f6 |
children |
line wrap: on
line diff
--- a/src/ui/mfw/mfw_gprs.h Tue Jan 19 05:41:26 2021 +0000 +++ b/src/ui/mfw/mfw_gprs.h Tue Jan 19 06:10:27 2021 +0000 @@ -8,9 +8,9 @@ MODULE : MFW_GPRS - PURPOSE : This modul contains definition needed for the GPRS + PURPOSE : This modul contains definition needed for the GPRS management in MFW. - + $History: Mfw_gprs.h Feb 24, 2006 REF:DR OMAPS00068976 x0035544 @@ -18,7 +18,7 @@ solution: Added the structure variable p_reg_State to the union and named it as Reg_state. This structure stores the network registration status information given by qAT_percentCREG(). - + 15/05/2003 - SPR#1983 - SH - Updated to latest from 1.6.3 version. $End @@ -76,18 +76,18 @@ typedef struct { T_CGREG_STAT stat; - USHORT lac; + USHORT lac; USHORT ci; } T_MFW_GPRS_CELL_STRUCT; typedef struct { T_P_CGREG_STAT stat; - USHORT lac; + USHORT lac; USHORT ci; } T_MFW_GPRS_CELL_STRUCT_P; -typedef struct +typedef struct { #ifdef FF_2TO1_PS U8 id; /* context id */ @@ -100,19 +100,19 @@ char *L2P; /* layer 2 protocol */ } T_MFW_GPRS_CONTEXT; -typedef struct +typedef struct { USHORT *ids; /* context ids */ BOOL state; /* activation state */ } T_MFW_GPRS_CNTXT_ACT; -typedef struct +typedef struct { USHORT *ids; /* context ids */ char *L2P; /* layer 2 protocol */ } T_MFW_GPRS_CNTXT_L2P; -typedef struct +typedef struct { T_CGEREP_MODE mode; /* event reporting mode */ T_CGEREP_BFR bfr; /* effect control on buffered events */ @@ -182,10 +182,10 @@ T_MFW_RES gprs_delete ( T_MFW_HND h ); -int gprsCommand ( U32 cmd, - void *h ); +int gprsCommand ( U32 cmd, + void *h ); -void gprs_signal ( T_MFW_EVENT event, +void gprs_signal ( T_MFW_EVENT event, void *para ); void gprs_ok(T_ACI_AT_CMD cmdId); @@ -196,7 +196,7 @@ /* MMI-MFW Interface Functions -------------------------------------*/ #ifndef FF_2TO1_PS -T_MFW_RES gprs_definePDPContext ( SHORT cid, +T_MFW_RES gprs_definePDPContext ( SHORT cid, T_PDP_CONTEXT *inputCtxt ); T_MFW_RES gprs_setQOS ( SHORT cid , @@ -209,16 +209,16 @@ /* SPR#1983 - SH - Added function to cancel CGATT command */ T_MFW_RES gprs_attach_abort(void); -T_MFW_RES gprs_contextActivation( T_CGACT_STATE state, +T_MFW_RES gprs_contextActivation( T_CGACT_STATE state, SHORT *cids); -T_MFW_RES gprs_setData ( char *L2P, +T_MFW_RES gprs_setData ( char *L2P, SHORT *cids); -T_MFW_RES gprs_showPDPAddress ( SHORT *cids, +T_MFW_RES gprs_showPDPAddress ( SHORT *cids, T_NAS_ip *pdp_address); #else -T_MFW_RES gprs_definePDPContext ( SHORT cid, +T_MFW_RES gprs_definePDPContext ( SHORT cid, T_PDP_CONTEXT *inputCtxt ); T_MFW_RES gprs_setQOS ( SHORT cid , @@ -231,25 +231,25 @@ /* SPR#1983 - SH - Added function to cancel CGATT command */ T_MFW_RES gprs_attach_abort(void); -T_MFW_RES gprs_contextActivation( T_CGACT_STATE state, +T_MFW_RES gprs_contextActivation( T_CGACT_STATE state, SHORT *cids); -T_MFW_RES gprs_setData ( char *L2P, +T_MFW_RES gprs_setData ( char *L2P, SHORT *cids); -T_MFW_RES gprs_showPDPAddress ( SHORT *cids, +T_MFW_RES gprs_showPDPAddress ( SHORT *cids, T_NAS_ip *pdp_address); #endif T_MFW_RES gprs_setAutoResponse ( T_CGAUTO_N mode); -T_MFW_RES gprs_ManualResponse ( USHORT response, - char *l2p, +T_MFW_RES gprs_ManualResponse ( USHORT response, + char *l2p, SHORT cid); T_MFW_RES gprs_setClass ( T_CGCLASS_CLASS m_class); -T_MFW_RES gprs_setEventReporting( T_CGEREP_MODE mode, +T_MFW_RES gprs_setEventReporting( T_CGEREP_MODE mode, T_CGEREP_BFR bfr); T_MFW_RES gprs_setServiceSMS ( T_CGSMS_SERVICE service); @@ -285,43 +285,43 @@ void rAT_PlusCGANS ( SHORT link_id ); /* link_id: Link identifier */ -void rAT_PlusCGEREP ( T_CGEREP_EVENT event, +void rAT_PlusCGEREP ( T_CGEREP_EVENT event, T_CGEREP_EVENT_REP_PARAM *param ); - /* event : GPRS event + /* event : GPRS event param : event parameter */ void rAT_PercentCGEV ( T_CGEREP_EVENT event, T_CGEREP_EVENT_REP_PARAM *param ); - /* event : GPRS event + /* event : GPRS event param : event parameter */ -void rAT_PlusCGREG ( T_CGREG_STAT stat, - USHORT lac, +void rAT_PlusCGREG ( T_CGREG_STAT stat, + USHORT lac, USHORT ci ); - /* stat : indicates the current registration - lac : two byte location area code + /* stat : indicates the current registration + lac : two byte location area code ci : two byte cell ID */ - + /* ACI CHANGES - 5-10-2005 */ void rAT_PercentCGREG ( T_P_CGREG_STAT stat, USHORT lac, USHORT ci, - BOOL bActiveContext ); + BOOL bActiveContext ); // BOOL bActiveContext ); /* stat : indicates the current registration lac : two byte location area code - ci : two byte cell ID - bActiveContext : boolean: shows wether a PDP context is + ci : two byte cell ID + bActiveContext : boolean: shows wether a PDP context is established or not*/ #ifdef FF_2TO1_PS -void rAT_changedQOS ( U8 cid, +void rAT_changedQOS ( U8 cid, T_PS_qos *qos ); - /* cid : context id + /* cid : context id *qos : quality of service profile */ -#else -void rAT_changedQOS ( SHORT cid, - T_PS_qos *qos ); - /* cid : context id +#else +void rAT_changedQOS ( SHORT cid, + T_PS_qos *qos ); + /* cid : context id *qos : quality of service profile */ #endif