[原创]基于Zybo SDIO WiFi模块调试
采用的是RTL8189 SDIO 模块,介绍如下
The Realtek RTL8189ES-VB-CG is a highly integrated single-chip 802.11n Wireless LAN (WLAN) network SDIO interface (SDIO 1.1/ 2.0/ 3.0 compliant) controller. It is a WLAN MAC, a 1T1R capable WLAN baseband, and WLAN RF in a single chip. The RTL8189ES-VB provides a complete solution for a high-throughput performance integrated wireless LAN device.
The RTL8189ES-VB WLAN baseband implements Orthogonal Frequency Division Multiplexing (OFDM) with 1 transmit and 1 receive path and is compatible with the IEEE 802.11n specification. Features include one spatial stream transmission, short guard interval (GI) of 400ns, spatial spreading, and transmission over 20MHz and 40MHz bandwidth.
For legacy compatibility, Direct Sequence Spread Spectrum (DSSS), Complementary Code Keying (CCK) and OFDM baseband processing are included to support all IEEE 802.11b and 802.11g data rates. Differential phase shift keying modulation schemes, DBPSK and DQPSK with data scrambling capability, are available, and CCK provides support for legacy data rates, with long or short preamble. The high-speed FFT/IFFT paths, combined with BPSK, QPSK, 16QAM, and 64QAM modulation of the individual subcarriers and rate compatible punctured convolutional coding with coding rate of 1/2, 2/3, 3/4, and 5/6, provide higher data rates of 54Mbps and 150Mbps for IEEE 802.11g and 802.11n OFDM respectively.
The RTL8189ES-VB WLAN Controller builds in an enhanced signal detector, an adaptive frequency domain equalizer, and a soft-decision Viterbi decoder to alleviate severe multi-path effects and mutual interference in the reception of multiple streams. Robust interference detection and suppression are provided to protect against Bluetooth, cordless phone, and microwave oven interference.
Efficient IQ-imbalance, DC offset, phase noise, frequency offset, and timing offset compensations are provided for the radio frequency front-end. Selectable digital transmit and receive FIR filters are provided to meet transmit spectrum mask requirements and to reject adjacent channel interference, respectively.
The RTL8189ES-VB WLAN Controller supports fast receiver Automatic Gain Control (AGC) with synchronous and asynchronous control loops among antennas, antenna diversity functions, and adaptive transmit power control function to obtain the better performance in the analog portions of the transceiver.
The RTL8189ES-VB WLAN MAC supports 802.11e for multimedia applications, 802.11i for security, and 802.11n for enhanced MAC protocol efficiency. Using packet aggregation techniques such as A-MPDU with BA and A-MSDU, protocol efficiency is significantly improved. Power saving mechanisms such as Legacy Power Save, and U-APSD, reduce the power wasted during idle time, and compensates for the extra power required to transmit OFDM. The RTL8189ES-VB provides simple legacy and 20MHz/40MHz co-existence mechanisms to ensure backward and network compatibility.
wpa & hostapd工具,解压驱动wpa工具
[#127#16:44:45 FPGADeveloper@ubuntu ~/Public_Tools]$tar zxvf *.tar.gz
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/ChangeLog
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/defconfig
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/wpa_passphrase.c
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/main_winsvc.c
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/README-WPS
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/main.c
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/notify.h
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/config_ssid.h
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/ctrl_iface_udp.c
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/wpa_supplicant.c
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/config_none.c
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/ctrl_iface_named_pipe.c
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/win_if_list.c
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/pf/
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/pf/wpa_supplicant.PRI
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/pf/wpa_supplicant.IAD
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/pf/wpa_supplicant.IMB
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/pf/wpa_supplicant.SearchResults
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/pf/wpa_supplicant.IAB
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/pf/wpa_supplicant.WK3
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/pf/wpa_supplicant.PO
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/pf/wpa_supplicant.PFI
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/pf/wpa_supplicant.PS
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/pf/wpa_supplicant.IMD
wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/pf/wpa_supplicant.PR
....
[#133#16:46:41 FPGADeveloper@ubuntu ~/Public_Tools/wpa_supplicant_hostapd-0.8_rtw_r7475.20130812]$cd wpa_supplicant/
[#135#16:46:44 FPGADeveloper@ubuntu ~/Public_Tools/wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant]$make CC=arm-xilinx-linux-gnueabi-gcc
CC config.c
CC notify.c
CC bss.c
CC eap_register.c
CC ../src/utils/common.c
CC ../src/utils/wpa_debug.c
CC ../src/utils/wpabuf.c
CC ../src/utils/os_unix.c
CC ../src/utils/eloop.c
CC config_file.c
CC ../src/rsn_supp/wpa.c
CC ../src/rsn_supp/preauth.c
CC ../src/rsn_supp/pmksa_cache.c
...
编译hostapd工具,目录切换至hostapd下
[#140#16:47:33 FPGADeveloper@ubuntu ~/Public_Tools/wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/hostapd]$ls
Android.mk config_file.h dump_state.c eap_testing.txt hostapd.accept hostapd.deny hostapd.vlan Makefile src
bsd_hostapd.conf ctrl_iface.c dump_state.h hlr_auc_gw.c hostapd_cli.1 hostapd.eap_user hostapd.wpa_psk nt_password_hash.c wired.conf
ChangeLog ctrl_iface.h eap_register.c hlr_auc_gw.milenage_db hostapd_cli.c hostapd.radius_clients logwatch README
config_file.c defconfig eap_register.h hostapd.8 hostapd.conf hostapd.sim_db main.c README-WPS
[#141#16:47:33 FPGADeveloper@ubuntu ~/Public_Tools/wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/hostapd]$make CC=arm-xilinx-linux-gnueabi-gcc
make[1]: Entering directory `/home/hsfpga2016/Public_Tools/wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/src/drivers'
rm -f *~ *.o *.d
rm -f build.wpa_supplicant build.hostapd
make[1]: Leaving directory `/home/hsfpga2016/Public_Tools/wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/src/drivers'
CC main.c
CC config_file.c
CC ../src/ap/hostapd.c
../src/ap/wpa_auth_glue.c: In function 'hostapd_wpa_auth_send_ether':
../src/ap/wpa_auth_glue.c:351:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
CC ../src/ap/wpa_auth_glue.c
CC ../src/ap/drv_callbacks.c
CC ../src/ap/ap_drv_ops.c
CC ../src/ap/utils.c
CC ../src/ap/authsrv.c
CC ../src/ap/ieee802_1x.c
CC ../src/ap/ap_config.c
CC ../src/ap/ieee802_11_auth.c
CC ../src/ap/sta_info.c
CC ../src/ap/wpa_auth.c
CC ../src/ap/tkip_countermeasures.c
CC ../src/ap/ap_mlme.c
CC ../src/ap/wpa_auth_ie.c
CC ../src/ap/preauth_auth.c
CC ../src/ap/pmksa_cache_auth.c
CC ../src/drivers/drivers.c
安装驱动
zynq> insmod wlan.ko
[ 269.010636] RTL871X: module init start
[ 269.014319] RTL871X: rtl8189es v4.3.18.2_17395.20160422
[ 269.019606] RTL871X: build time: Sep 3 2016 11:00:52
[ 269.025371] RTL871X: CHIP TYPE: RTL8188E
[ 269.029669] RTL871X: rtw_hal_config_rftype RF_Type is 3 TotalTxPath is 1
[ 269.036382] RTL871X: Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
[ 269.044674] RTL871X: EEPROM type is E-FUSE
[ 269.048742] RTL871X: =>_CardEnable
[ 269.058738] RTL871X: SetHwReg8188E: bMacPwrCtrlOn=1
[ 269.063536] RTL871X: <=_CardEnable
[ 269.066989] RTL871X: _ReadPROMContent: 9346CR=0x20, Boot from EFUSE, Autoload OK
[ 269.074684] RTL871X: =>_InitPowerOn_8188ES
[ 269.078743] RTL871X: =>_CardEnable
[ 269.082086] RTL871X: =>_CardEnable bMacPwrCtrlOn == _TRUE do nothing !!
[ 269.088736] RTL871X: <=_CardEnable
[ 269.092601] RTL871X: <=_InitPowerOn_8188ES
[ 269.096754] bFWReady == _FALSE call reset 8051...
[ 269.102229] RTL871X: =====> _8051Reset88E(): 8051 reset success .
[ 269.125363] RTL871X: efuse_read_phymap_from_txpktbuf bcnhead:0
[ 269.132490] RTL871X: efuse_read_phymap_from_txpktbuf len:162, lenbak:162, aaa:162, aaabak:162
[ 269.152826] RTL871X: efuse_read_phymap_from_txpktbuf read count:160
[ 269.159319] RTL871X: EEPROM ID=0x8129
[ 269.162902] RTL871X: Hal_ReadPowerSavingMode88E...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(0)
[ 269.172900] RTL871X: ### PS params=> power_mgnt(0),usbss_enable(0) ###
[ 269.179476] RTL871X: ======= Path 0, Channel 2 =======
...
...
[ 269.815533] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=a0:f4:59:dc:ed:ce
[ 269.862445] RTL871X: module init ret=0
如果在运行log中,未出现上述过程,需要检测卡槽是否松动。
将SD转接板插入SD插槽,待Kernel加载完成,系统识别到外设,并在Term中出现下述log,如下所示:
zynq> ifconfig wlan0 up
[ 1436.394536] RTL871X: +871x_drv - drv_open, bup=0
[ 1436.399204] RTL871X: +rtl8188es_hal_init
[ 1436.403113] RTL871X: FW does not exit before power on!!
[ 1436.408283] RTL871X: =>_InitPowerOn_8188ES
[ 1436.412335] RTL871X: =>_CardEnable
[ 1436.415723] RTL871X: =>_CardEnable bMacPwrCtrlOn == _TRUE do nothing !!
[ 1436.422350] RTL871X: <=_CardEnable
[ 1436.426032] RTL871X: <=_InitPowerOn_8188ES
[ 1436.430409] RTL871X: PowerOnCheck: val_mix:0x0000063f, res:0x0000063f
[ 1436.436771] RTL871X: PowerOnCheck: 0x100 the result of cmd52 and cmd53 is the same.
[ 1436.444666] RTL871X: PowerOnCheck: 0x1B8 test Pass.
[ 1436.449490] RTL871X: Power on ok!
[ 1436.453190] RTL871X: _init_available_page_threshold(): Enable Tx FIFO Page Threshold H:0x4f4f,N:0x4f4f,L:0x5454
[ 1436.463677] RTL871X: rtl8188e_FirmwareDownload fw:NIC, size: 15028
[ 1436.469801] RTL871X: rtl8188e_FirmwareDownload: fw_ver=17 fw_subver=0000 sig=0x88e1, Month=15, Date=19, Hour=94, Minute=3a
[ 1436.864571] RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00030005
[ 1436.874118] RTL871X: =====> _8051Reset88E(): 8051 reset success .
[ 1436.880334] RTL871X: _FWFreeToGo: Polling FW ready OK! (1, 10ms), REG_MCUFWDL:0x000300c6
[ 1436.888365] RTL871X: FWDL success. write_fw:1, 410ms
[ 1437.177802] ==> rtl8188e_iol_efuse_patch
[ 1437.238397] RTL871X: HalDetectPwrDownMode(): PDN=0
[ 1437.243109] RTL871X: Set RF Chip ID to RF_6052 and RF type to 3.
[ 1437.305829] RTL871X: pDM_Odm TxPowerTrackControl = 1
[ 1437.504182] RTL871X: DISABLE_BB_RF=0
[ 1437.507714] RTL871X: IS_HARDWARE_TYPE_8188ES=1
[ 1437.512321] RTL871X: -rtl8188es_hal_init
[ 1437.516165] RTL871X: rtl8188es_hal_init in 1110ms
[ 1437.526000] RTL871X: wlan0Port-0 set opmode = 2
[ 1437.531190] RTL871X: Using the default RF gain.
[ 1437.535645] RTL871X: MAC Address = a0:f4:59:dc:ed:ce
[ 1437.541007] RTL871X: start rtl8188es_xmit_thread
[ 1437.545645] RTL871X: -871x_drv - drv_open, bup=1
SD相关驱动后续将加载驱动,运行相关命令,将模块配置成STA模式。
zynq> iwlist wlan0 channel
wlan0 13 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
Current Frequency:2.412 GHz (Channel 1)
zynq> iwlist wlan0 rate
wlan0 4 available bit-rates :
1 Mb/s
2 Mb/s
5.5 Mb/s
11 Mb/s
zynq> iwconfig wlan0 mode Managed
[ 3142.219190] RTL871X: set_mode = IW_MODE_INFRA
[ 3142.223694] RTL871X: wlan0Port-0 set opmode = 2
由于此网络没有加密,可以采用iwconfig进行通讯
zynq> iwlist wlan0 scan
[ 2987.294841] RTL871X: SetHwReg8188E:(HW_VAR_CHECK_TXBUF)TXBUF Empty(1) in 0 ms
[ 2988.612835] RTL871X: survey done event(2e) band:0 for wlan0
[ 2988.618369] RTL871X: rtw_indicate_scan_done(wlan0)
wlan0 Scan completed :
Cell 01 - Address: 0C:**:68:3D:5E:2D
ESSID:"Zynq_WiFi"
Protocol:IEEE 802.11bgn
Mode:Master
Frequency:2.412 GHz (Channel 1)
Encryption key:on
Bit Rates:150 Mb/s
Extra:rsn_ie=30140100000fac040100000fac040100000fac020000
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Quality=100/100 Signal level=100/100
Extra:fm=0003
zynq> iwconfig wlan0 essid "zynqWiFi"
[ 3375.114669] RTL871X: =>rtw_wx_set_essid
[ 3375.118625] RTL871X: ssid=zynqWiFi, len=8
[ 3375.122581] RTL871X: set ssid [zynqWiFi] fw_state=0x00000008
[ 3375.128229] RTL871X: Set SSID under fw_state=0x00000008
[ 3375.133420] RTL871X: [by_bssid:0][assoc_ssid:zynqWiFi][to_roam:0] new candidate: zynqWiFi(98:fa:e3:fe:5d:38, ch6) rssi:-46
[ 3375.144455] RTL871X: rtw_select_and_join_from_scanned_queue: candidate: zynqWiFi(98:fa:e3:fe:5d:38, ch:6)
[ 3375.153996] RTL871X: link to new AP
[ 3375.157476] RTL871X: [HT] HAL Support STBC = 0x01
[ 3375.162140] RTL871X: [HT] Declare supporting RX STBC_1R
[ 3375.167398] RTL871X: rtw_chk_start_clnt_join(wlan0) req: 6,0,0
[ 3375.167404] RTL871X: <=rtw_wx_set_essid, ret 0
[ 3375.179041] RTL871X: rtw_chk_start_clnt_join(wlan0) union: 6,0,0
[ 3375.234515] RTL871X: OnBeacon: beacon keys ready
[ 3375.239071] RTL871X: link to new AP
[ 3375.242525] RTL871X: start auth
[ 3375.245654] RTL871X: issue_auth
[ 3375.253414] RTL871X: OnAuthClient
[ 3375.256644] RTL871X: auth success, start assoc
[ 3375.261105] RTL871X: network.SupportedRates[0]=82
...
[ 3375.312718] RTL871X: network.SupportedRates[11]=6C
[ 3375.317508] RTL871X: bssrate_len = 12
[ 3375.338755] RTL871X: OnAssocRsp
[ 3375.341825] RTL871X: report_join_res(1)
[ 3375.345636] RTL871X: rtw_joinbss_update_network
[ 3375.350173] RTL871X: +rtw_update_ht_cap()
[ 3375.354173] RTL871X: rtw_alloc_macid(wlan0) if1, hwaddr:98:fa:e3:fe:5d:38 macid:0
[ 3375.361623] RTL871X: rtw_joinbss_update_stainfo
[ 3375.366128] RTL871X: supp_mcs_set = ff, 00, 00, rf_type=3, tx_ra_bitmap=00000000000fffff
[ 3375.374208] RTL871X: ### Set STA_(0) info ###
[ 3375.378548] RTL871X: assoc success
[ 3375.381991] RTL871X: HW_VAR_BASIC_RATE: 0x15f -> 0x15f -> 0x15f
[ 3375.388334] RTL871X: WMM(0): 0, a42b
[ 3375.391935] RTL871X: WMM(1): 0, a44f
[ 3375.395538] RTL871X: WMM(2): 0, 5e4322
[ 3375.399338] RTL871X: WMM(3): 0, 2f3222
[ 3375.403008] RTL871X: wmm_para_seq(0): 0
...
[ 3375.414464] RTL871X: wmm_para_seq(3): 3
[ 3375.418305] RTL871X: HTOnAssocRsp
[ 3375.421902] RTL871X: ODM_Get_Rate_Bitmap ==> rssi_level:0x00, WirelessMode:0x0b, rate_bitmap:0x000ff005
[ 3375.431237] RTL871X: UpdateHalRAMask8188E => mac_id:0, rate_id:0, networkType:0x0b, mask:0x000fffff
[ 3375.431237] ==> rssi_level:0, rate_bitmap:0x000ff005
[ 3375.445391] RTL871X: ### MacID(31),Set Max Tx RPT MID(32)
[ 3375.450815] RTL871X: ### rtl8188e_set_FwMediaStatus_cmd: MStatus=1 MACID=0
[ 3375.458304] RTL871X: SetHwReg8188E(wlan0): [HW_VAR_MACID_WAKEUP] macid=0, org reg_0x48c=0x00000000
[ 3375.467788] RTL871X: rtl8188e_set_FwJoinBssReport_cmd mstatus(1)
[ 3375.474167] RTL871X: rtw_hal_set_fw_rsvd_page wowlan_in_resume: 0
[ 3375.480215] RTL871X: rtw_hal_set_fw_rsvd_page PageSize: 128, RsvdPageNUm: 8
[ 3375.487148] RTL871X: LocPsPoll: 2
[ 3375.490424] RTL871X: LocNullData: 3
[ 3375.493896] RTL871X: LocQosNull: 4
[ 3375.497522] RTL871X: rtw_hal_set_fw_rsvd_page: Set RSVD page location to Fw ,TotalPacketLen(570), TotalPageNum(5)
[ 3375.507722] RTL871X: RsvdPageLoc: ProbeRsp=0 PsPoll=2 Null=3 QoSNull=4 BTNull=0
[ 3375.515371] RTL871X: wlan0: 1 DL RSVD page success! DLBcnCount:1, poll:1
[ 3375.522298] RTL871X: Set RSVD page location to Fw.
[ 3375.532040] RTL871X: =>mlmeext_joinbss_event_callback - End to Connection without 4-way
[ 3375.546082] RTL871X: ODM_Get_Rate_Bitmap ==> rssi_level:0x01, WirelessMode:0x0b, rate_bitmap:0x000f0000
[ 3375.555436] RTL871X: UpdateHalRAMask8188E => mac_id:0, rate_id:0, networkType:0x0b, mask:0x000fffff
[ 3375.555436] ==> rssi_level:1, rate_bitmap:0x000f0000
[ 3389.537443] RTL871X: SetHwReg8188E(wlan0): [HW_VAR_MACID_WAKEUP] macid=0, org reg_0x48c=0x00000000
zynq> udhcpc -i wlan0
udhcpc (v1.20.1) started
Sending discover...
Sending select for 192.168.43.103...
Lease of 192.168.43.103 obtained, lease time 3600
deleting routers
route: SIOCDELRT: No such process
adding dns 192.168.43.1
zynq> iwconfig
[ 3423.674137] RTL871X: rtw_wx_get_rts, rts_thresh=2347
[ 3423.679071] RTL871X: rtw_wx_get_frag, frag_len=2346
wlan0 IEEE 802.11bgn ESSID:"zynqWiFi" Nickname:"<WIFI@REALTEK>"
Mode:Managed Frequency:2.437 GHz Access Point: 98:FA:E3:FE:5D:38
Bit Rate:72.2 Mb/s Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=100/100 Signal level=100/100 Noise level=0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0 lo no wireless extensions. eth0 no wireless extensions.
至此可以访问外网
zynq> ping baidu.com
PING baidu.com (220.181.57.217): 56 data bytes
64 bytes from 220.181.57.217: seq=0 ttl=52 time=232.920 ms
64 bytes from 220.181.57.217: seq=1 ttl=52 time=168.322 ms
64 bytes from 220.181.57.217: seq=2 ttl=52 time=114.563 ms
64 bytes from 220.181.57.217: seq=3 ttl=52 time=140.901 ms
...
64 bytes from 220.181.57.217: seq=221 ttl=52 time=97.628 ms
64 bytes from 220.181.57.217: seq=222 ttl=52 time=95.745 ms
^C
--- baidu.com ping statistics ---
223 packets transmitted, 223 packets received, 0% packet loss
round-trip min/avg/max = 89.159/144.236/474.732 ms
zynq> ifconfig
wlan0 Link encap:Ethernet HWaddr A0:F4:59:DC:ED:CE
inet addr:192.168.43.103 Bcast:192.168.43.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:258 errors:0 dropped:4 overruns:0 frame:0
TX packets:245 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:29216 (28.5 KiB) TX bytes:28404 (27.7 KiB)
[原创]基于Zybo SDIO WiFi模块调试的更多相关文章
- [原创]基于Zynq SDIO WIFI 2.4G/5G SotfAP STA
支持正基WiFi模块.高通WiFi模块: 2.4G速率: 5G AC速率: 支持SoftAP.STA模式:
- Arduino 基于 ESP8266 配置WIFI模块
Arduino 基于 ESP8266 配置WIFI模块 使用ESP8266作为服务器,使用浏览器访问该服务器,从而控制LED灯 选择 [文件]->[示例]->[ESP8266WIFI]-& ...
- 基于串口调试助手的WIFI模块调试-FPGA简单联网(点灯)
根据正点原子的<ATK-ESP8266 WIFI用户手册>,使用XCOM V2.2串口调试助手测试WIFI模块[26].在本系统中运用到的功能主要是TCP/IP模式中的TCP Client ...
- [原创]Zynq SDIO WIFI SotfAP调试
编译好kernel和driver 加载firmware后,运行下述命令. mkdir /var/run/ mkdir /var/run/hostapd ifconfig -a ...
- ESA2GJK1DH1K升级篇: STM32远程乒乓升级,基于(Wi-Fi模块AT指令TCP透传方式),MQTT通信控制升级
实现功能概要 前面的版本都是,定时访问云端的程序版本,如果版本不一致,然后下载最新的升级文件,实现升级. 这一节,在用户程序里面加入MQTT通信,执行用户程序的时候,通过接收MQTT的升级命令实现升级 ...
- 调试经验分享-让自己的电脑充当WI-Fi模块,用来抓取连接Wi-Fi模块APP上的通信数据
需求 手头有了厂家的APP和Wi-Fi模块 在已经知道APP是通过TCP连接Wi-Fi模块(8266), 同时也知道了连接的端口号的 情况下如何知道厂家的APP发送给Wi-Fi模块的数据 打开自己的笔 ...
- android 基于wifi模块通信开发
这篇文章主要是我写完手机与wifi模块通信后所用来总结编写过程的文章,下面,我分几点来说一下编写的大概流程. 一.拉出按钮控件并设置它的点击事件 二.设置wifi权限 三.打开和关闭wifi 四.扫描 ...
- ESA2GJK1DH1K升级篇: STM32远程乒乓升级,基于Wi-Fi模块(ESP8266)AT指令TCP透传方式,MQTT通信控制升级(加入数据校验)
前言 这节演示下,上两节写的利用MQTT来控制STM32控制的程序 测试准备工作(默认访问我的服务器,改为自己的服务器,请看后面说明) 一,下载BootLoader程序(请自行下载) 首先BootLo ...
- ESA2GJK1DH1K升级篇: STM32远程乒乓升级,基于WIFI模块AT指令TCP透传方式,定时访问升级(含有数据校验)
实现功能概要 定时使用http访问云端的程序版本,如果版本不一致,然后通过http下载最新的升级文件,实现升级. 测试准备工作(默认访问我的服务器,改为自己的服务器,请看后面说明) 一,下载BootL ...
随机推荐
- [PRIMITIVE TECHNOLOGY]澳洲小哥的黑皮豆/black been/摩顿湾板栗(栗子)/Moreton Bay Chestnut
wiki:https://en.wikipedia.org/wiki/Castanospermum inner:http://blog.sciencenet.cn/blog-309517-770951 ...
- 关于使用stanfordcorenlp一直运行不报错的解决方法
一.问题描述: 最近在使用stanfordcorenlp时,遇到了我在运行时代码不报错但同时也没有结果的问题,等了很久也没有出结果.其实是很简单的一个步骤,但却花了好几天的时间都没有成功!网上更多的是 ...
- 纠错式教学法对比鼓励式教学法 -----Lily、贝乐、英孚,乐加乐、剑桥国际、优学汇、北外青少
一.关于两种英语教学法的争议 在英语教学方面,主要有纠错式教学法(目前主要对应国内听说读写四位一体的教学法)和鼓励式教学法(目前对应国内听说为主的教学法),这两种教学方法其实是各有千秋,各有利弊的. ...
- SpringBoot文件上传(MVC情况和webFlux情况)
MVC情况 引入依赖 <?xml version="1.0" encoding="UTF-8"?> <project xmlns=" ...
- go语言基础知识笔记(二)之数组和切片
数组和切片知识用的也是比较多,的给我们工作带来很大的便利 (一) 数组 定义:在golang中数组的长度是不可变,数组存放要求是同一种数据类型 //golang中数组定义的四种方法1.先声明,后赋值 ...
- TCP和UDP的优缺点及区别
1.TCP是什么? TCP(Transmission Control Protocol 传输控制协议)是一种面向连接的.可靠的.基于字节流的传输层通信协议. TCP的优点: 可靠,稳定 TCP的可靠体 ...
- mysqldump 备份数据和恢复
命令行下具体用法如下: mysqldump -u用戶名 -p密码 -d 数据库名 表名 > 脚本名; 一.导出数据: 导出整个数据库结构和数据mysqldump -h localhost -u ...
- 1、jQuery的使用入门
一.创建一个WEB项目,在WebRoot下新建一个Jscript文件夹,并将jQuery中的jquery-3.1.1.min.js文件复制过来. 二.用<script>标签引入jQuery ...
- React Router 4.x 开发,这些雷区我们都帮你踩过了
前言 在前端框架层出不穷的今天,React 以其虚拟 DOM .组件化开发思想等特性迅速占据了主流位置,成为前端开发工程师热衷的 Javascript 库.作为 React 体系中的重要组成部分:Re ...
- postgresql设置主键
replace(((uuid_generate_v4())::character varying)::text, '-'::text, ''::text)