资源简介
主要就是针对net-core磊科NW392无线网卡在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
#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);
struct sta_priv *pstapriv = &padapter->stapriv;
struct wlan_acl_pool *pacl_list = &pstapriv->acl_list;
_rtw_spinlock_init(&pmlmepriv->bcn_update_lock);
//for ACL
_rtw_init_queue(&pacl_list->acl_node_q);
//pmlmeext->bstart_bss = _FALSE;
start_ap_mode(padapter);
}
void free_mlme_ap_info(_adapter *padapter)
{
_irqL irqL;
struct sta_info *psta=NULL;
struct sta_priv *pstapriv = &padapter->stapriv;
struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv;
struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
//stop_ap_mode(padapter);
pmlmepriv->update_bcn = _FALSE;
pmlmeext->bstart_bss = _FALSE;
rtw_sta_flush(padapter);
pmlmeinfo->state = _HW_STATE_NOlink_;
//free_assoc_sta_resources
rtw_free_all_stainfo(padapter);
//free bc/mc sta_info
psta = rtw_get_bcmc_stainfo(padapter);
_enter_critical_bh(&(pstapriv->sta_hash_lock) &irqL);
rtw_free_stainfo(padapter psta);
_exit_critical_bh(&(pstapriv->sta_hash_lock) &irqL);
_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;
//DBG_871X(“%s\n“ __FUNCTION__);
//update TIM IE
//if(pstapriv->tim_bitmap)
if(_TRUE)
{
u8 *p *dst_ie *premainder_ie=NULL *pbackup_remainder_ie=NULL;
u16 tim_
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-07-22 18:11 rtl8812au-master\
文件 109 2018-07-22 18:11 rtl8812au-master\Kconfig
文件 31502 2018-07-22 18:11 rtl8812au-master\Makefile
文件 2416 2018-07-22 18:11 rtl8812au-master\README.md
文件 64 2018-07-22 18:11 rtl8812au-master\clean
目录 0 2018-07-22 18:11 rtl8812au-master\core\
目录 0 2018-07-22 18:11 rtl8812au-master\core\efuse\
文件 31363 2018-07-22 18:11 rtl8812au-master\core\efuse\rtw_efuse.c
文件 85890 2018-07-22 18:11 rtl8812au-master\core\rtw_ap.c
文件 46553 2018-07-22 18:11 rtl8812au-master\core\rtw_br_ext.c
文件 50794 2018-07-22 18:11 rtl8812au-master\core\rtw_bt_mp.c
文件 75423 2018-07-22 18:11 rtl8812au-master\core\rtw_cmd.c
文件 32190 2018-07-22 18:11 rtl8812au-master\core\rtw_debug.c
文件 10182 2018-07-22 18:11 rtl8812au-master\core\rtw_eeprom.c
文件 49553 2018-07-22 18:11 rtl8812au-master\core\rtw_ieee80211.c
文件 12884 2018-07-22 18:11 rtl8812au-master\core\rtw_io.c
文件 6988 2018-07-22 18:11 rtl8812au-master\core\rtw_ioctl_query.c
文件 30526 2018-07-22 18:11 rtl8812au-master\core\rtw_ioctl_rtl.c
文件 43589 2018-07-22 18:11 rtl8812au-master\core\rtw_ioctl_set.c
文件 10938 2018-07-22 18:11 rtl8812au-master\core\rtw_iol.c
文件 111903 2018-07-22 18:11 rtl8812au-master\core\rtw_mlme.c
文件 382199 2018-07-22 18:11 rtl8812au-master\core\rtw_mlme_ext.c
文件 60536 2018-07-22 18:11 rtl8812au-master\core\rtw_mp.c
文件 90449 2018-07-22 18:11 rtl8812au-master\core\rtw_mp_ioctl.c
文件 145155 2018-07-22 18:11 rtl8812au-master\core\rtw_p2p.c
文件 46389 2018-07-22 18:11 rtl8812au-master\core\rtw_pwrctrl.c
文件 101651 2018-07-22 18:11 rtl8812au-master\core\rtw_recv.c
文件 2388 2018-07-22 18:11 rtl8812au-master\core\rtw_rf.c
文件 85583 2018-07-22 18:11 rtl8812au-master\core\rtw_security.c
文件 10604 2018-07-22 18:11 rtl8812au-master\core\rtw_sreset.c
文件 21151 2018-07-22 18:11 rtl8812au-master\core\rtw_sta_mgt.c
............此处省略299个文件信息
- 上一篇:苹果方体PingFang.zip
- 下一篇:LabVIEW超经典
相关资源
- Essential Linux Device Drivers + 源码
- 银河麒麟V10 server系统安装手册
- rarlinux-x64-5.3.0.tar.gz
- neper安装包
- oozie -4.3.0 .tar for linux.64
- EXSi 6.5 U1 Realtek 8168-8111-8411-8118网卡驱
- Linux常用命令汇总
- cdlinux无线安全审计包
- Understanding the Linux Kernel 3rd 原版pdf
- OMNET++IDE_P2P网络仿真的安装步骤(Wi
- Linux 下 diff 工具源码
- Realtek RTL8188 WIFI驱动程序for linux
- LinuxUNIX系统编程手册(英文版)
- ntp-4.2.6.tar.gz
- Linux局域网聊天项目
- nios2gcc.tar.bz2
- linux 0.11内核完全注释(pdf)(含源码
- glibc-32bit-2.3.3-5.x86_64.rpm
- linux下mediainfo和依赖库文件
- linux 下ping命令的实现
- 老男孩 运维笔记.pdf 高清完整版
- linux那些事儿之我是usb(第2版)文字
- Linux Shell 实现自动化运维实践
- Linux多线程编程手册
- WUST_Supplicant_For_Linux锐捷客户端linux版
-
em
bedded Linux Projects Using Yocto Project - 漫谈兼容内核[pdf]
- linux下ftp客户端程序的C实现
- 新版dnw支持win10驱动及软件
- vim离线安装包。
评论
共有 条评论