资源简介
1B在全志r16平台tinav2.5系统下调通RTL8188FU
2018/5/11 14:49
版本:V1.0
开发板:客户提供
SDK:tina v2.5
1、01原始编译全志r16平台tinav2.5系统:
rootroot@cm88:~$ cd /home/wwt
rootroot@cm88:/home/wwt$
rootroot@cm88:/home/wwt$ md5sum tinav2.5_orig_r16repack_20171214_1114.tar.gz
aa13de7313f393ca25375d9802a65da8 tinav2.5_orig_r16repack_20171214_1114.tar.gz
rootroot@cm88:/home/wwt$ tar zxvf tinav2.5_orig_r16repack_20171214_1114.tar.gz
rootroot@cm88:/home/wwt$ cd tinav2.5/
rootroot@cm88:/home/wwt/tinav2.5$
rootroot@cm88:/home/wwt/tinav2.5$ 7za x com_tinav2.5通用修改2没有外层目录_干掉AXP223的温度检测20180326_1023.7z -r -o./
rootroot@cm88:/home/wwt/tinav2.5$ source build/envsetup.sh
(请严重注意:lunch之后的选项是环境依赖的,请选择astar_parrot-tina前的实际数值!)
rootroot@cm88:/home/wwt/tinav2.5$ lunch
32. astar_parrot-tina
Which would you like?32
rootroot@cm88:/home/wwt/tinav2.5$ make -j12
rootroot@cm88:/home/wwt/tinav2.5$ pack -d
rootroot@cm88:/home/wwt/tinav2.5$
2、
rootroot@cm88:/home/wwt/tinav2.5$
rootroot@cm88:/home/wwt/tinav2.5$ cd lichee/linux-3.4/drivers/net/wireless/
rootroot@cm88:/home/wwt/tinav2.5/lichee/linux-3.4/drivers/net/wireless$
rootroot@cm88:/home/wwt/tinav2.5/lichee/linux-3.4/drivers/net/wireless$ tar zxvf rtl8188FU_linux_v5.2.11.1_22924.20170703.tar.gz
rootroot@cm88:/home/wwt/tinav2.5/lichee/linux-3.4/drivers/net/wireless$
rootroot@cm88:/home/wwt/tinav2.5/lichee/linux-3.4/drivers/net/wireless$ mv rtl8188FU_linux_v5.2.11.1_22924.20170703 rtl8188fu
维权之R16平台配置Makefile:
W:\tinav2.5\lichee\linux-3.4\drivers\net\wireless\rtl8188fu\Makefile
########################## WIFI IC ############################
CONFIG_MULTIDRV = n
(可选增加)
CONFIG_RTL8192C = n
CONFIG_RTL8192D = n
CONFIG_RTL8723A = n
CONFIG_RTL8188E = n
CONFIG_RTL8812A = n
CONFIG_RTL8821A = n
CONFIG_RTL8192E = n
CONFIG_RTL8723B = n
CONFIG_RTL8814A = n
CONFIG_RTL8723C = n
CONFIG_RTL8188F = y
CONFIG_RTL8822B = n
CONFIG_RTL8723D = n
CONFIG_RTL8821C = n
###################### Platform Related #######################
(务必修改,否则就是X86架构了)
CONFIG_PLATFORM_I386_PC = n
C
代码片段和文件信息
/******************************************************************************
*
* 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_))
相关资源
- F1C200s中文资料
- 全志xr819 wifi datasheet
- (AD版本)全志A33核心板原理图和四层
- Orange pi PC(H3)移植linux总结
- A20 数据手册
- 全志 A83t User Mannal 用户手册
- 全志H3硬件设计资料
- 全志H6硬件设计资料
- 全志v3 原理图 sdk
- 全志平台硬编硬解附带资料
- 全志解包打包工具 DragonFace v2.2.3
- 全志A33全套资料
- 全志H3 H5 及配套DDR EMMC PCB库和相关数
- 全志 固件IMG解包修改打包 Dragonface2
- 全志A33方案核心板原理图&PCB;设计
- RTL8189ES_linux_v5.3.3.1_27418.20180502.zip
- 全志A83T硬件发布资料包
- 全志系列固件修改工具
- 全志最新固件修改工具DragonFrace2.3.1
- 全志V3S中文版datasheet
- 全志a33软硬件开发资料合集
- 最新全志固件修改工具全系列2.2.5
- DragonFace2.3 全志固件定制工具
- 全志A13刷机工具
- 全志V3s原理图PCB及相关开发资料
- 固件修改工具DragonFaceV2.3.0.zip
- 全志H3核心板原理图
- 全志v3s 原理图 sdk
- 全志XR871规格书,故事机平台
- 全志基于asoc音频驱动编写
评论
共有 条评论