Changes between Version 25 and Version 26 of 802.11/Usage


Ignore:
Timestamp:
Jul 16, 2014, 11:49:43 AM (10 years ago)
Author:
murphpo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 802.11/Usage

    v25 v26  
    77= 802.11 Reference Design: Usage =
    88
    9 The 802.11 Reference Design contains two implementations that share much of the same MAC and PHY. These implementations are an access point (AP) that can be joined by 802.11 devices and a station (STA) that can be used to join 802.11 APs (WARP or otherwise).
     9== Creating the SDK Workspace ==
     10
     11The 802.11 Reference Design is distributed as a .zip archive. The archive contents are described on the [../Download#ReferenceDesignArchive Download page].
     12
     13The reference software projects can be modified via the Xilinx SDK. The steps below describe how to create an SDK workspace containing the full software design.
     14
     151. Ensure your Xilinx tools match the version used to create the reference design (see the [wiki:../Download download] page for the current versions)
     161. Ensure your local copy of the WARP edk_user_repository is up to date and in the repository search path of XPS (see [wiki:edk_user_repository edk_user_repository] for details)
     171. Download the 802.11 Reference Design archive and expand the inner .zip archive in {{{<ref_design_archive>/EDK_Projects/w3_802.11_EDK_vXXX.zip}}}.
     18  * Be sure the expanded EDK project path has no spaces; {{{C:/work/w3_802.11_EDK/}}} works, {{{C:/Documents and Settings/user/w3_802.11_EDK/}}} does not
     19  * The text below assumes your expanded EDK project is in {{{<xps_proj>/}}}.
     201. Launch Xilinx SDK and select {{{<xps_proj>/SDK_Workspace}}} as the active workspace
     211. Select Xilinx Tools -> Repositories. In Local Repositories click New, then select {{{<xps_proj>/}}} and click OK. Be sure to select the root of the XPS project (the folder containing {{{system.mhs}}}, '''not''' the SDK_Workspace folder.
     221. Import the 7 SDK projects provided by the reference design
     23  1. Select File -> Import
     24  1. Expand General -> Existing Projects into Workspace, click Next
     25  1. Click Browse and navigate to {{{<xps_proj>/SDK_Workspace}}}
     26  1. Seven projects will be listed:
     27{{{
     28wlan_bsp_cpu_high
     29wlan_bsp_cpu_low
     30wlan_mac_ap
     31wlan_mac_sta
     32wlan_mac_dcf
     33wlan_mac_shared
     34wlan_xps_XXX_hw_platform  <- the version number in this project name will change between releases
     35}}}
     36  1. Ensure all 7 projects are checked and click Finish
     37  1. In the SDK Project Explorer:
     38    1. Right click on the {{{wlan_mac_ap}}} project and select Change Referenced BSP. In the dialog box select {{{wlan_bsp_cpu_high}}} then click OK
     39    1. Right click on the {{{wlan_mac_sta}}} project and select Change Referenced BSP. In the dialog box select {{{wlan_bsp_cpu_high}}} then click OK
     40    1. Right click on the {{{wlan_mac_dcf}}} project and select Change Referenced BSP. In the dialog box select {{{wlan_bsp_cpu_low}}} then click OK
     41    1. Right click on the {{{wlan_mac_ap}}} project and select Clean Project
     42    1. Right click on the {{{wlan_mac_sta}}} project and select Clean Project
     43    1. Right click on the {{{wlan_mac_dcf}}} project and select Clean Project
     441. The 3 software applications (AP, STA and DCF) should now build to completion. Watch the console for the message {{{elfcheck passed}}}
     45
     46= AP vs STA Applications =
     47
     48The 802.11 Reference Design contains two implementations that share the same low-level MAC and PHY. These implementations are an access point (AP) that can be joined by 802.11 devices and a station (STA) that can join 802.11 APs (WARP or otherwise).
    1049
    1150== 802.11 AP ==
     
    1352By default, the AP Reference Design implements an 802.11 compatible access point with SSID "WARP-AP". To use the design in this configuration:
    1453
    15 1. Plug ETH A from a WARP v3 board into a router whose WAN port is connected to the Internet. The 802.11 Reference Design is not a router -- it does not have a DHCP server to issue IP addresses to associated stations. It will, however, pass DHCP requests and responses through its Ethernet portal, so connecting WARP v3 to a router will allow DHCP to occur on client stations.
     541. Connect the WARP v3 ETH A interface to a local network, ideally one with a DHCP server and internet access. The 802.11 Reference Design is not a router -- it does not have a DHCP server to issue IP addresses to associated stations. It will pass DHCP requests and responses through its Ethernet portal to the wired network.
    16551. Download the 802.11 Reference Design and program a WARP v3 board with the provided bitstream for the AP implementation.
    17 1. Use any 802.11 device (such as a computer or smartphone) to join the unsecured network with SSID of "WARP-AP." At this point, the 802.11 device should be able to access the network.
     561. Use an 802.11 device (such as a computer or smartphone) to join the open network with SSID of "WARP-AP." The 802.11 device should associated successfully and communicate with the wired network (and internet, if the wired network has internet access).
    1857
    1958== 802.11 STA ==
    2059
    21 By default, the STA Reference Design will attempt to associate with an AP that is advertising an SSID of "WARP-AP." The stock AP Reference Design meets this criteria, so programming one board with the AP design followed by programming another board with the STA design is sufficient to create a connection. Alternatively, the UART menu on the station can be used to perform an active scan and display the list of all nearby APs and their SSIDs. This menu can then be used to attempt association to one of those APs. TO use this design,
     60By default the Reference Design STA application will attempt to associate with an AP advertising the SSID of "WARP-AP." Programming one node with the AP design and one (or more) nodes with the STA design will automatically create a wireless network of associated nodes. The STA and AP node LEDs indicate association status (details below).
    2261
    23 1. Plug ETH A from a WARP v3 board into a single Ethernet device such as a laptop or desktop PC. The STA design will bridge the Ethernet link of that device to the 802.11 wireless link. NOTE: do not plug ETH A into a switch if that switch has more than one Ethernet device on it. The current STA implementation assumes that all traffic it receives over Ethernet comes from a single source.
     62Alternatively, the UART menu on the station can be used to perform an active scan and display the list of all nearby APs and their SSIDs. This menu can then be used to attempt association to one of those APs. To use this design,
     63
     641. Plug ETH A from a WARP v3 board into a single Ethernet device such as a laptop or desktop PC. The STA design will bridge the Ethernet link of that device to the 802.11 wireless link. NOTE: do not plug ETH A into a switch with other devices, especially other WARP v3 nodes running the STA application. This can create a circular bridge (wired-wireless-wired) that will behave badly.
    24651. Download the 802.11 Reference Design and program a WARP v3 board with the provided bitstream for the STA implementation.
    25661. Use the UART menu to associate with a nearby AP.
    26 1. Access the wireless network with the device that is plugged into ETH A.
     671. Access the wireless network from the device that is plugged into ETH A.
    2768
    2869== Using the UART Menu ==
     
    5899  * STA: the STA displays the node's current AID (association ID), as assigned by the AP. When associated the STA displays 00.
    59100
    60 == Creating the SDK Workspace ==
    61 
    62 1. Ensure your Xilinx tools match the version used to create the reference design (see the [wiki:../Download download] page for the current versions)
    63 1. Ensure your local copy of the WARP edk_user_repository is up to date and in the repository search path of XPS (see [wiki:edk_user_repository edk_user_repository] for details)
    64 1. Download the 802.11 Reference Design archive and expand the inner .zip archive in {{{<ref_design_archive>/EDK_Projects/w3_802.11_EDK_vXXX.zip}}}.
    65   * Be sure the expanded EDK project path has no spaces; {{{C:/work/w3_802.11_EDK/}}} works, {{{C:/Documents and Settings/user/w3_802.11_EDK/}}} does not
    66   * The text below assumes your expanded EDK project is in {{{<xps_proj>/}}}.
    67 1. Launch Xilinx SDK and select {{{<xps_proj>/SDK_Workspace}}} as the active workspace
    68 1. Select Xilinx Tools -> Repositories. In Local Repositories click New, then select {{{<xps_proj>/}}} and click OK.
    69 1. Import the 7 SDK projects provided by the reference design
    70   1. Select File -> Import
    71   1. Expand General -> Existing Projects into Workspace, click Next
    72   1. Click Browse and navigate to {{{<xps_proj>/SDK_Workspace}}}
    73   1. Seven projects will be listed:
    74 {{{
    75 wlan_bsp_cpu_high
    76 wlan_bsp_cpu_low
    77 wlan_mac_ap
    78 wlan_mac_sta
    79 wlan_mac_dcf
    80 wlan_mac_shared
    81 wlan_xps_vXX_hw_platform  <- the version number in this project name will change between releases
    82 }}}
    83   1. Ensure all 7 projects are checked and click Finish
    84   1. In the SDK Project Explorer:
    85     1. Right click on the {{{wlan_mac_ap}}} project and select Change Referenced BSP. In the dialog box select {{{wlan_bsp_cpu_high}}} then click OK
    86     1. Right click on the {{{wlan_mac_dcf}}} project and select Change Referenced BSP. In the dialog box select {{{wlan_bsp_cpu_low}}} then click OK
    87     1. Right click on the {{{wlan_mac_ap}}} project and select Clean Project
    88     1. Right click on the {{{wlan_mac_sta}}} project and select Clean Project
    89     1. Right click on the {{{wlan_mac_dcf}}} project and select Clean Project
    90 1. Both software projects should now build to completion. Watch the console for the message {{{elfcheck passed}}}
    91101
    92102