Seeing your recent question, I assume you refer to 820c board.
Yes WiFi p2p is supported by the hw/driver/wpa_supplicant layers.
I suggest you to have a look at https://w1.fi/cgit/hostap/plain/wpa_supplicant/README-P2P.
To test this feature you can use the following procedure:
Stop any ongoing wpa_supplicant instance:
$ service wpa_supplicant stop
Create /etc/wpa_supplicant.conf file on device 1 with the following content:
device_name=My P2P Device 1
Create /etc/wpa_supplicant.conf file on device 2 with the following content:
device_name=My P2P Device 2
Start wpa_supplicant on each device:
$ wpa_supplicant -D nl80211 -i wlanX -c /etc/wpa_supplicant.conf &
On device 1, run wpa client tool and enable p2p listen mode:
On device 2, run wpa client tool and run p2p find command:
On device 2, once device 1 is found run the connect command:
> p2p_connect MAC_ADDR_DEV1 pbc
On device 2, once received connect request, run the same command:
> p2p_connect MAC_ADDR_DEV2 pbc
You can now leave wpa_cli, you will see a new network p2p-wlanX-0 interface on each device.
You can configure this interface manually or use dhcp as well.
On device 1:
$ ifconfig p2p-wlan0-0 22.214.171.124
On device 2
$ ifconfig p2p-wlan0-0 126.96.36.199
$ ping 188.8.131.52
PING 184.108.40.206 (220.127.116.11) 56(84) bytes of data.
64 bytes from 18.104.22.168: icmp_seq=1 ttl=64 time=1115 ms
Your link is established.