资源简介
TP-LINK的TL-WN823N不能用于linux问题(本文基于ubuntu系统)(驱动在我资源里)亲测方法可用
代码片段和文件信息
/******************************************************************************
*
* 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 2016-01-18 18:56 rtl8192eu-linux-driver-master\
文件 110 2016-01-18 18:56 rtl8192eu-linux-driver-master\Kconfig
文件 41233 2016-01-18 18:56 rtl8192eu-linux-driver-master\Makefile
文件 2204 2016-01-18 18:56 rtl8192eu-linux-driver-master\README.md
文件 64 2016-01-18 18:56 rtl8192eu-linux-driver-master\clean
目录 0 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\
目录 0 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\efuse\
文件 35204 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\efuse\rtw_efuse.c
文件 96721 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_ap.c
文件 28656 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_beamforming.c
文件 46523 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_br_ext.c
文件 54027 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_bt_mp.c
文件 7688 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_btcoex.c
文件 92884 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_cmd.c
文件 38755 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_debug.c
文件 10182 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_eeprom.c
文件 53488 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_ieee80211.c
文件 14231 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_io.c
文件 6988 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_ioctl_query.c
文件 30526 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_ioctl_rtl.c
文件 45236 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_ioctl_set.c
文件 10938 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_iol.c
文件 125009 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_mlme.c
文件 420067 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_mlme_ext.c
文件 72357 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_mp.c
文件 90470 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_mp_ioctl.c
文件 5954 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_odm.c
文件 153106 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_p2p.c
文件 65888 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_pwrctrl.c
文件 109341 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_recv.c
文件 2388 2016-01-18 18:56 rtl8192eu-linux-driver-master\core\rtw_rf.c
............此处省略326个文件信息
- 上一篇:ad9361学习记录
- 下一篇:八种软件结构风格的KWIC系统实现以及设计图和要求
相关资源
- EasyBCD将ubuntu加入引导菜单
- Google Chrome稳定版32位Deb包
- vcxsrv-64.1.20.5.1.installer.exe
- ubuntu 全套软件安装包
- UltraEdit 15.0.0.11 for Ubuntu 64bit Cracked/完
- redis-desktop-manager_0.9.3.20_amd64.deb for L
- window与ubuntu建立ROS通信
-
Ubuntu14下安装TP-li
nk 无线网卡驱动 - UEFI引导模式Win10+Ubuntu17.04双系统安装
- ubuntu 18.04可用的网易云音乐
- Ubuntu mac主题图片
- VTK-8.2.0.tar.gz
- openjdk8 for ubuntu
- 向日葵远程控制软件,ubuntu64位ARM版本
- 免编译解压即用qt-everywhere-opensource-
- ubuntu 16.04 docker 离线安装包 docker-ce_
- scala-2.11.8.tgz
- SecureCRT8.5_for_linux.zip
- Ubuntu12.04菜鸟使用手册合集
- Ubuntu Dialogue Corpus V1
- browser360-cn-stable_10.0.2013.1-1_amd64.deb
- mongodb-linux-x86_64-ubuntu1604-3.2.22.tgz
- eclipse-cpp-luna-SR2-linux-gtk-x86_64.tar.gz
- arm-linux-gcc交叉编译器安装包及详细安
- StarDict星际译王的安装离线词典和语音
- ubuntu 18.04 的docker基础镜像
- nccl-repo-ubuntu1604-2.2.13-ga-cuda8.0_1-1_amd
- ubuntu wps缺少的字体
- ubuntu离线安装搜狗输入法所需安装文
- nccl-repo-ubuntu1604-2.1.15-ga-cuda9.0_1-1_amd
评论
共有 条评论