资源简介
内附无线网卡Comfast CF-WU810N的Linux驱动版本及安装说明。解压后根据《安装说明.txt》的步骤执行即可完成无线网卡的linux驱动安装。
代码片段和文件信息
/******************************************************************************
*
* Copyright(c) 2007 - 2012 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_AP_C_
#include
#include
#ifdef CONFIG_AP_MODE
extern unsigned char RTW_WPA_OUI[];
extern unsigned char WMM_OUI[];
extern unsigned char WPS_OUI[];
extern unsigned char P2P_OUI[];
extern unsigned char WFD_OUI[];
void init_mlme_ap_info(_adapter *padapter)
{
struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv;
struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
_rtw_spinlock_init(&pmlmepriv->bcn_update_lock);
/* pmlmeext->bstart_bss = _FALSE; */
}
void free_mlme_ap_info(_adapter *padapter)
{
struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
stop_ap_mode(padapter);
_rtw_spinlock_free(&pmlmepriv->bcn_update_lock);
}
static void update_BCNTIM(_adapter *padapter)
{
struct sta_priv *pstapriv = &padapter->stapriv;
struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv);
struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
WLAN_BSSID_EX *pnetwork_mlmeext = &(pmlmeinfo->network);
unsigned char *pie = pnetwork_mlmeext->IEs;
#if 0
/* update TIM IE */
/* if(pstapriv->tim_bitmap) */
#endif
if (_TRUE) {
u8 *p *dst_ie *premainder_ie = NULL *pbackup_remainder_ie = NULL;
u16 tim_bitmap_le;
uint offset tmp_len tim_ielen tim_ie_offset remainder_ielen;
tim_bitmap_le = cpu_to_le16(pstapriv->tim_bitmap);
p = rtw_get_ie(pie + _FIXED_IE_LENGTH_ _TIM_IE_ &tim_ielen pnetwork_mlmeext->IELength - _FIXED_IE_LENGTH_);
if (p != NULL && tim_ielen > 0) {
tim_ielen += 2;
premainder_ie = p + tim_ielen;
tim_ie_offset = (sint)(p - pie);
remainder_ielen = pnetwork_mlmeext->IELength - tim_ie_offset - tim_ielen;
/*append TIM IE from dst_ie offset*/
dst_ie = p;
} else {
tim_ielen = 0;
/*calculate head_len*/
offset = _FIXED_IE_LENGTH_;
/* get ssid_ie len */
p = rtw_get_ie(pie + _BEACON_IE_OFFSET_ _SSID_IE_ &tmp_len (pnetwork_mlmeext->IELength - _BEACON_IE_OFFSET_));
if (p != NULL)
offset += tmp_len + 2;
/*get supported rates len*/
p = rtw_get_ie(pie + _BEACON_IE_OFFSET_ _SUPPORTEDRATES_IE_ &tmp_len (pnetwork_mlmeext->IELength - _BEACON_IE_OFFSET_))
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 64 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\clean
文件 76789 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\efuse\rtw_efuse.c
文件 121410 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_ap.c
文件 89867 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_beamforming.c
文件 46437 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_br_ext.c
文件 48600 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_btcoex.c
文件 1396 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_btcoex_wifionly.c
文件 51167 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_bt_mp.c
文件 127319 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_cmd.c
文件 153626 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_debug.c
文件 8496 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_eeprom.c
文件 69787 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_ieee80211.c
文件 19501 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_io.c
文件 5987 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_ioctl_query.c
文件 30284 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_ioctl_rtl.c
文件 31692 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_ioctl_set.c
文件 11119 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_iol.c
文件 2766 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_mem.c
文件 35477 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_mi.c
文件 138123 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_mlme.c
文件 479857 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_mlme_ext.c
文件 96276 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_mp.c
文件 66460 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_mp_ioctl.c
文件 13142 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_odm.c
文件 163058 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_p2p.c
文件 66544 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_pwrctrl.c
文件 134194 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_recv.c
文件 36933 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_rf.c
文件 2576 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_sdio.c
文件 91307 2017-12-22 15:07 Comfast CF-WU810N Linux驱动及安装说明\core\rtw_security.c
............此处省略479个文件信息
评论
共有 条评论