Added WiFi Direct code from SDK sample.