SWRU576 January   2021 WL1801MOD , WL1805MOD , WL1807MOD , WL1831MOD , WL1835MOD , WL1837MOD

 

  1.   Trademarks
  2. Introduction
    1. 1.1 Acronyms Used in This Document
  3. Peer to Peer (P2P) Mode
    1. 2.1 P2P Device
      1. 2.1.1 Searching Phase
      2. 2.1.2 Negotiation
      3. 2.1.3 Group Formation
    2. 2.2 PSP Client
    3. 2.3 P2P GO
    4. 2.4 P2P Commands
      1. 2.4.1 P2P Commands Detailed Information
        1. 2.4.1.1 p2p_find
        2. 2.4.1.2 p2p_connect
        3. 2.4.1.3 p2p_listen
        4. 2.4.1.4 p2p_group_add
        5. 2.4.1.5 p2p_group_remove
        6. 2.4.1.6 p2p_peer
        7. 2.4.1.7 p2p_invite
      2. 2.4.2 P2P Event Details
    5. 2.5 P2P Use Cases
      1. 2.5.1 P2P Connection in PBC (Push Button Control)
      2. 2.5.2 Create Autonomous 1:2 P2P Group (Push button Control)
        1. 2.5.2.1 Assigning IP Address in P2P Mode Using DHCP Method
        2. 2.5.2.2 Create 1:2 P2P Group - Connect With PIN Code
        3. 2.5.2.3 P2P Invitation Procedure - Create Autonomous 1:2 P2P Group, (Push button Control)
  4. Access Point (AP) and Peer-to-Peer (P2P) Multirole
    1. 3.1 Errata/Limitations
  5. Multi BSSID (mBSSID)
    1. 4.1 Setup and Configuration
    2. 4.2 User Guide and Examples
  6. Access Point (AP) Enhanced Low Power (ELP) Mode
    1. 5.1 Setup and Configuration
    2. 5.2 User Guide and Examples
    3. 5.3 Errata/Limitations
  7. WiLink8 Wake on WLAN (WoWLAN) Feature
    1. 6.1 Mode of Operation
    2. 6.2 Adding "Suspend/Resume" WoW Mode to AM335x EVM
      1. 6.2.1 Patch Description
    3. 6.3 WoWLAN (Wake on WLAN) Mode Enable Procedure
      1. 6.3.1 Commands and Expected Output
      2. 6.3.2 Rx Filter Configuration
        1. 6.3.2.1 Rx Filter Configuration Examples
    4. 6.4 WoWLAN - Magic Packet
    5. 6.5 Block Acknowledgement (BA) Filter Setting
    6. 6.6 Hardware Modification Engineering Change Order (ECO) Request for AM335x EVM
  8. WiLink8 Suspend Resume Mode
    1. 7.1 Suspend Resume Example With AM437x SDK
  9. Access Point (AP) Dynamic Frequency Selection (DFS) Master Support
    1. 8.1 Setup and Configuration
    2. 8.2 User Guide & Examples
    3. 8.3 Errata/Limitations
  10. Station Mode - Alternative Method, With iw Commands, Explained
    1. 9.1 Step 1- Check if the wlan0 Interface is Already Running
    2. 9.2 Step 2- Bringup wlan0 Interface if Not Running
    3. 9.3 Step 3 - Connect Device to Available Acces Point
  11. 10References

Setup and Configuration

The mBSSID solution is running one instances of the ‘hostapd’ for both BSSs. The configuration parameters of the hostapd are located in a configuration file called ‘hostapd.conf’. This file is provided and may be modified to meet the product requirements. In addition, two ‘udhcp.conf’ files are provided (see below) for control over the IP addresses provided in each BSS.

Make sure the following files are located in /usr/share/wl18xx/

  • hostapd.conf
  • udhcp.conf
  • udhcp2.conf

At the end of the hostapd.conf file add the mandatory attributes (This will configure the second AP with exactly the same attributes as the first one except for the SSID. All the parameters below bss=wlan2 configures the second bss):

bss=wlan2
ssid=BSS2
use_driver_iface_addr=1
Note: It is possible to add other attributes such as security and WPS the same way it is added for the first BSS in the file.
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
wpa_passphrase=12345678
wps_independent=1
wps_state=2
device_name=Sitara
device_type=1-0050F204-1
manufacturer=TexasInstruments
model_name=TI_Connectivity_module
model_number=wl18xx
serial_number=12345
uuid=12345678-9abc-def0-1234-56789abcdef1
eap_server=1
config_methods=virtual_display virtual_push_button push_button keypad
Note: Adding different channel and band is not supported.

Each AP should be configured with an IP on a different subnet. The start and end of the IP lease block in the udhcp.conf files should be updated accordingly, as well as the “opt router” (default-gateway) parameter.

For example: If AP1 was configured with IP 192.168.43.1 and AP2 was configured with IP 192.168.53.1 (both with 255.255.255.0 mask) then the start, end and opt router should be as follows:

Table 4-1 IP Address Range
Attribute/File udhcp.conf udhcp2.conf
start 192.168.43.20 192.168.53.20
end 192.168.43.254 192.168.53.254
opt router 192.168.43.1 192.168.53.1