资源简介
rk3288 android5.1 移植rtl8723ds所需要的驱动文件,移植rtl8723ds的链接为https://blog.csdn.net/Mrdeath/article/details/109081588
代码片段和文件信息
/******************************************************************************
*
* 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);
_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_));
if (p != NULL)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-05-26 19:31 rtl8723DS\
文件 64 2017-01-11 17:08 rtl8723DS\clean
目录 0 2017-03-23 14:33 rtl8723DS\core\
目录 0 2017-03-23 14:33 rtl8723DS\core\efuse\
文件 66981 2017-01-11 18:04 rtl8723DS\core\efuse\rtw_efuse.c
文件 119444 2017-01-11 18:04 rtl8723DS\core\rtw_ap.c
文件 55812 2017-01-11 17:08 rtl8723DS\core\rtw_beamforming.c
文件 46437 2017-01-11 17:08 rtl8723DS\core\rtw_br_ext.c
文件 48563 2017-01-11 18:04 rtl8723DS\core\rtw_btcoex.c
文件 51147 2017-01-11 17:08 rtl8723DS\core\rtw_bt_mp.c
文件 123089 2017-01-11 18:04 rtl8723DS\core\rtw_cmd.c
文件 132313 2017-01-11 18:04 rtl8723DS\core\rtw_debug.c
文件 8496 2017-01-11 17:08 rtl8723DS\core\rtw_eeprom.c
文件 68789 2017-01-11 17:08 rtl8723DS\core\rtw_ieee80211.c
文件 19501 2017-01-11 17:08 rtl8723DS\core\rtw_io.c
文件 5987 2017-01-11 17:08 rtl8723DS\core\rtw_ioctl_query.c
文件 30284 2017-01-11 17:08 rtl8723DS\core\rtw_ioctl_rtl.c
文件 31604 2017-01-11 17:08 rtl8723DS\core\rtw_ioctl_set.c
文件 11119 2017-01-11 17:08 rtl8723DS\core\rtw_iol.c
文件 2766 2017-01-11 17:08 rtl8723DS\core\rtw_mem.c
文件 35477 2017-01-11 18:04 rtl8723DS\core\rtw_mi.c
文件 138091 2017-01-11 18:04 rtl8723DS\core\rtw_mlme.c
文件 478531 2017-01-11 18:04 rtl8723DS\core\rtw_mlme_ext.c
文件 92691 2017-01-11 18:04 rtl8723DS\core\rtw_mp.c
文件 66457 2017-01-11 17:08 rtl8723DS\core\rtw_mp_ioctl.c
文件 16703 2017-01-11 18:04 rtl8723DS\core\rtw_odm.c
文件 162681 2017-01-11 18:04 rtl8723DS\core\rtw_p2p.c
文件 65362 2017-01-11 18:04 rtl8723DS\core\rtw_pwrctrl.c
文件 129687 2017-01-11 18:04 rtl8723DS\core\rtw_recv.c
文件 36779 2017-01-11 18:04 rtl8723DS\core\rtw_rf.c
文件 2576 2017-01-11 17:08 rtl8723DS\core\rtw_sdio.c
............此处省略457个文件信息
评论
共有 条评论