资源简介
RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706-123
代码片段和文件信息
#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 2016-07-06 14:37 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\
目录 0 2016-07-06 14:35 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\android_ref_codes_JB_4.2\
文件 2030 2016-06-13 12:30 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\android_ref_codes_JB_4.2\linux-3.0.42_STATION_INFO_ASSOC_REQ_IES.diff
文件 273961 2016-06-13 12:36 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\android_ref_codes_JB_4.2\Realtek_Wi-Fi_SDK_for_Android_JB_4.2.pdf
文件 17892 2016-06-13 12:30 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\android_ref_codes_JB_4.2\realtek_wifi_SDK_for_android_JB_4.2_20130208.tar.gz
目录 0 2016-07-06 14:35 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\android_ref_codes_KK_4.4\
文件 2030 2016-06-13 12:30 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\android_ref_codes_KK_4.4\linux-3.0.42_STATION_INFO_ASSOC_REQ_IES.diff
文件 285831 2016-06-13 12:36 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\android_ref_codes_KK_4.4\Realtek_Wi-Fi_SDK_for_Android_KK_4.4.pdf
文件 16390 2016-06-13 12:30 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\android_ref_codes_KK_4.4\realtek_wifi_SDK_for_android_KK_4.4_20140117.tar.gz
目录 0 2016-07-06 14:35 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\android_ref_codes_L_5.x\
文件 2030 2016-06-13 12:30 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\android_ref_codes_L_5.x\linux-3.0.42_STATION_INFO_ASSOC_REQ_IES.diff
文件 262897 2016-06-13 12:35 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\android_ref_codes_L_5.x\Realtek_Wi-Fi_SDK_for_Android_L_5.pdf
文件 10756 2016-06-13 12:30 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\android_ref_codes_L_5.x\realtek_wifi_SDK_for_android_L_5.x_20150811.tgz
目录 0 2016-07-06 14:35 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\android_ref_codes_M_6.x\
文件 2030 2016-06-13 12:30 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\android_ref_codes_M_6.x\linux-3.0.42_STATION_INFO_ASSOC_REQ_IES.diff
文件 261700 2016-06-13 12:35 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\android_ref_codes_M_6.x\Realtek_Wi-Fi_SDK_for_Android_M_6.pdf
文件 10727 2016-06-13 12:30 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\android_ref_codes_M_6.x\realtek_wifi_SDK_for_android_L_6.x_20151116.tgz
目录 0 2016-07-06 14:35 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\btcoex\
文件 228708 2016-06-13 12:34 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\btcoex\HowTo_debug_BT_coexistence.pdf
文件 19633 2016-06-13 12:34 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\btcoex\How_to_set_bt-coex_antenna_isolation_parameters_on_combo_card.pdf
目录 0 2016-07-06 14:35 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\btcoex\sc
文件 678 2016-06-13 12:30 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\btcoex\sc
文件 524 2016-06-13 12:30 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\btcoex\sc
文件 386 2016-06-13 12:30 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\btcoex\wifi_ant_isolation.txt
目录 0 2016-07-06 14:35 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\document\
文件 339712 2016-06-13 12:41 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\document\HowTo_enable_and_verify_TDLS_function_in_Wi-Fi_driver.pdf
文件 45044 2016-06-13 12:41 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\document\HowTo_enable_driver_to_support_80211d.pdf
文件 18740 2016-06-13 12:41 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\document\HowTo_enable_driver_to_support_WIFI_certification_test.pdf
文件 175523 2016-06-13 12:41 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\document\HowTo_enable_the_power_saving_functionality.pdf
文件 55522 2016-06-13 12:42 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\document\HowTo_port_wireless_driver_to_Google_ChromiumOS.pdf
文件 90304 2016-06-13 12:41 RTL8723DS_WiFi_linux_v5.1.1.2_18132_BTCOEX20160510-0909.20160706\document\How_to_append_vendor_specific_ie_to_driver_management_fr
............此处省略36个文件信息
评论
共有 条评论