Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18153

Re: Re: Re: Enabling Wi-Fi Direct in wpa_supplicant package

$
0
0

Alright, well turns out that my .bb file for the SDK image I built didn't save.  I rebuilt with the correct options and now my 1.0.0 image is up and running with the right tools and P2P options enabled.  I can see my wifi cards, connect to the network and the two boards can ping each other.

 

However, following the README in the wpa_supplicant build directory as (attached), I run into the same issues as below:

 

In run-time configuration file (wpa_supplicant.conf), some parameters

for P2P may be set. In order to make the devices easier to recognize,

device_name and device_type should be specified. For example,

something like this should be included:

 

 

ctrl_interface=/var/run/wpa_supplicant

device_name=My P2P Device

device_type=1-0050F204-1

 

Adding these lines in wpa_supplicant.conf yields the following results:

 

root@galileo:~# Successfully initialized wpa_supplicant

Line 6: unknown global field 'device_name=Galileo'.

Line 6: Invalid configuration line 'device_name=Galileo'.

Line 7: unknown global field 'device_type=1-0050F204-1'.

Line 7: Invalid configuration line 'device_type=1-0050F204-1'.

Failed to read or parse configuration '/etc/wpa_supplicant.conf'.

 

I commented out those lines, which allows wpa_supplicant to load.  However, then in wpa_cli I attempt a few of the WiFi direct commands (i.e. p2p_find and p2p_listen) and get:

 

Selected interface 'wlan0'

 

 

Interactive mode

 

 

> p2p_find

Unknown command 'p2p_find'

> p2p_listen

Unknown command 'p2p_listen'

 

Typing 'help' gives a list of commands, none of which are WiFi direct related (p2p_*).

 

At this point, I'm almost positive I have everything in wpa_supplicant and the kernel compiled correctly.  Is it fair to say my WiFi card just might not support WiFi direct or is something else up?

 

Thanks!

Matt


Viewing all articles
Browse latest Browse all 18153

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>