Changes between Initial Version and Version 1 of 802.11/Usage/UART


Ignore:
Timestamp:
Oct 22, 2014, 2:09:02 PM (10 years ago)
Author:
murphpo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 802.11/Usage/UART

    v1 v1  
     1[[TracNav(802.11/TOC)]]
     2
     3= Using the 802.11 Reference Design: UART =
     4
     5The 802.11 Reference Design hardware implements two MicroBlaze cores, CPU High and CPU Low. Both CPUs have UART cores attached to their peripheral buses. The UARTs act as STDIN and STDOUT for programs running in the CPUs. Every MAC application in the reference design prints boot and debug info the UART. Each application also implements some control via UART input. The pre-application specifics are described below.
     6
     7== UART MUX ==
     8The WARP v3 board has [wiki:HardwareUsersGuides/WARPv3/UART one UART-USB transceiver]. Refer to the [wiki:howto/USB_UART USB-UART Howto] for instructions on setting up your PC to use the USB-UART interface.
     9
     10The 802.11 Reference Design implements a 2:1 mux which allows either CPU's UART to use the UART-USB connection. The mux is controlled by the right-most switch on the user IO DIP switch. Set the switch high (up) to select the CPU High UART, low to select the CPU Low UART. The UART mux responds immediately. You can safely change the UART selection at runtime.
     11
     12== AP UART ==
     13
     14The normal UART output on boot of the AP application is:
     15{{{
     16----- Mango 802.11 Reference Design -----
     17----- v1.0 ------------------------------
     18----- wlan_mac_ap -----------------------
     19
     20------------------------
     21DRAM SODIMM Detected
     22Tx Queue of 3413 placed in DRAM: using 13652 kB
     23Initializing Event log (1044664320 bytes) at 0xC1BBB000
     24BSS Info list (len 768) placed in DRAM: using 60 kB
     251 Eth Tx BDs placed in BRAM: using 64 B
     26239 Eth Rx BDs placed in BRAM: using 14 kB
     27------------------------
     28WARPNet v2.1.0 WLAN EXP v1.0.0 (compiled Oct 22 2014 13:49:16)
     29  ETH B MAC Address: 40:D8:55:04:21:4B
     30  ETH B IP  Address: 10.0.0.0  (1000 Mbps)
     31  Configuring ETH B for AXI FIFO mode with 1514 byte buffers (1 receive, 1 send)
     32  Listening on UDP ports 9500 (unicast) and 9750 (broadcast)
     33  Not waiting for Ethernet link.  Current status is: not ready.
     34    Make sure link is ready before using WARPNet.
     35End WARPNet WLAN Exp initialization
     36WLAN MAC AP boot complete:
     37  SSID    : WARP-AP
     38  Channel : 1
     39  MAC Addr: 40-D8-55-04-21-4A
     40
     41
     42Press the Esc key in your terminal to access the UART menu
     43}}}
     44
     45Hitting the {{{ESC}}} key will show the AP's interactive menu:
     46{{{
     47********************** AP Menu **********************
     48[1] - Interactive AP Status
     49[2] - Print Queue Status
     50[3] - Print all Observed Statistics
     51
     52[c/C] - change channel (note: changing channel will
     53        purge any associations, forcing stations to
     54        join the network again)
     55[r/R] - change default unicast rate
     56[s]   - change SSID (note: changing SSID will purge)
     57        any associations)
     58*****************************************************
     59}}}
     60
     61Option {{{1}}} will show a sub-menu with commands to reset all Tx/Rx statistics and to de-authenticate all stations.
     62
     63Option {{{2}}} will show the current c
     64
     65
     66During normal operationthe AP will print UART messages as stations join and leave the AP's network. For example, when the first client joins the AP:
     67{{{
     68Authenticated, Unassociated Stations:
     69
     70(MAC time = 404586220 usec)
     71|-ID-|----- MAC ADDR ----|
     72| 01 | F0:D1:A9:6C:86:A6 |
     73|------------------------|
     74
     75Authenticated, Associated Stations:
     76
     77(MAC time = 404609451 usec)
     78|-ID-|----- MAC ADDR ----|
     79| 01 | F0:D1:A9:6C:86:A6 |
     80|------------------------|
     81}}}
     82
     83The first message shows the client part way through the association handshake (post authentication, pre association). The second message shows the client successfully authenticated. As more clients join and leave the BSS these node lists will grow and shrink.
     84
     85