资源简介
rtl8723bu WiFi 模块各层源码及说明文档
代码片段和文件信息
#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 < KERNEL_VERSION(2627)
//#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) < 0)
{
printf(“failed iw_set_ext!\n“);
close(devsock);
exit(1);
}
while(1)
{
printf(“$> “);
while( getchar() != ‘\n‘)
{
}
}
close(devsock);
exit(0);
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-05-29 18:25 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\
目录 0 2015-05-26 16:32 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\android_ref_codes_JB_4.2\
文件 2030 2014-02-21 00:07 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\android_ref_codes_JB_4.2\linux-3.0.42_STATION_INFO_ASSOC_REQ_IES.diff
文件 129466 2014-02-21 00:08 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\android_ref_codes_JB_4.2\Realtek_Wi-Fi_SDK_for_Android_JB_4_2.pdf
文件 17892 2014-02-21 00:07 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\android_ref_codes_JB_4.2\realtek_wifi_SDK_for_android_JB_4.2_20130208.tar.gz
目录 0 2015-05-26 16:32 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\android_ref_codes_KK_4.4\
文件 2030 2014-02-21 00:07 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\android_ref_codes_KK_4.4\linux-3.0.42_STATION_INFO_ASSOC_REQ_IES.diff
文件 142397 2014-02-21 00:08 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\android_ref_codes_KK_4.4\Realtek_Wi-Fi_SDK_for_Android_KK_4_4.pdf
文件 16390 2014-02-21 00:07 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\android_ref_codes_KK_4.4\realtek_wifi_SDK_for_android_KK_4.4_20140117.tar.gz
目录 0 2015-05-29 18:19 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\android_ref_codes_L_5.0\
文件 2030 2014-12-23 15:38 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\android_ref_codes_L_5.0\linux-3.0.42_STATION_INFO_ASSOC_REQ_IES.diff
文件 105687 2015-05-29 18:19 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\android_ref_codes_L_5.0\Realtek_Wi-Fi_SDK_for_Android_L_5.0.pdf
文件 9312 2014-12-23 15:38 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\android_ref_codes_L_5.0\realtek_wifi_SDK_for_android_L_5.0_20141203.tar.gz
目录 0 2015-05-26 16:37 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\document\
文件 17180 2013-08-21 18:58 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\document\HowTo_debug_BT_coexistence.pdf
文件 42974 2014-02-21 00:08 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\document\HowTo_enable_driver_to_support_80211d.pdf
文件 16929 2014-02-21 00:09 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\document\HowTo_enable_driver_to_support_WIFI_certification_test.pdf
文件 154971 2014-02-21 00:09 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\document\HowTo_enable_the_power_saving_functionality.pdf
文件 255709 2015-01-13 14:34 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\document\HowTo_port_wireless_driver_to_Google_ChromiumOS.pdf
文件 209356 2015-01-07 19:29 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\document\HowTo_read_external_TX_power_related_file.pdf
文件 15821 2014-02-21 00:09 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\document\HowTo_support_more_VidPids.pdf
文件 4190 2014-02-21 00:07 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\document\linux_dhcp_server_notes.txt
文件 266071 2015-01-13 14:39 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\document\Miracast_for_Realtek_WiFi.pdf
文件 66814 2015-01-07 19:34 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\document\Quick_Start_Guide_for_Adaptivity_and_Carrier_Sensing_Test.pdf
文件 16779 2014-02-21 00:09 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\document\Quick_Start_Guide_for_Bridge.pdf
文件 68773 2014-02-21 00:09 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\document\Quick_Start_Guide_for_Driver_Compilation_and_Installation.pdf
文件 69239 2015-01-07 19:33 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\document\Quick_Start_Guide_for_SoftAP.pdf
文件 36192 2014-02-21 00:10 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\document\Quick_Start_Guide_for_Station_Mode.pdf
文件 199955 2015-05-26 16:37 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\document\Quick_Start_Guide_for_WOW.pdf
文件 174071 2014-02-21 00:10 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\document\Realtek_WiFi_concurrent_mode_Introduction.pdf
文件 446540 2015-01-13 14:37 RTL8723BU_WiFi_linux_v4.3.16_14189.20150519_BTCOEX2015119-5844\document\RTK_P2P_WFD_Programming_guide.pdf
............此处省略33个文件信息
相关资源
- 基于STM32平台的智能药箱系统包含文件
- 飞思卡尔BTN7971双电机驱动模块
- maven多模块项目+springMVC+mybatis配置
- mac book osx 10.11 usb wifi 驱动 Wireless Ne
- 三菱FX5U-40SSC-S运动模块说明书
- Labview模块大全
- stm32+JPEG+bmp+RM04_WIFI+二值图像.rar
- MT7628 Program guide
- ERDAS LPS模块操作流程
- BT06蓝牙模块资料
- 超声波模块资料及C程序代码
- FPGA高速AD模块
- 人事管理系统功能模块图
- 2.4G模块_cc2500所有资料及程序合集
- 汉枫_HF-LPB嵌入式WiFi模块_UART转WiFi_S
- nRF2401无线模块使用详解+例程
- RENESAS CAN模块的应用笔记
- GMT0058-2018 可信计算 TCM服务模块接口
- qca wifi-10.2源代码用户手册
- Realtek wifi omnipeak 抓包驱动
- 二师老版本可开WiFi的dr。com
- 直流稳压电源模块设计
- 华为ME909S-821 硬件指南 AT指令集
- mjpg-streamer-code-182
- ALIENTEK 3.5寸TFTLCD模块资料
- 微擎首页模版,首页PC应用模块官网代
- 基于tc35GSM模块与STM32的短信控制程序
- MMA7361模块资料
- 易语言微信官方支付模块加DEMO1.65
- GY-30光强度模块资料含中文手册.zip
评论
共有 条评论