1st International ICST Conference on Simulation Tools and Techniques for Communications, Networks and Systems

Research Article

Implementing MAC Protocols for Cooperative Relaying: A Compiler-Assisted Approach

Download521 downloads
  • @INPROCEEDINGS{10.4108/ICST.SIMUTOOLS2008.3053,
        author={Hermann S. Lichte and Stefan Valentin},
        title={Implementing MAC Protocols for Cooperative Relaying: A Compiler-Assisted Approach},
        proceedings={1st International ICST Conference on Simulation Tools and Techniques for Communications, Networks and Systems},
        publisher={ICST},
        proceedings_a={SIMUTOOLS},
        year={2010},
        month={5},
        keywords={Performance Experimentation Measurement},
        doi={10.4108/ICST.SIMUTOOLS2008.3053}
    }
    
  • Hermann S. Lichte
    Stefan Valentin
    Year: 2010
    Implementing MAC Protocols for Cooperative Relaying: A Compiler-Assisted Approach
    SIMUTOOLS
    ICST
    DOI: 10.4108/ICST.SIMUTOOLS2008.3053
Hermann S. Lichte1,*, Stefan Valentin1,*
  • 1: Computer Networks Group, University of Paderborn
*Contact email: hermann.lichte@upb.de, stefan.valentin@upb.de

Abstract

Evaluating the performance of a cooperative relaying protocol requires an implementation for simulators and/or software-defined radios (SDRs) with an appropriate model for error detection, combining, and Medium Access Control (MAC) automaton. Such implementations are essential for meaningful evaluation of practical systems since any protocol introduces overhead that constrains the theoretical performance in non-obvious ways. Unfortunately, protocols for cooperative relaying often yield complex implementations which are tedious to implement and debug. Therefore, we identify basic operations that are inherent to all cooperative relaying protocols, and we propose a new language for their specification. Then, we show how to construct a compiler for the proposed language that generates most of the required implementation (model and MAC automaton) automatically. This approach prevents subtle mistakes during implementation of the protocol, and can significantly increase development time. In addition, this paper discusses code generation exemplarily for OMNeT++/Mobility Framework, but the approach is not restricted to a specific simulator or SDR.