⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mapper.c

📁 This a framework to test new ideas in transmission technology. Actual development is a LDPC-coder in
💻 C
字号:
/*************************************************************************** *    mapper.c  - Software Radio mapper module *                           ------------------- *   begin                :  02/10/30 *   authors              :  Linus Gasser *   emails               :  linus.gasser@epfl.ch ***************************************************************************//*************************************************************************** *                                Changes *                                ------- * date - name - description * 02/10/30 - ineiti - begin * **************************************************************************//*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************//** * This is a PSK and QAM mapper module which allows both to map and to decide * on the mappings made. It uses hard decisions, but a nice extension would be * to make a module with a soft-output... */#include "spc.h"#include "mapper.h"#include "symbols.h"#define DBG_LVL 0int send_module_init(void);void send_module_exit(void);int rcv_module_init(void);void rcv_module_exit(void);/* * This function is called upon "insmod" and is used to register the * different parts of the module to the SPM. */int spc_module_init(void) {  send_module_init();  rcv_module_init();  return 0;}/* * This is called upon rmmod */void spc_module_exit( void ) {  PR_DBG( 2, "Mapper is going\n" );  send_module_exit();  rcv_module_exit();}module_init( spc_module_init );module_exit( spc_module_exit );

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -