Blame view
drivers/staging/vt6655/channel.h
2.26 KB
79566eb2d Staging: vt6655: ... |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
/* * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc. * All rights reserved. * * 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 program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * File: channel.h * */ #ifndef _CHANNEL_H_ #define _CHANNEL_H_ #include "ttype.h" #include "card.h" /*--------------------- Export Classes ----------------------------*/ typedef struct tagSChannelTblElement { |
3fc9b584c Staging: vt6655: ... |
32 |
unsigned char byChannelNumber; |
79566eb2d Staging: vt6655: ... |
33 |
unsigned int uFrequency; |
7b6a00131 Staging: vt6655: ... |
34 |
bool bValid; |
3fc9b584c Staging: vt6655: ... |
35 |
unsigned char byMAP; |
79566eb2d Staging: vt6655: ... |
36 37 38 39 |
}SChannelTblElement, *PSChannelTblElement; /*--------------------- Export Functions --------------------------*/ |
7b6a00131 Staging: vt6655: ... |
40 |
bool is_channel_valid(unsigned int CountryCode); |
79566eb2d Staging: vt6655: ... |
41 |
void init_channel_table(void *pDeviceHandler); |
3fc9b584c Staging: vt6655: ... |
42 |
unsigned char get_channel_mapping(void *pDeviceHandler, unsigned char byChannelNumber, CARD_PHY_TYPE ePhyType); |
7b6a00131 Staging: vt6655: ... |
43 |
bool channel_get_list(unsigned int uCountryCodeIdx, unsigned char *pbyChannelTable); |
3fc9b584c Staging: vt6655: ... |
44 |
unsigned char get_channel_number(void *pDeviceHandler, unsigned char byChannelIndex); |
7b6a00131 Staging: vt6655: ... |
45 |
bool set_channel(void *pDeviceHandler, unsigned int uConnectionChannel); |
79566eb2d Staging: vt6655: ... |
46 |
void set_country_info(void *pDeviceHandler, CARD_PHY_TYPE ePHYType, void *pIE); |
3fc9b584c Staging: vt6655: ... |
47 |
unsigned char set_support_channels(void *pDeviceHandler, unsigned char *pbyIEs); |
79566eb2d Staging: vt6655: ... |
48 |
void set_country_IE(void *pDeviceHandler, void *pIE); |
7b6a00131 Staging: vt6655: ... |
49 |
bool get_channel_map_info(void *pDeviceHandler, unsigned int uChannelIndex, |
79566eb2d Staging: vt6655: ... |
50 51 |
unsigned char *pbyChannelNumber, unsigned char *pbyMap); void set_channel_map_info(void *pDeviceHandler, unsigned int uChannelIndex, |
3fc9b584c Staging: vt6655: ... |
52 |
unsigned char byMap); |
79566eb2d Staging: vt6655: ... |
53 |
void clear_channel_map_info(void *pDeviceHandler); |
3fc9b584c Staging: vt6655: ... |
54 |
unsigned char auto_channel_select(void *pDeviceHandler, CARD_PHY_TYPE ePHYType); |
79566eb2d Staging: vt6655: ... |
55 56 57 |
#endif /* _CHANNEL_H_ */ |