91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

8192CU LINUX驅(qū)動(dòng)/****************************************************************************** * * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * 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, USA * * ******************************************************************************/ /* * Public General Config */ #define AUTOCONF_INCLUDED #define RTL871X_MODULE_NAME "92CU" #define DRV_NAME "rtl8192cu" #define CONFIG_USB_HCI 1 #define CONFIG_RTL8192C 1 #define PLATFORM_LINUX 1 //#define CONFIG_IOCTL_CFG80211 1 #ifdef CONFIG_IOCTL_CFG80211 #define CONFIG_CFG80211_FORCE_COMPATIBLE_2_6_37_UNDER //#define CONFIG_DEBUG_CFG80211 1 #endif /* * Internal General Config */ //#define CONFIG_PWRCTRL //#define CONFIG_H2CLBK #define CONFIG_EMBEDDED_FWIMG 1 //#define CONFIG_FILE_FWIMG #ifdef CONFIG_WAKE_ON_WLAN #define CONFIG_WOWLAN 1 #endif //CONFIG_WAKE_ON_WLAN #define CONFIG_R871X_TEST 1 #define CONFIG_80211N_HT 1 #define CONFIG_RECV_REORDERING_CTRL 1 //#define CONFIG_TCP_CSUM_OFFLOAD_RX 1 //#define CONFIG_DRVEXT_MODULE 1 #ifndef CONFIG_MP_INCLUDED #define CONFIG_IPS 1 #ifdef CONFIG_IPS //#define CONFIG_IPS_LEVEL_2 1 //enable this to set default IPS mode to IPS_LEVEL_2 #endif #define SUPPORT_HW_RFOFF_DETECTED 1 #define CONFIG_LPS 1 #define CONFIG_BT_COEXIST 1 //befor link #define CONFIG_ANTENNA_D

資源截圖

代碼片段和文件信息

/******************************************************************************
?*
?*?Copyright(c)?2007?-?2011?Realtek?Corporation.?All?rights?reserved.
?*????????????????????????????????????????
?*?This?program?is?free?software;?you?can?redistribute?it?and/or?modify?it
?*?under?the?terms?of?version?2?of?the?GNU?General?Public?License?as
?*?published?by?the?Free?Software?Foundation.
?*
?*?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?USA
?*
?*
?******************************************************************************/
#define?_RTW_BR_EXT_C_

#ifdef?__KERNEL__
#include?
#include?
#include?
#include?
#include?
#include?
#endif

#if?1 //?rtw_wifi_driver
#include?
#include?
#include?“rtw_br_ext.h“
#else //?rtw_wifi_driver
#include?“./8192cd_cfg.h“

#ifndef?__KERNEL__
#include?“./sys-support.h“
#endif

#include?“./8192cd.h“
#include?“./8192cd_headers.h“
#include?“./8192cd_br_ext.h“
#include?“./8192cd_debug.h“
#endif //?rtw_wifi_driver

#ifdef?CL_IPV6_PASS
#ifdef?__KERNEL__
#include?
#include?
#include?
#include?
#endif
#endif

#ifdef?CONFIG_BR_EXT

//#define?BR_EXT_DEBUG

#define?NAT25_IPV4 01
#define?NAT25_IPV6 02
#define?NAT25_IPX 03
#define?NAT25_APPLE 04
#define?NAT25_PPPOE 05

#define?RTL_RELAY_TAG_LEN?(ETH_ALEN)
#define?TAG_HDR_LEN 4

#define?MAGIC_CODE 0x8186
#define?MAGIC_CODE_LEN 2
#define?WAIT_TIME_PPPOE 5 //?waiting?time?for?pppoe?server?in?sec

