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_FRAMING * | cfg_getPhyFraming (int cfgNumber) |
| Get the PHY_FRAMING section. | |
| PHY_MRBCH * | cfg_getPhyMRBCH (int cfgNumber) |
| Get the PHY_MRBCH section. | |
| PHY_CHSCH * | cfg_getPhyCHSCH (int cfgNumber) |
| Get the PHY_CHSCH section. | |
| PHY_SCH * | cfg_getPhySCH (int cfgNumber) |
| Get the PHY_SCH section. | |
| PHY_SACH * | cfg_getPhySACH (int cfgNumber) |
| Get the PHY_SACH section. | |
| #define MAX_ACTION_NAME_SIZE 100 |
| #define MAX_SECTION_NAME_SIZE 100 |
| #define MAX_LINE_SIZE 200 |
| #define MAX_CFG_SECTIONS 10 |
| int reconfigure_MACPHY | ( | FILE * | infile | ) |
reconfigure MAC and PHY layer according to a given scenario file
| infile | scenario.scn |
| \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 | ) |
| int cfg_readPhyFraming | ( | FILE * | inconfig, | |
| int | cfgNumber | |||
| ) |
| inconfig | an input config file | |
| cfgNumber | Configuration Number |
| \return | the sscanf status |
| int phyCHSCH_ProcessInitReq | ( | int | ) |
| void cfg_readPhyCHSCH | ( | FILE * | inconfig, | |
| int | cfgNumber | |||
| ) |
Read the PHY_CHSCH section:.
| inconfig | an input config file | |
| cfgNumber | in integer |
| \return | the sscanf status |
| int phySCH_ProcessInitReq | ( | int | ) |
| void cfg_readPhySCH | ( | FILE * | , | |
| int | ||||
| ) |
| int phyCHBCH_ProcessInitReq | ( | int | cfgNumber | ) |
| int cfg_readPhyCHBCH | ( | FILE * | inconfig, | |
| int | cfgNumber | |||
| ) |
Read the PHY_CHBCH section:.
| inconfig | Pointer to Config file | |
| cfgNumber | in integer |
| \return | the sscanf status |
| int phyMRBCH_ProcessInitReq | ( | int | ) |
| void cfg_readPhyMRBCH | ( | FILE * | inconfig, | |
| int | cfgNumber | |||
| ) |
| int phySACH_ProcessInitReq | ( | int | ) |
| int cfg_readPhySACH | ( | FILE * | inconfig, | |
| int | cfgNumber | |||
| ) |
| PHY_FRAMING * cfg_getPhyFraming | ( | int | cfgNumber | ) |
Get the PHY_FRAMING section.
| cfgNumber | in integer |
| \return | the PHY_FRAMING structure |
| Framing * cfg_getPhyMRBCH | ( | int | cfgNumber | ) |
| Framing * cfg_getPhyCHSCH | ( | int | cfgNumber | ) |
| Framing * cfg_getPhySCH | ( | int | cfgNumber | ) |
| Framing * cfg_getPhySACH | ( | int | cfgNumber | ) |
1.4.7