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

P2P Commands

The following section details the basic p2p commands for discovery, connection, peer management, authorization, and miscellaneous commands. The subsections also indicate the P2P command details and events generated using the execution of the commands.

Table 2-1 P2P Basic Commands - Discovery, Connections
Command Description
p2p_find [timeout (seconds)] [type <social \ progressive>]

Enables discovery – start sending probe request frames

p2p_stop_find Stops discovery, or whatever you are doing (listen mode, connection process, and so forth)
p2p_connect <device address> <PBC \ PIN> [GO_intent=<0-15> \ auth \ join] GO_intent – initiate connection to another device (using entered group intent)
Auth – WPS authorize incoming connection
Join – connect to an existing GO No input – initiate connection using default GO intent
p2p_listen [timeout (seconds)] Enable listen mode
p2p_group_remove <interface> Remove device from group, return to device mode if acting as GO or autonomous GO
p2p_group_add Become an autonomous GO
Table 2-2 P2P Commands to Manage Discovered Peers
Command Description
p2p_peers [discovered] Shows list of discovered peers (with ‘discovered’ – shows only fully discovered peers)
p2p_peer <address> Show detailed information about discovered peers
p2p_flush Flush p2p_state, and clears the discovered peer list
Table 2-3 P2P GO WPS Authorization Commands
Command Description
wps_pbc Push button to accept incoming connections
wps_pin <PIN> <UUID> Enable WPS enrollee PIN
Table 2-4 P2P Other Commands
Command Description
p2p_prov_disc <address> <method> Request provision discovery
p2p_serv_disc_req <addr> <TLVs> Send service discovery request
p2p_serv_disc_cancel_req <id> Cancel service discovery request
p2p_serv_disc_resp <freq> <addr> <dialog token> <TLVs> Service discovery response
p2p_service_add <bonjour\upnp> <query\version> <response\service> Add a local service
p2p_service_del <bonjour\upnp> <query\version> [service] Remove a local service
p2p_invite <cmd> [address] Send invitation to device
Reconfigure Wpa_supplicant will re-read configuration file
Ping Ping wpa_supplicant (only)