-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 205720 b: refs/heads/master c: 79566eb h: refs/heads/master v: v3
- Loading branch information
Charles Clément
authored and
Greg Kroah-Hartman
committed
Jun 22, 2010
1 parent
ce37691
commit 82af8d0
Showing
13 changed files
with
932 additions
and
983 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 2a1a17498bcaea1580a4fa051286bc97d4c5e730 | ||
refs/heads/master: 79566eb2df013f0ed20e548f4be0f8afbe78f9a3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
/* | ||
* 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 { | ||
BYTE byChannelNumber; | ||
unsigned int uFrequency; | ||
BOOL bValid; | ||
BYTE byMAP; | ||
}SChannelTblElement, *PSChannelTblElement; | ||
|
||
|
||
/*--------------------- Export Functions --------------------------*/ | ||
|
||
BOOL is_channel_valid(unsigned int CountryCode); | ||
void init_channel_table(void *pDeviceHandler); | ||
BYTE get_channel_mapping(void *pDeviceHandler, BYTE byChannelNumber, CARD_PHY_TYPE ePhyType); | ||
BOOL channel_get_list(unsigned int uCountryCodeIdx, unsigned char *pbyChannelTable); | ||
BYTE get_channel_number(void *pDeviceHandler, BYTE byChannelIndex); | ||
BOOL set_channel(void *pDeviceHandler, unsigned int uConnectionChannel); | ||
void set_country_info(void *pDeviceHandler, CARD_PHY_TYPE ePHYType, void *pIE); | ||
BYTE set_support_channels(void *pDeviceHandler, unsigned char *pbyIEs); | ||
void set_country_IE(void *pDeviceHandler, void *pIE); | ||
BOOL get_channel_map_info(void *pDeviceHandler, unsigned int uChannelIndex, | ||
unsigned char *pbyChannelNumber, unsigned char *pbyMap); | ||
void set_channel_map_info(void *pDeviceHandler, unsigned int uChannelIndex, | ||
BYTE byMap); | ||
void clear_channel_map_info(void *pDeviceHandler); | ||
BYTE auto_channel_select(void *pDeviceHandler, CARD_PHY_TYPE ePHYType); | ||
|
||
|
||
#endif /* _CHANNEL_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.