资源简介
realtek无线网卡驱动,嵌入式linux交叉编译使用,可用于linux2.6 3.x平台,选择平台交叉编译器编译为ko文件。
代码片段和文件信息
#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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2030 2016-10-25 16:59 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\android_ref_codes_JB_4.2\linux-3.0.42_STATION_INFO_ASSOC_REQ_IES.diff
文件 411715 2016-10-25 17:00 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\android_ref_codes_JB_4.2\Realtek_Wi-Fi_SDK_for_Android_JB_4.pdf
文件 17892 2016-10-25 16:59 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\android_ref_codes_JB_4.2\realtek_wifi_SDK_for_android_JB_4.2_20130208.tar.gz
文件 2030 2016-10-25 16:59 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\android_ref_codes_KK_4.4\linux-3.0.42_STATION_INFO_ASSOC_REQ_IES.diff
文件 403826 2016-10-25 17:01 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\android_ref_codes_KK_4.4\Realtek_Wi-Fi_SDK_for_Android_KK_4.4.pdf
文件 16390 2016-10-25 16:59 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\android_ref_codes_KK_4.4\realtek_wifi_SDK_for_android_KK_4.4_20140117.tar.gz
文件 2030 2016-10-25 16:59 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\android_ref_codes_L_5.x\linux-3.0.42_STATION_INFO_ASSOC_REQ_IES.diff
文件 470220 2016-10-25 17:02 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\android_ref_codes_L_5.x\Realtek_Wi-Fi_SDK_for_Android_L_5.pdf
文件 10756 2016-10-25 16:59 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\android_ref_codes_L_5.x\realtek_wifi_SDK_for_android_L_5.x_20150811.tgz
文件 2030 2016-10-25 16:59 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\android_ref_codes_M_6.x\linux-3.0.42_STATION_INFO_ASSOC_REQ_IES.diff
文件 466693 2016-10-25 17:02 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\android_ref_codes_M_6.x\Realtek_Wi-Fi_SDK_for_Android_M_6.pdf
文件 10727 2016-10-25 16:59 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\android_ref_codes_M_6.x\realtek_wifi_SDK_for_android_L_6.x_20151116.tgz
文件 449832 2016-10-25 17:03 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\btcoex\HowTo_debug_BT_coexistence.pdf
文件 678 2016-10-25 16:59 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\btcoex\sc
文件 524 2016-10-25 16:59 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\btcoex\sc
文件 133219 2016-10-25 17:07 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\document\Driver_Configuration_for_RF_Regulatory_Certification.pdf
文件 389447 2016-10-25 17:07 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\document\HowTo_enable_and_verify_TDLS_function_in_Wi-Fi_driver.pdf
文件 302592 2016-10-25 17:06 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\document\HowTo_enable_driver_to_support_80211d.pdf
文件 71146 2016-10-25 17:07 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\document\HowTo_enable_driver_to_support_WIFI_certification_test.pdf
文件 10814 2016-10-25 17:07 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\document\HowTo_enable_the_power_saving_functionality.pdf
文件 73979 2016-10-25 17:07 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\document\HowTo_support_more_VidPids.pdf
文件 213539 2016-10-25 17:07 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\document\How_to_append_vendor_specific_ie_to_driver_management_fr
文件 201209 2016-10-25 17:07 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\document\How_to_set_driver_debug_log_level.pdf
文件 4190 2016-10-25 16:59 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\document\linux_dhcp_server_notes.txt
文件 240148 2016-10-25 17:08 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\document\Miracast_for_Realtek_WiFi.pdf
文件 199398 2016-10-25 17:09 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\document\Quick_Start_Guide_for_Adaptivity_and_Carrier_Sensing_Test.pdf
文件 148144 2016-10-25 17:09 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\document\Quick_Start_Guide_for_Bridge.pdf
文件 323037 2016-10-25 17:09 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\document\Quick_Start_Guide_for_Driver_Compilation_and_Installation.pdf
文件 262053 2016-10-25 17:08 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\document\Quick_Start_Guide_for_SoftAP.pdf
文件 145186 2016-10-25 17:09 RTL88x2BU_WiFi_linux_v5.1.7_19806_BTCOEX20161024-3333.20161025\document\Quick_Start_Guide_for_Station_Mode.pdf
............此处省略50个文件信息
相关资源
- WIN_USB_PGTOOL_v2.0.5.zip
- REALTEK WIN USB PGTOOL v2.0.9
- VMware-ESXi-6.7.0-8169922增加RealTek8168网卡
- REALTEK_PGTOOL_v2.0.5.rar
- REALTEK USB Wireless LAN Utility 驱动
- REALTEK WIN USB PGTOOL v2.0.5
- 通用在windows2000和windows2003的realtek声卡
- Realtek1111的驱动源码和编译好的ko文件
- VMWARE ESXI 6.5 up1已打包realtek瑞昱系列网
- 全网首发,ESXi670-202004002合成RealTek网
- ESXi-6.5.0-Realtek网卡驱动集成镜像第二
- VMware-ESXi-6.7.0-8169922增加RealTek8168网卡
- DS1 DAX2 DAX3 DTSX
- ESXi-6.5.0-Realtek网卡驱动集成镜像第一
- VMWARE ESXI 6.5 up1已打包realtek瑞昱系列网
- RealTek网卡Vlan管理器.zip
- exsi6.7集成realtek网卡驱动包一
- realtek omnipeek driver
- 8822CS-202004201140202318cqbt.zip
- RTL8111/8168B linux网卡驱动
- REALTEK最新PXE_ROM
- RealtekRTL8100网卡驱动
- 全网首发,ESXi670-202006001合成RealTek网
- Realtek RTL8763BFR reference-MEMS_AMIC_1v4.p
- VMware-ESXi-6.7.0-8169922-realtek8168.iso
- 全网首发,ESXi670-202010001合成RealTek网
- realtek_RTL8111G千兆网卡驱动for dos
- VMwareESXi6.5集成Realtek网卡驱动安装镜像
- Realtek-RTD2660源代码源程序-适用于7至
- Realtek PCIe GBE Family Controller Win7-3264位驱
评论
共有 条评论