RE: Essentials/Dependencies for P2P from Laptop to Mobile Device

2015-05-07 Thread Lamsoge, Abhijit
Hi Tomasz,
I have the following details.
WI-FI chip Intel Centrino Advanced N-6205 this confirmed from lshw and lspci.

I have already compiled the wpa_supplicant with options related to P2P from 
documentation.
Because when I run - scan p2p - I get an error - FAIL. Same is the case if I 
by-pass connman and check with wpa_cli utility.

But According to Intel's Centrino Advanced N-6205 - it says - it does support 
WIFI-Direct - But I am not sure how to get it to work.

I also have a Ubuntu 12.10 on a Lenovo T540p which has Atheros chip for wifi.
On this laptop - When I run scan p2p from connmand or wpa_cli I do get a 
success.
But p2p connect and other connect functionalities do not work.

Could this be something related to wpa_supplicant or still a driver or firmware 
issue ?

So from both ends Connmand and wpa_cli I get same results for Atheros based 
Laptop .

Abhijit

From: connman [connman-boun...@connman.net] on behalf of Tomasz Bursztyka 
[tomasz.burszt...@linux.intel.com]
Sent: Thursday, May 07, 2015 3:05 PM
To: connman@connman.net
Subject: Re: Essentials/Dependencies for P2P from Laptop to Mobile Device

Hi,

 I wanted to know what are the dependencies like
 1) Wifi Driver
 2) Chip support

Atheros (ath9k and ath10k driver based) and intel's (only 7260!) are
known to work.
Nothing special on kernel side afaik.

Verify you chip from lspci

 3) Correct procedure to do this

Verify Connman's README file, wpa_supplicant needs to be built with
proper options.
Most of the work is done by wpa_supplicant (Connman is only piloting it)
The later version the better. (2.4-r1)

 4) Or Anything else which is required.

connmanctl on the laptop side
  agent on
  scan p2p  -- to scan for p2p peers
  peers --- results
  connect peer id

Tomasz
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman


Essentials/Dependencies for P2P from Laptop to Mobile Device

2015-05-07 Thread Lamsoge, Abhijit
Hi All,
I am trying to configure or use connman to connect my LenovoT530 Laptop which 
runs a Ubuntu 14.10(64Bit) with a Samsung or Asus Zenfone or Sony Mobile device 
over Wifi-Direct or P2P.
However,
P2P does not connect from either end, i.e Mobile to Laptop and vice-versa.

I wanted to know what are the dependencies like
1) Wifi Driver
2) Chip support
3) Correct procedure to do this
4) Or Anything else which is required.

#iw list (Shows me)
Supported TX frame types:
 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 
0xb0 0xc0 0xd0 0xe0 0xf0
 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 
0xc0 0xd0 0xe0 0xf0
 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 
0xb0 0xc0 0xd0 0xe0 0xf0
Supported RX frame types:
 * P2P-client: 0x40 0xd0
 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
 * P2P-device: 0x40 0xd0

Any help in this direction will be helpful.

Abhijit


___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman


Re: Essentials/Dependencies for P2P from Laptop to Mobile Device

2015-05-07 Thread Tomasz Bursztyka

Hi,


I wanted to know what are the dependencies like
1) Wifi Driver
2) Chip support


Atheros (ath9k and ath10k driver based) and intel's (only 7260!) are 
known to work.

Nothing special on kernel side afaik.

Verify you chip from lspci


3) Correct procedure to do this


Verify Connman's README file, wpa_supplicant needs to be built with 
proper options.

Most of the work is done by wpa_supplicant (Connman is only piloting it)
The later version the better. (2.4-r1)


4) Or Anything else which is required.


connmanctl on the laptop side
 agent on
 scan p2p  -- to scan for p2p peers
 peers --- results
 connect peer id

Tomasz
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman


RE: Essentials/Dependencies for P2P from Laptop to Mobile Device

2015-05-07 Thread Lamsoge, Abhijit
Thanks.
Tomasz. This information helped.

I will check and reply after upgrading to newer kernel and firmware.

Abhijit

From: connman [connman-boun...@connman.net] on behalf of Tomasz Bursztyka 
[tomasz.burszt...@linux.intel.com]
Sent: Thursday, May 07, 2015 3:53 PM
To: connman@connman.net
Subject: Re: Essentials/Dependencies for P2P from Laptop to Mobile Device

Hi,

 WI-FI chip Intel Centrino Advanced N-6205 this confirmed from lshw and lspci.

 I have already compiled the wpa_supplicant with options related to P2P from 
 documentation.
 Because when I run - scan p2p - I get an error - FAIL. Same is the case if 
 I by-pass connman and check with wpa_cli utility.

 But According to Intel's Centrino Advanced N-6205 - it says - it does support 
 WIFI-Direct - But I am not sure how to get it to work.

Nah too old, if such support have been made then maybe once and on
windows only.
The only intel chip which is known to work properly with p2p is 7260.

 I also have a Ubuntu 12.10 on a Lenovo T540p which has Atheros chip for wifi.
 On this laptop - When I run scan p2p from connmand or wpa_cli I do get a 
 success.
 But p2p connect and other connect functionalities do not work.

 Could this be something related to wpa_supplicant or still a driver or 
 firmware issue ?

Most probably. Ath9k started to work reliably only recently (a year or
so), if you can upgrade all (kernel and firmwar), in
addition of wpa_supplicant, this could fix you issue.


 So from both ends Connmand and wpa_cli I get same results for Atheros based 
 Laptop .

Of course yes. Wpa_supplicant is the one that deals with the kernel/driver.

Tomasz
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman


Re: Essentials/Dependencies for P2P from Laptop to Mobile Device

2015-05-07 Thread Tomasz Bursztyka

Hi,


WI-FI chip Intel Centrino Advanced N-6205 this confirmed from lshw and lspci.

I have already compiled the wpa_supplicant with options related to P2P from 
documentation.
Because when I run - scan p2p - I get an error - FAIL. Same is the case if I 
by-pass connman and check with wpa_cli utility.

But According to Intel's Centrino Advanced N-6205 - it says - it does support 
WIFI-Direct - But I am not sure how to get it to work.


Nah too old, if such support have been made then maybe once and on 
windows only.

The only intel chip which is known to work properly with p2p is 7260.


I also have a Ubuntu 12.10 on a Lenovo T540p which has Atheros chip for wifi.
On this laptop - When I run scan p2p from connmand or wpa_cli I do get a 
success.
But p2p connect and other connect functionalities do not work.

Could this be something related to wpa_supplicant or still a driver or firmware 
issue ?


Most probably. Ath9k started to work reliably only recently (a year or 
so), if you can upgrade all (kernel and firmwar), in

addition of wpa_supplicant, this could fix you issue.



So from both ends Connmand and wpa_cli I get same results for Atheros based 
Laptop .


Of course yes. Wpa_supplicant is the one that deals with the kernel/driver.

Tomasz
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman