📄 channel.c
字号:
/* * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc. * All rights reserved. * * This software is copyrighted by and is the sole property of * VIA Networking Technologies, Inc. This software may only be used * in accordance with the corresponding license agreement. Any unauthorized * use, duplication, transmission, distribution, or disclosure of this * software is expressly forbidden. * * This software is provided by VIA Networking Technologies, Inc. "as is" * and any express or implied warranties, including, but not limited to, the * implied warranties of merchantability and fitness for a particular purpose * are disclaimed. In no event shall VIA Networking Technologies, Inc. * be liable for any direct, indirect, incidental, special, exemplary, or * consequential damages. * * * File: channel.c * * Purpose: Channel number maping * * Author: Lucas Lin * * Date: Dec 24, 2004 * * * * Revision History: * 01-18-2005 RobertYu: remove the for loop searching in ChannelValid, * change ChannelRuleTab to lookup-type, reorder table items. * * */#if !defined (_COUNTRY_H_)#include "country.h"#endif#if !defined (_CHANNEL_H_)#include "channel.h"#endif#if !defined(__RF_H__)#include "rf.h"#endif#if !defined(__UMEM_H__)#include "umem.h"#endif/*--------------------- Static Definitions -------------------------*/static int msglevel =MSG_LEVEL_INFO;//static int msglevel =MSG_LEVEL_DEBUG;/*--------------------- Static Classes ----------------------------*//*--------------------- Export Definitions -------------------------*/static SChannelTblElement sChannelTbl[CB_MAX_CHANNEL+1] ={ {0, 0, FALSE}, {1, 2412, TRUE}, {2, 2417, TRUE}, {3, 2422, TRUE}, {4, 2427, TRUE}, {5, 2432, TRUE}, {6, 2437, TRUE}, {7, 2442, TRUE}, {8, 2447, TRUE}, {9, 2452, TRUE}, {10, 2457, TRUE}, {11, 2462, TRUE}, {12, 2467, TRUE},
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -