资源简介
RTL8189ES_linux_v5.3.3.1_27418.20180502.zip(R16+TINA V2.5)
二、使用RTL8189ES_linux_v5.3.3.1_27418.20180502.zip里面自带的驱动:
W:\RTL8189ES_linux_v5.3.3.1_27418.20180502\driver\rtl8189ES_linux_v5.3.3.1_27418.20180425.tar.gz
W:\dragonborad_rtl8189etv\lichee\linux-3.4\drivers\net\wireless\rtl8189es\Makefile
修改CPU架构之后:
###################### Platform Related #######################
CONFIG_PLATFORM_I386_PC = y
CONFIG_PLATFORM_ARM_SUN8I_W5P1 = n
修改为:
CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_ARM_SUN8I_W5P1 = y
代码片段和文件信息
#include “p2p_test.h“
unsigned int wps_pin_checksum(unsigned int pin)
{
unsigned int accum = 0;
while( pin )
{
accum += pin % 10;
pin /= 10;
accum += 3 * (pin % 10);
pin /= 10;
}
return( accum % 10 );
}
char lower(char s)
{
if((‘A‘ <= s) && (s <= ‘Z‘))
return ( s = ‘a‘ + (s - ‘A‘) );
return s;
}
int p2p_check_success(struct p2p *p)
{
int ret = 0;
if( p->status == P2P_STATE_GONEGO_OK )
ret = 1;
return ret;
}
int read_all_sta(struct p2p *p)
{
int sta_count = 0;
FILE *pf;
memset( p->cmd 0x00 CMD_SZ );
sprintf( p->cmd “%s all_sta > supp_status.txt“ p->apcli_path);
system( p->cmd );
pf = fopen( “./supp_status.txt“ “r“ );
if ( pf )
{
while( !feof( pf ) ){
memset( p->parse 0x00 CMD_SZ );
fgets( p->parse CMD_SZ pf );
if( strncmp( p->parse “dot11RSNAStatsSTAAddress=“ 25) == 0 )
{
sta_count++;
if( p->no_sta_connected == sta_count )
return _TRUE;
}
}
fclose( pf );
}
return _FALSE;
}
void do_wps(struct p2p *p)
{
FILE *pf = NULL;
int ret = _FALSE parsing_ok = _FALSE;
do
{
memset( p->cmd 0x00 CMD_SZ );
if( p->ap_open == _TRUE )
{
if(p->wps_info==1 || p->wps_info==2)
sprintf( p->cmd “%s wps_pin any %d > supp_status.txt“ p->apcli_path p->pin);
else if(p->wps_info==3)
sprintf( p->cmd “%s wps_pbc any > supp_status.txt“ p->apcli_path);
}
else if(p->wpa_open == _TRUE)
{
if(p->connect_go==1)
{
if(p->wps_info==1 || p->wps_info==2)
sprintf( p->cmd “%s wps_pin %s %d > supp_status.txt “ p->wpacli_path p->peer_devaddr p->pin);
else if(p->wps_info==3)
sprintf( p->cmd “%s wps_pbc %s > supp_status.txt “ p->wpacli_path p->peer_devaddr);
}
else if( strncmp(p->peer_ifaddr “00:00:00:00:00:00“ 17)==0 )
{
if(p->wps_info==1 || p->wps_info==2)
sprintf( p->cmd “%s wps_pin any %d > supp_status.txt “ p->wpacli_path p->pin);
else if(p->wps_info==3)
sprintf( p->cmd “%s wps_pbc any > supp_status.txt “ p->wpacli_path);
}
else
{
if(p->wps_info==1 || p->wps_info==2)
sprintf( p->cmd “%s wps_pin %s %d > supp_status.txt “ p->wpacli_path p->peer_ifaddr p->pin);
else if(p->wps_info==3)
sprintf( p->cmd “%s wps_pbc %s > supp_status.txt “ p->wpacli_path p->peer_ifaddr);
}
}
system( p->cmd );
pf = fopen( “./supp_status.txt“ “r“ );
if ( pf )
{
while( !feof( pf ) ){
memset(p->parse 0x00 CMD_SZ);
fgets(p->parse CMD_SZ pf);
if(p->ap_open == _TRUE)
{
if( (p->wps_info==1 || p->wps_info==2) && (strncmp(p->parse ““ 2) == 0) )
parsing_ok = _TRUE;
else if( (p->wps_info==3) && (strncmp(p->parse “OK“ 2) == 0) )
parsing_ok = _TRUE;
}
else if(p->wpa_open == _TRUE)
{
if( (p->wps_info==1 || p->wps_info==2) && (strncmp(p->parse “Se
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-05-02 16:22 RTL8189ES_linux_v5.3.3.1_27418.20180502\
目录 0 2018-05-02 16:14 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_JB_4.2\
文件 2030 2018-05-02 16:04 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_JB_4.2\linux-3.0.42_STATION_INFO_ASSOC_REQ_IES.diff
文件 411704 2018-04-30 16:36 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_JB_4.2\Realtek_Wi-Fi_SDK_for_Android_JB_4.2.pdf
文件 17892 2018-05-02 16:04 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_JB_4.2\realtek_wifi_SDK_for_android_JB_4.2_20130208.tar.gz
目录 0 2018-05-02 16:14 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_KK_4.4\
文件 2030 2018-05-02 16:04 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_KK_4.4\linux-3.0.42_STATION_INFO_ASSOC_REQ_IES.diff
文件 403838 2018-04-30 16:36 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_KK_4.4\Realtek_Wi-Fi_SDK_for_Android_KK_4.4.pdf
文件 16390 2018-05-02 16:04 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_KK_4.4\realtek_wifi_SDK_for_android_KK_4.4_20140117.tar.gz
目录 0 2018-05-02 16:14 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_L_5.x\
文件 2030 2018-05-02 16:04 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_L_5.x\linux-3.0.42_STATION_INFO_ASSOC_REQ_IES.diff
文件 470220 2018-04-30 16:35 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_L_5.x\Realtek_Wi-Fi_SDK_for_Android_L_5.x.pdf
文件 10756 2018-05-02 16:04 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_L_5.x\realtek_wifi_SDK_for_android_L_5.x_20150811.tgz
目录 0 2018-05-02 16:15 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_M_6.x\
文件 2030 2018-05-02 16:04 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_M_6.x\linux-3.0.42_STATION_INFO_ASSOC_REQ_IES.diff
文件 466693 2018-04-30 16:35 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_M_6.x\Realtek_Wi-Fi_SDK_for_Android_M_6.x.pdf
文件 10740 2018-05-02 16:04 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_M_6.x\realtek_wifi_SDK_for_android_M_6.x_20151116.tgz
目录 0 2018-05-02 16:15 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_N_7.0\
文件 2030 2018-05-02 16:04 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_N_7.0\linux-3.0.42_STATION_INFO_ASSOC_REQ_IES.diff
文件 445721 2018-04-30 16:32 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_N_7.0\Realtek_Wi-Fi_SDK_for_Android_N_7.0.pdf
文件 18625 2018-05-02 16:04 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_N_7.0\realtek_wifi_SDK_for_android_N_7.0_20161024.zip
目录 0 2018-05-02 16:15 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_O_8.0\
文件 2030 2018-05-02 16:04 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_O_8.0\linux-3.0.42_STATION_INFO_ASSOC_REQ_IES.diff
文件 294047 2018-04-30 16:32 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_O_8.0\Realtek_Wi-Fi_SDK_for_Android_O_8.0.pdf
文件 48989 2018-05-02 16:04 RTL8189ES_linux_v5.3.3.1_27418.20180502\android_ref_codes_O_8.0\realtek_wifi_SDK_for_android_O_8.0_20180227.tar.gz
目录 0 2018-05-02 16:19 RTL8189ES_linux_v5.3.3.1_27418.20180502\document\
文件 302569 2018-05-02 16:04 RTL8189ES_linux_v5.3.3.1_27418.20180502\document\HowTo_enable_driver_to_support_80211d.pdf
文件 10834 2018-05-02 16:04 RTL8189ES_linux_v5.3.3.1_27418.20180502\document\HowTo_enable_the_power_saving_functionality.pdf
文件 73971 2018-05-02 16:04 RTL8189ES_linux_v5.3.3.1_27418.20180502\document\HowTo_support_more_VidPids.pdf
文件 87410 2018-05-02 16:04 RTL8189ES_linux_v5.3.3.1_27418.20180502\document\HowTo_support_WIFI_certification_test.pdf
文件 4190 2018-05-02 16:04 RTL8189ES_linux_v5.3.3.1_27418.20180502\document\linux_dhcp_server_notes.txt
............此处省略39个文件信息
相关资源
- 全志A20数据手册
- rtl8188FU_linux_v5.2.11.1_22924.20170703.tar.g
- 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;设计
- 全志A83T硬件发布资料包
- 全志系列固件修改工具
- 全志最新固件修改工具DragonFrace2.3.1
- 全志V3S中文版datasheet
- 全志a33软硬件开发资料合集
- 最新全志固件修改工具全系列2.2.5
- DragonFace2.3 全志固件定制工具
- 全志A13刷机工具
- 全志V3s原理图PCB及相关开发资料
- 固件修改工具DragonFaceV2.3.0.zip
- 全志H3核心板原理图
- 全志v3s 原理图 sdk
- 全志XR871规格书,故事机平台
评论
共有 条评论