/*-----------------------------------------------------------------
??How?database?records?network?address:
???????????0????1????2????3????4????5????6????7????8????9???10
????????|----|----|----|----|----|----|----|----|----|----|----|
??IPv4??|type|?????????????????????????????|??????IP?addr??????|
??IPX???|type|??????Net?addr?????|??????????Node?addr??????????|
??IPX???|type|??????Net?addr?????|Sckt?addr|
??Apple?|type|?Network?|node|
??PPPoE?|type|???SID???|???????????AC?MAC????????????|
-----------------------------------------------------------------*/


//Find?a?tag?in?pppoe?frame?and?return?the?pointer
static?__inline__?unsigned?char?*__nat25_find_pppoe_tag(struct?pppoe_hdr?*ph?unsigned?short?type)
{
unsigned?char?*cur_ptr?*start_ptr;
unsigned?short?tagLen?tagType;

start_ptr?=?cur_ptr?=?(unsigned?char?*)ph->tag;
while((cur_ptr?-?start_ptr)?length))?{
//?prevent?un-alignment?access
tagType?=?(unsigned?short)((cur_ptr[0]?< tagLen??=?(unsigned?short)((cur_ptr[2]?<

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----

?????文件???????6848??2012-04-04?00:42??8192\autoconf_rtl8192c_usb_linux.h

?????文件???????5358??2012-04-04?00:42??8192\autoconf_rtl8192d_usb_linux.h

?????文件????????116??2012-04-04?00:42??8192\clean

?????文件??????26231??2012-04-04?00:42??8192\core\efuse\rtw_efuse.c

?????文件??????46300??2012-04-04?00:42??8192\core\rtw_br_ext.c

?????文件??????63676??2012-04-04?00:42??8192\core\rtw_cmd.c

?????文件??????18582??2012-04-04?00:42??8192\core\rtw_debug.c

?????文件??????10183??2012-04-04?00:42??8192\core\rtw_eeprom.c

?????文件??????33497??2012-04-04?00:42??8192\core\rtw_ieee80211.c

?????文件??????13217??2012-04-04?00:42??8192\core\rtw_io.c

?????文件???????7085??2012-04-04?00:42??8192\core\rtw_ioctl_query.c

?????文件??????30770??2012-04-04?00:42??8192\core\rtw_ioctl_rtl.c

?????文件??????44512??2012-04-04?00:42??8192\core\rtw_ioctl_set.c

?????文件???????7630??2012-04-04?00:42??8192\core\rtw_iol.c

?????文件??????99399??2012-04-04?00:42??8192\core\rtw_mlme.c

?????文件?????335130??2012-04-04?00:42??8192\core\rtw_mlme_ext.c

?????文件??????33807??2012-04-04?00:42??8192\core\rtw_mp.c

?????文件??????88597??2012-04-04?00:42??8192\core\rtw_mp_ioctl.c

?????文件??????99779??2012-04-04?00:42??8192\core\rtw_p2p.c

?????文件??????30451??2012-04-04?00:42??8192\core\rtw_pwrctrl.c

?????文件?????122399??2012-04-04?00:42??8192\core\rtw_recv.c

?????文件???????2486??2012-04-04?00:42??8192\core\rtw_rf.c

?????文件??????83469??2012-04-04?00:42??8192\core\rtw_security.c

?????文件??????16997??2012-04-04?00:42??8192\core\rtw_sta_mgt.c

?????文件??????42663??2012-04-04?00:42??8192\core\rtw_wlan_util.c

?????文件?????115171??2012-04-04?00:42??8192\core\rtw_xmit.c

?????文件???????2942??2012-04-04?00:42??8192\hal\hal_init.c

?????文件??????38838??2012-04-04?00:42??8192\hal\rtl8192c\rtl8192c_cmd.c

?????文件?????141532??2012-04-04?00:42??8192\hal\rtl8192c\rtl8192c_dm.c

?????文件??????95518??2012-04-04?00:42??8192\hal\rtl8192c\rtl8192c_hal_init.c

............此處省略164個(gè)文件信息

評論

共有 條評論

相關(guān)資源