91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 13.67MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2023-06-29
  • 語(yǔ)言: 其他
  • 標(biāo)簽: 8188??8189??linux??

資源簡(jiǎn)介

RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916

資源截圖

代碼片段和文件信息


#include?
#include?
#include?
#include?
#include?
#include?
#include?
//#include?
//#include?
#include?
#include?
#include???????????????/*?gethostbyname?getnetbyname?*/
#include?
#include??????????/*?for?“struct?sockaddr“?et?al??*/
#include????????????/*?struct?timeval?*/
#include?
#include?
//#if?LINUX_VERSION_CODE?//#include?
//#endif
#include????????/*?struct?ether_addr?*/
#include?
#include?
#include?
#include?


//#include?“iwlib.h“

static?void?HWPBC_SignalHandler(int?sig)
{
//if(sig==0x0a)
{
printf(“get?HW_PBC?signal?from?driver\n“);

//todo:?execute?the?command?below?to?start?WPS?PBC?Method

//“./wpa_cli?-p/var/run/wpa_supplicant?wps_pbc?any“

//pop?UI/dialog?to?show?starting?WPS?PBC?-?timeout?=?120sec

}
?
}


/*------------------------------------------------------------------*/
/*
?*?Wrapper?to?push?some?Wireless?Parameter?in?the?driver
?*/
static?inline?int
iw_set_ext(int skfd /*?Socket?to?the?kernel?*/
???const?char?* ifname /*?Device?name?*/
???int?request_id /*?WE?ID?*/
???struct?iwreq?* pwrq) /*?Fixed?part?of?the?request?*/
{
/*?Set?device?name?*/
? strncpy(pwrq->ifr_name?ifname?IFNAMSIZ);
//strncpy(pwrq->ifr_ifrn.ifr_name?ifname?IFNAMSIZ);


?? /*?Do?the?request?*/
?? return(ioctl(skfd?request_id?pwrq));

}

int?main(int?argc?char**?argv)
{
int?pid;
struct?iwreq?wrq;
int?devsock;
char?ifrn_name[IFNAMSIZ]; /*?if?name?e.g.?“wlan0“?*/
int?cmd?=??SIOCIWFIRSTPRIV?+?0x05;
int?req[2];

printf(“for?example\n“);

/*
if?((argc?!=?2)?||?(argv[1][0]?==?‘-‘))?{
printf(“Usage:?macaddr?interface\n“);
exit(1);
}
*/
strncpy(ifrn_name?“wlan0“?IFNAMSIZ);

devsock?=?socket(AF_INET?SOCK_STREAM?0);
//devsock?=?socket(AF_INET?SOCK_DGRAM?0);
if?(devsock?==?-1)?{
//perror(“Failed?opening?socket“);
printf(“failed?opening?socket\n“);
exit(1);
}


/*(1)?set?signal?handler.?*/
? signal(SIGUSR1?HWPBC_SignalHandler);


/*(2)?Tell?wifi?driver?our?pid?so?that?it?can?send?a?signal?to?us.?*/
pid?=?getpid();

printf(“my?pid?is?%d\n“?pid);

req[0]=0;?req[1]=pid;

memcpy(wrq.u.name?req?sizeof(int)*2);

? if(iw_set_ext(devsock?ifrn_name?cmd?&wrq)?? ?{
printf(“failed?iw_set_ext!\n“);
? ? close(devsock);
exit(1);
? ?} ?


while(1)
{
printf(“$>?“);

while(?getchar()?!=?‘\n‘)
{

}

}

close(devsock);

exit(0);

}


?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-09-17?14:30??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\
?????目錄???????????0??2013-09-17?14:26??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\android_reference_codes\
?????文件???????10936??2013-09-17?14:26??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\android_reference_codes\realtek_wifi_SDK_for_android.txt
?????文件?????1213179??2013-09-17?14:26??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\android_reference_codes\realtek_wifi_SDK_for_android_20120618.tar.gz
?????目錄???????????0??2013-09-17?14:27??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\android_reference_codes_ICS_nl80211\
?????文件???????91832??2013-09-17?14:27??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\android_reference_codes_ICS_nl80211\Realtek_Wi-Fi_SDK_for_Android_ICS.pdf
?????文件??????253610??2013-09-17?14:26??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\android_reference_codes_ICS_nl80211\realtek_wifi_SDK_for_android_ICS_20120621.tar.gz
?????目錄???????????0??2013-09-17?14:27??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\android_ref_codes_JB_4.1\
?????文件????????2030??2013-09-17?14:26??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\android_ref_codes_JB_4.1\linux-3.0.42_STATION_INFO_ASSOC_REQ_IES.diff
?????文件??????114780??2013-09-17?14:27??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\android_ref_codes_JB_4.1\Realtek_Wi-Fi_SDK_for_Android_JB_4_1.pdf
?????文件???????38905??2013-09-17?14:26??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\android_ref_codes_JB_4.1\realtek_wifi_SDK_for_android_JB_4.1_20130306.tar.gz
?????目錄???????????0??2013-09-17?14:27??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\android_ref_codes_JB_4.2\
?????文件????????2030??2013-09-17?14:26??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\android_ref_codes_JB_4.2\linux-3.0.42_STATION_INFO_ASSOC_REQ_IES.diff
?????文件??????119955??2013-09-17?14:27??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\android_ref_codes_JB_4.2\Realtek_Wi-Fi_SDK_for_Android_JB_4_2.pdf
?????文件???????17892??2013-09-17?14:26??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\android_ref_codes_JB_4.2\realtek_wifi_SDK_for_android_JB_4.2_20130208.tar.gz
?????目錄???????????0??2013-09-17?14:30??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\document\
?????文件???????41669??2013-09-17?14:28??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\document\HowTo_enable_driver_to_support_80211d.pdf
?????文件???????16309??2013-09-17?14:28??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\document\HowTo_enable_driver_to_support_WIFI_certification_test.pdf
?????文件??????151839??2013-09-17?14:28??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\document\HowTo_enable_the_power_saving_functionality.pdf
?????文件???????15196??2013-09-17?14:28??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\document\HowTo_support_more_VidPids.pdf
?????文件????????4190??2013-09-17?14:26??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\document\linux_dhcp_server_notes.txt
?????文件??????128555??2013-09-17?14:28??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\document\Miracast_for_Realtek_WiFi.pdf
?????文件???????16136??2013-09-17?14:28??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\document\Quick_Start_Guide_for_Bridge.pdf
?????文件???????64223??2013-09-17?14:29??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\document\Quick_Start_Guide_for_Driver_Compilation_and_Installation.pdf
?????文件???????29459??2013-09-17?14:29??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\document\Quick_Start_Guide_for_SoftAP.pdf
?????文件???????33653??2013-09-17?14:29??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\document\Quick_Start_Guide_for_Station_Mode.pdf
?????文件??????167750??2013-09-17?14:29??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\document\Realtek_WiFi_concurrent_mode_Introduction.pdf
?????文件??????127666??2013-09-17?14:29??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\document\RTK_P2P_WFD_Programming_guide.pdf
?????文件???????24949??2013-09-17?14:29??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\document\SoftAP_Mode_features.pdf
?????文件???????12206??2013-09-17?14:29??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\document\Wireless_tools_porting_guide.pdf
?????文件???????38308??2013-09-17?14:30??RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20130916\document\wpa_cli_with_wpa_supplicant.pdf
............此處省略30個(gè)文件信息

評(píng)論

共有 條評(píng)論

相關(guān)資源