It features basic functionalities roughly similar to hostapd (with its nf configuration file), which is the common AP software integrated with wpa_supplicant, generally used for infrastructure mode networking.
Hostp2pd implements a soft host Access Point (AP) software in Wi-Fi Direct mode, enabling a wireless network interface card to act as Ad hoc access point and Wi-Fi Protected Setup (WPS) authentication server.