资源简介
RTL8188 driver for 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
#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);
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
- 上一篇:SEW伺服中文操作手册
- 下一篇:物流配送车辆调度问题的模型和算法研究
相关资源
- CFD-Fortran-code
- PL2303_Prolific usb-to-serial DriverInstaller
- Statistical Models and Methods for Financial M
- Improved RTM Depth Image with Full Waveform In
- QDLoader HS-USB Driver_64bit_Setup.zip
- FastReport Professtional 5.6.2 Full Source for
- YUV测试序列:foreman.cif(1-4)
- Recovery Toolbox For Outlook 中文注册版(正
- 3D-IO Flatiron 1.70 For 3Ds Max 2013 - XFORCE.
- Low Power Methodology Manual for Soc Design.pd
- Learning a Deep Network with Spherical Part Mo
- Probability Statistics and Random Processes fo
- Conefor_Inputs_10英文和Conefor Sensinode 2.
- DrUnarchiver压缩软件中文版for MAC
- zw_PL2303_Prolific_DriverInstaller_v10518_2(
- R Graphics Essentials for Great Data Visualiza
- Arcgis editor for openstreetmap插件10.2版本
- Elements of Information Theory 信息论基础
- Probability Statistics and Random Processes Fo
- CubismSdkForUnity-4-beta.1.unitypackage
- 量化金融R语言高级教程(Mastering R
- Shader Forge 1.3.8.0_unity2018.unitypackage
- 有限元方法编程及fortran程序__第三版
- ROS机器人程序设计第二版 Learning ROS
- Selenium WebDriver 3 Practical Guide 2nd.Editi
- ZTE_LTE_Datacard_Product_USB_Driver
- indy 10.5.8.zip FOR delphi7
- UniBeast 9.1 for Mojave
- libevent-2.1.8-stable for iOS 包含静态库与
- Exploring BeagleBone Tools and Techniques for
评论
共有 条评论