SWRU576 January 2021 WL1801MOD , WL1805MOD , WL1807MOD , WL1831MOD , WL1835MOD , WL1837MOD
The following sections detail how P2P usecases can be realized with the WiLink8 devices. The demo uses hardware using AM335x EVM along with WL1837MODCOM8I module. The demo will need two such hardware for P2P connection. Typical hardware setup is as shown in Figure 2-2.
The details of the steps and typical output from the scripts are provided below:
cd /usr/share/wl18xx/
root@am437x-evm:/usr/share/wl18xx# ./p2p_start.sh
Successfully initialized wpa_supplicant
[ 76.303654] wlcore: PHY firmware version: Rev 8.2.0.0.245
[ 76.392303] wlcore: firmware booted (Rev 8.9.0.0.86)
[ 76.413164] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready wlan0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
[ 76.771490] wlcore: down
root@am437x-evm:/usr/share/wl18xx#
root@am437x-evm:/usr/share/wl18xx# ./p2p_cli.sh
wpa_cli v2.9-R8.8+
Copyright (c) 2004-2019, Jouni Malinen <j@w1.fi> and contributors
This software may be distributed under the terms of the BSD license.See README for more details.
Interactive mode
>
root@am437x-evm:/usr/share/wl18xx# ./p2p_stop.sh
OK
root@am437x-evm:/usr/share/wl18xx# nl80211: deinit ifname=p2p-dev-wlan0 disabled_11b_rates=0
[ 133.968657] wlcore: down
p2p-dev-wlan0: CTRL-EVENT-TERMINATING
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
wlan0: CTRL-EVENT-TERMINATING