资源简介
Linux系统Realtek网卡驱动文件,型号为rtl8821ce,安装教程见本人博客https://blog.csdn.net/yx1302317313/article/details/81559995或者https://yx1302317313.github.io/2019/01/09/Linux下Realtek网卡驱动/
代码片段和文件信息
/******************************************************************************
*
* 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_))
相关资源
- OpenStack Mitaka for Ubuntu 16.04 LTS 部署指南
- QT+ffmpeg+多摄像头+实时Ubuntu直接可用(
- BCM2837- 树莓派3B 芯片手册.pdf
- 操作系统 Project4.zip
- ubuntu16.04搭建FASTDFS图片服务器,并配
- Realtek声卡官方ASIO驱动包
- 树莓派3b+Ubuntumate16.04彩虹屏解决办法
- VCS2016.6 ubuntu安装与破解方法
- pg+pgpool+Ubuntu 实现分布式流复制模式
- ubuntu上expect的安装包
- linaro-precise-ubuntu-desktop-20121124-560.tar
- Ubuntu mate 树莓派引导root文件
- CentOsUbuntu环境mkfontscalemkfontdir命令rp
- 用虚拟机在ubuntu上搭建hadoop平台的单
- TL-WN823N在ubuntu系统上驱动
- EasyBCD将ubuntu加入引导菜单
- Google Chrome稳定版32位Deb包
- ASUSPRO P5440UA无线网卡:Realtek 8821CE W
- vcxsrv-64.1.20.5.1.installer.exe
- RTL88x2BU_WiFi_linux_v5.1.7系列wifi驱动
- WIN_USB_PGTOOL_v2.0.5.zip
- ubuntu 全套软件安装包
- REALTEK WIN USB PGTOOL v2.0.9
- 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主题图片
评论
共有 条评论