Static Configuration Procedures
[Physical Layer Reference Implementation]


Detailed Description

This section deals with the physical layer procedures related to static configuration of the Framing and Transport Channel parameters.


Data Structures

struct  cfg_Action
struct  cfg_Section

Defines

#define MAX_ACTION_NAME_SIZE   100
#define MAX_SECTION_NAME_SIZE   100
#define MAX_LINE_SIZE   200
#define MAX_CFG_SECTIONS   10

Functions

int reconfigure_MACPHY (FILE *)
 reconfigure MAC and PHY layer according to a given scenario file
void loadConfig ()
 load the config.cfg file from the current directory. The list of sections are formated as follows:
int phyFraming_ProcessInitReq (int cfgNumber)
 get the PHY_FRAMING config
void cfg_readPhyFraming (FILE *inconfig, int cfgNumber)
int phyCHSCH_ProcessInitReq (int)
void cfg_readPhyCHSCH (FILE *, int)
 Read the PHY_CHSCH section:.
int phySCH_ProcessInitReq (int)
void cfg_readPhySCH (FILE *, int)
int phyCHBCH_ProcessInitReq (int cfgNumber)
 get the PHY_CHBCH config
void cfg_readPhyCHBCH (FILE *, int)
 Read the PHY_CHBCH section:.
int phyMRBCH_ProcessInitReq (int)
void cfg_readPhyMRBCH (FILE *inconfig, int cfgNumber)
 Read the PHY_MRBCH section:.
int phySACH_ProcessInitReq (int)
void cfg_readPhySACH (FILE *inconfig, int cfgNumber)
 Read the PHY_SACH section:.
PHY_FRAMINGcfg_getPhyFraming (int cfgNumber)
 Get the PHY_FRAMING section.
PHY_MRBCHcfg_getPhyMRBCH (int cfgNumber)
 Get the PHY_MRBCH section.
PHY_CHSCHcfg_getPhyCHSCH (int cfgNumber)
 Get the PHY_CHSCH section.
PHY_SCHcfg_getPhySCH (int cfgNumber)
 Get the PHY_SCH section.
PHY_SACHcfg_getPhySACH (int cfgNumber)
 Get the PHY_SACH section.


Define Documentation

#define MAX_ACTION_NAME_SIZE   100

#define MAX_SECTION_NAME_SIZE   100

#define MAX_LINE_SIZE   200

#define MAX_CFG_SECTIONS   10


Function Documentation

int reconfigure_MACPHY ( FILE *  infile  ) 

reconfigure MAC and PHY layer according to a given scenario file

Parameters:
infile scenario.scn
Exceptions:
\return 1 if the scenario and config files are readable.

void loadConfig (  ) 

load the config.cfg file from the current directory. The list of sections are formated as follows:

int phyFraming_ProcessInitReq ( int  cfgNumber  ) 

get the PHY_FRAMING config

Parameters:
cfgNumber in integer
Exceptions:
\return the cfgNumber

int cfg_readPhyFraming ( FILE *  inconfig,
int  cfgNumber 
)

Parameters:
inconfig an input config file
cfgNumber Configuration Number
Exceptions:
\return the sscanf status

int phyCHSCH_ProcessInitReq ( int   ) 

void cfg_readPhyCHSCH ( FILE *  inconfig,
int  cfgNumber 
)

Read the PHY_CHSCH section:.

Parameters:
inconfig an input config file
cfgNumber in integer
Exceptions:
\return the sscanf status

int phySCH_ProcessInitReq ( int   ) 

void cfg_readPhySCH ( FILE *  ,
int   
)

int phyCHBCH_ProcessInitReq ( int  cfgNumber  ) 

get the PHY_CHBCH config

Parameters:
cfgNumber in integer
Exceptions:
\return the cfgNumber

int cfg_readPhyCHBCH ( FILE *  inconfig,
int  cfgNumber 
)

Read the PHY_CHBCH section:.

Parameters:
inconfig Pointer to Config file
cfgNumber in integer
Exceptions:
\return the sscanf status

int phyMRBCH_ProcessInitReq ( int   ) 

void cfg_readPhyMRBCH ( FILE *  inconfig,
int  cfgNumber 
)

Read the PHY_MRBCH section:.

Parameters:
inconfig an input config file
cfgNumber in integer

int phySACH_ProcessInitReq ( int   ) 

int cfg_readPhySACH ( FILE *  inconfig,
int  cfgNumber 
)

Read the PHY_SACH section:.

Parameters:
inconfig an input config file
cfgNumber in integer

PHY_FRAMING * cfg_getPhyFraming ( int  cfgNumber  ) 

Get the PHY_FRAMING section.

Parameters:
cfgNumber in integer
Exceptions:
\return the PHY_FRAMING structure

Framing * cfg_getPhyMRBCH ( int  cfgNumber  ) 

Get the PHY_MRBCH section.

Parameters:
cfgNumber in integer
Exceptions:
\return the PHY_MRBCH structure

Framing * cfg_getPhyCHSCH ( int  cfgNumber  ) 

Get the PHY_CHSCH section.

Parameters:
cfgNumber in integer
Exceptions:
\return the sscanf status

Framing * cfg_getPhySCH ( int  cfgNumber  ) 

Get the PHY_SCH section.

Parameters:
cfgNumber in integer
Exceptions:
\return the PHY_SCH structure

Framing * cfg_getPhySACH ( int  cfgNumber  ) 

Get the PHY_SACH section.

Parameters:
cfgNumber in integer
Exceptions:
\return the PHY_SACH structure


Generated on Thu May 14 10:34:29 2009 for OPENAIR by  doxygen 1.4.7