• Home
  • History
  • Annotate
  • only in /frameworks/base/wifi/java/android/net/wifi/p2p/
History log of /frameworks/base/wifi/java/android/net/wifi/p2p/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2bc0c5fef25fe6d64b976133a3434233f3515d78 24-Oct-2012 Irfan Sheriff <isheriff@google.com> Handle group tear down only at group removed event

Handling group removal at disconnect causes issues where supplicant keeps
the group and then the next invocation fails

Bug: 7403755
Change-Id: Iea7e5ec98486607f8e2c4a55be3743e0545a9da7
ifiP2pService.java
51aec5ed5f78bfc5dea134fa88ef07fcdd572ba2 23-Oct-2012 Irfan Sheriff <isheriff@google.com> Fix issues shown on CTS tests

Reset timeout for single interface architecture

Fix persistence reinvocation handling on the receive side

Bug: 7379336
Change-Id: Iacca0bd6dcbeb42af63bf2078e8cf3126e4e74a7
ifiP2pService.java
61e42262000549b78843f0959043fec8367ed189 19-Oct-2012 Irfan Sheriff <isheriff@google.com> Fix group join CTS test

Bug: 7379336
Change-Id: I20ead7e8c0d855be523bdfd8d9cb9eaa4b8fcac1
ifiP2pService.java
62fa6de135269a7da135bb89b1eb047a4f11d343 18-Oct-2012 Irfan Sheriff <isheriff@google.com> Do a clean shutdown of p2p

We were doing a lazy shutdown and stopping supplicant behind p2p's back.
Make sure we stop p2p, before we go ahead with shutting down.

Bug: 7368832
Change-Id: I941e9cd69d6f27532207d3dc00b03c55c0e6335c
ifiP2pService.java
9f452d0b5ccad77fb6acfd1b20d5f77c9f425d22 15-Oct-2012 Irfan Sheriff <isheriff@google.com> Frequency conflict handling

We now show a dialog to user and let him handle whether to choose wifi
or p2p when there is a frequency conflict.

If user chooses to disable wifi tempoarily, we disconnect wifi until
p2p connection is established and removed.

Bug: 6590401
Change-Id: I73871ddcb3732ae61997d8771b6aa90ad56270af
ifiP2pService.java
41de2404658c7c6faf6c78e777ba50af11784f5c 13-Oct-2012 Irfan Sheriff <isheriff@google.com> Fix handling of lost device

We did not update a lost device notice to apps properly. This causes incorrect
connection initiation without a discovery which leads to failed invitation
requests to supplicant.

Bug: 7328758
Change-Id: If4b594c737d639d0f553188309319fba4e3ee7b7
ifiP2pDeviceList.java
ifiP2pService.java
0befeb29bcdf05b913a332edb4f222e11b4817ac 04-Oct-2012 Irfan Sheriff <isheriff@google.com> Clear interface address and reset connections

With the broadcom architecture, the p2p interface on a group
was dynamic that would just go away. Clearing addresses
was thus not important before.

It is good to clear up the addresses and reset connections
when the group is removed.

Bug: 7282358
Change-Id: Ia1a94fce90f86b54abcc2d1f78a33524ef8045fa
ifiP2pService.java
ce6fc8d7a49d1b246e37c4e87fd5e715e408bca2 29-Sep-2012 Irfan Sheriff <isheriff@google.com> Revert setting GO idle time out

GO idle time out causes issues with multi-channel capable client which
can take longer to connect.

Use the supplicant default detection when acting as a GO.

Bug: 7254008
Change-Id: I6c40081cfa83ca0ddbb764640a48c92d69e609fd
ifiP2pService.java
ca1269fcb8265c36660b3b47e5c06180e94e6485 28-Sep-2012 Irfan Sheriff <isheriff@google.com> Fail fast on persistent failure

Other fixes

- 20s idle time out was added a work around for an earlier cavium issue. Reduce to 10s
- Reload network fix when supplicant issues an error for a persistent network

Bug: 7248890
Change-Id: I6cea7c88c75aaca40ddcb973404e93ec0f66cbc4
ifiP2pService.java
bdfce2ec05a3e9ca6acd6711de6133e06f2446e6 27-Sep-2012 Jeff Sharkey <jsharkey@android.com> First step towards cleaning up Global settings.

Remove all @Deprecated @hide settings, and clean up any stragglers.

Bug: 7232125
Change-Id: Ibf67093c728d4a28565129b923edb1701d3b2789
ifiP2pService.java
c41096e1b4bf453c195c8c46c5d296f2125d31f6 24-Sep-2012 Irfan Sheriff <isheriff@google.com> P2p fixes

- Add wfdInfo details in group to allow display stack to filter
- Handle provision discovery failure and reset
- Do a discovery after group removal
- Handle failure to reinvoke and fall back to negotiation
- Avoid multiple REMOVE_GROUP calls that lead to removal
of persisted network

Bug: 7210856
Change-Id: Ia2e613e9b1191b919a185f0411439341e2e151bc
ifiP2pDevice.java
ifiP2pService.java
d36adc31ce0335635b536174299e15b9f099c9ad 24-Sep-2012 Irfan Sheriff <isheriff@google.com> P2p fixes

- NPE fixes
- Remove group on CTRL-EVENT-DISCONNECTED since the supplicant sometimes misses
the group removed event
- Fix the pattern match since we sometimes end up creating group without passphrase

Bug: 7119140
Bug: 7210558
Change-Id: I2cf0be073aaaaa9b931ea9a79b0bf4bd6a2b32ff
ifiP2pGroup.java
ifiP2pService.java
99766cf40ed706aad36032f2107fb0c1e54fc398 21-Sep-2012 Irfan Sheriff <isheriff@google.com> Use min group owner intent for concurrency

Our device only supports STA & GC concurrency

Change-Id: I4f16c959a6f4e7ad5610dcae67be830d741f162c
ifiP2pConfig.java
7d0882be6d7e2a434072cb0bb63cb117e73491cb 19-Sep-2012 Irfan Sheriff <isheriff@google.com> Merge "send connection broadcast on client disconnect" into jb-mr1-dev
5ef9c59fffce221fcfd3f2fcea8f45a41341fa42 18-Sep-2012 Irfan Sheriff <isheriff@google.com> send connection broadcast on client disconnect

Bug: 7188646
Change-Id: I69f2c2581004b08730407930fb056cc1fe54feec
ifiP2pService.java
24ed2769130a8f9df44e7fc22be52b6282e724c3 18-Sep-2012 Irfan Sheriff <isheriff@google.com> Merge "WFD fixes" into jb-mr1-dev
e0c28d5f1358fc2d4c464f910bd04fed4b283fef 18-Sep-2012 Irfan Sheriff <isheriff@google.com> WFD fixes

- Specificy max GO intent for WFD
- Increase GO idle time out to 20s and use it for GO and client
- Fix connection broadcast

Change-Id: Ia0e28bc9eb3e23d2830a6c814c5a537ca0bcd5db
ifiP2pConfig.java
ifiP2pService.java
3809f500c3411af2ab5ab6c706cdb4373940123e 18-Sep-2012 Irfan Sheriff <isheriff@google.com> Disable notification scans when p2p is connected

Also reduce scan interval for STA scans to one minute.

Bug: 7138968
Change-Id: I03620f6d462e4ec90d9bb25bbfe709f63173df21
ifiP2pService.java
a149edf4385aa8eeca6fa49402487f03d38c2bdd 15-Sep-2012 Irfan Sheriff <isheriff@google.com> Increase GO idle time out to 5 seconds

This is needed to work well with cavium dongle and 2 seconds
was too aggressive to let a client scan and connect.

Change-Id: Id3f1e3711333365c1e90827fb92675fd5dbc49da
ifiP2pService.java
e298d884580006cbcd4aec8fd7877dae3f081eec 10-Sep-2012 Irfan Sheriff <isheriff@google.com> Fix device list update

Change-Id: I6a57d90f3750590db4ac5d538956b989d9589501
ifiP2pDevice.java
ifiP2pDeviceList.java
ab603ace22c9f0fe256616697ebfa4ef2928985b 10-Sep-2012 Irfan Sheriff <isheriff@google.com> Merge "Update WifiP2pWfdDevInfo from device found event" into jb-mr1-dev
1f6d8706918ddb277cad5fc8a006cc56ea7dbf69 10-Sep-2012 Irfan Sheriff <isheriff@google.com> Update WifiP2pWfdDevInfo from device found event

Change-Id: I197e84e16147d3db7362e3d6d169ff917c112de2
ifiP2pDevice.java
ifiP2pWfdInfo.java
d8544a51482c86b12da3ac82ea77b83045f689b7 09-Sep-2012 Jeff Brown <jeffbrown@google.com> Copy all mutable state before sending to clients.

This resolves an issue with ConcurrentModificationException
or inconsistent data being perceived by clients.

Fixed an NPE in the WifiP2pDeviceList copy constructor.

Bug: 7133752
Change-Id: I37a4d004f7b1ca21d490f131039d81695db2ba42
ifiP2pDeviceList.java
ifiP2pGroupList.java
ifiP2pService.java
0a66763744db9c9215567ed70051add7f55d53c7 06-Sep-2012 Irfan Sheriff <isheriff@google.com> Add connection broadcast on group creation failure

Change-Id: I8075a53997d968e6926e5ca78c9aadc60d8fcb2a
ifiP2pService.java
ab4cd45133ccea6a66fb081f9b2a8d14eb3e4f1d 16-Aug-2012 Andreas Huber <andih@google.com> P2p API for WFD

Change-Id: I3914a515313654f7032d8bb102afebf0ed776783
ifiP2pDevice.java
ifiP2pInfo.java
ifiP2pManager.java
ifiP2pService.java
ifiP2pWfdInfo.java
5ac72a29593ab9a20337a2225df52bdf4754be02 30-Aug-2012 Dianne Hackborn <hackbod@google.com> Improve multi-user broadcasts.

You can now use ALL and CURRENT when sending broadcasts, to specify
where the broadcast goes.

Sticky broadcasts are now correctly separated per user, and registered
receivers are filtered based on the requested target user.

New Context APIs for more kinds of sending broadcasts as users.

Updating a bunch of system code that sends broadcasts to explicitly
specify which user the broadcast goes to.

Made a single version of the code for interpreting the requested
target user ID that all entries to activity manager (start activity,
send broadcast, start service) use.

Change-Id: Ie29f02dd5242ef8c8fa56c54593a315cd2574e1c
ifiP2pService.java
4bbb13976e54f6325cb013882891c02adea61ec5 29-Aug-2012 Irfan Sheriff <isheriff@google.com> Fix join scenario with provision discovery

Bug: 7072467
Change-Id: I8aafd5cee1055463aeda26ad313071cfe4e335c6
ifiP2pService.java
bf3218f64de1692ca26c67b1911af856d81e186c 28-Aug-2012 Irfan Sheriff <isheriff@android.com> am 129d6fac: am 67ea8c86: Merge "Added a persistent feature in WiFi Direct."

* commit '129d6fac00545d6ea4eee75f25ddb3ffe8452bb9':
Added a persistent feature in WiFi Direct.
0879d03f0a5caa108a0a7320442d57629f9ced81 16-Aug-2012 Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com> Added a persistent feature in WiFi Direct.

Provide a new feature to use persistent group at default.
In the normal connect sequence, if the persistent profile has been
stored, try to use it. Otherwise, a new persistent group is created.
If the persistent profiles are stored over 32, an old profile is
deleted automatically.

Change-Id: Iccb9fa044f1907f0818cd259275e1675f4c3e222
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
ifiP2pConfig.java
ifiP2pDevice.java
ifiP2pGroup.java
ifiP2pGroupList.aidl
ifiP2pGroupList.java
ifiP2pManager.java
ifiP2pService.java
095c58b73ac112cc7e00771430765434893d8bc5 29-May-2012 Wink Saville <wink@google.com> Enhance StateMachine Quitting and logging support. DO NOT MERGE

Make StateMachine#quit non-conditional and remove the need to
process the SM_QUIT_CMD it is now private.

Rename halting to onHalting.

Add onQuitting

Change the message specific logging to be more generic and change
the xxxProcessedMessagesYyy methods to xxxLogRecXyy names. Also add
addLogRec(String) and addLogRec(String, State) as the generic logging
methods.

bug: 5678189
Change-Id: I22f66d11828bfd70498db625fe1be728b90478b7

Conflicts:

services/java/com/android/server/NsdService.java
ifiP2pService.java
b81bb9b40881659428f30b4539dd8877f9ea85f9 08-Jun-2012 Irfan Sheriff <isheriff@google.com> Clear interface addresses upon disconnect

Change-Id: I8ce289cfc72babe894ce9f4d0119a2f2ac5f0859
Signed-off-by: Irfan Sheriff <isheriff@google.com>
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
ifiP2pService.java
df3bec04de71eeac8cc2abc178cdda46b1cb151a 08-Jun-2012 Irfan Sheriff <isheriff@google.com> am efcc0ca7: am 4206ee2b: Merge "Fix clear services API" into jb-dev

* commit 'efcc0ca7545190f49bcbc25182d83b21aa01b2aa':
Fix clear services API
96aa0db9a997bc214471aa0d114a452aea6daa6d 08-Jun-2012 Irfan Sheriff <isheriff@google.com> Fix clear services API

BUg: 6631291
Change-Id: I9cee827b5eb78e356fdf86390103136f5610dd3e
ifiP2pService.java
4d7d5268ba42191a997fcc42a513b14854344fda 07-Jun-2012 Irfan Sheriff <isheriff@google.com> am 2654105b: am ca96a322: Merge "Update group capability before connect" into jb-dev

* commit '2654105b15d8da5ad4fd84eef7e2c3f662373283':
Update group capability before connect
57e42f4117e92c03d39f1e1e572f53ef5bb821b8 06-Jun-2012 Irfan Sheriff <isheriff@google.com> Update group capability before connect

We need to get the latest group capability information before connect
now that the supplicant behavior is to do a delayed cleanup.

Bug: 6613470
Change-Id: Ie374d750950f3bd4376fd6a767bb253fd7986eb1
ifiP2pDeviceList.java
ifiP2pService.java
b1ebee8ac7c96b48fb47e03a239d41edc376021b 02-Jun-2012 Irfan Sheriff <isheriff@google.com> am 7742b91c: am 1b3dcd3b: Merge "Fix NPE while creating autonomous GO" into jb-dev

* commit '7742b91c7e05c85801a03c36fb2f799703e82b9b':
Fix NPE while creating autonomous GO
ba5065eaf3bd633aa30e0eb00b8a76b7bf33d36d 01-Jun-2012 Irfan Sheriff <isheriff@google.com> Fix NPE while creating autonomous GO

When autonomous GO is being created and we get a device lost event,
fix NPE

Bug: 6595978
Change-Id: Id93b693b8bcc447aea03c04be7556b1f2ff00a90
ifiP2pService.java
4b5d3a26394dc5f2aca787fd8acfd6e7e9c27460 29-May-2012 Wink Saville <wink@google.com> Merge "Enhance StateMachine Quitting and logging support."
bbf30dfd767f823f5f40d14b498e2a593454c5c9 29-May-2012 Wink Saville <wink@google.com> Enhance StateMachine Quitting and logging support.

Make StateMachine#quit non-conditional and remove the need to
process the SM_QUIT_CMD it is now private.

Rename halting to onHalting.

Add onQuitting

Change the message specific logging to be more generic and change
the xxxProcessedMessagesYyy methods to xxxLogRecXyy names. Also add
addLogRec(String) and addLogRec(String, State) as the generic logging
methods.


bug: 5678189
Change-Id: I22f66d11828bfd70498db625fe1be728b90478b7
ifiP2pService.java
9cb980422ac53b81d6ad15242b0de35b5f3ce13c 25-May-2012 Irfan Sheriff <isheriff@google.com> Retain device during connecting state

With join taking much longer, sometimes device can be lost from supplicant.
Retain device to complete connection.

Also, clear up stale peer data after find stops during inactive state.

Bug: 6557725
Change-Id: I15b92e50a837481f974034b1ea7b32c8abee969e
ifiP2pService.java
ba1db8a5912c989e493269b8751c7e9d312e0eae 11-May-2012 Irfan Sheriff <isheriff@google.com> Merge "Fix wifi direct issues" into jb-dev
10ca870d3b58ec6fd62b85466ec1211fca77d33e 11-May-2012 Irfan Sheriff <isheriff@google.com> Fix wifi direct issues

- BSS command is unreliable, use group owner information from p2p_find
- Fix the autonomousgroup settings
- Use group idle settings only on the p2p group interface to avoid group idle
resulting group formation failures

Bug: 6426991
Change-Id: I44fc204775580fb4fec6ce27070ddbde0751b495
ifiP2pDeviceList.java
ifiP2pService.java
527ba07b637cedf206fec0d3b0cf92141700a23c 09-May-2012 Irfan Sheriff <isheriff@google.com> Use Map for DnsSd TXT record

Bug: 6434844
Change-Id: I767077585f501b46026ed34ec3e778d3e53209cc
ifiP2pManager.java
sd/WifiP2pDnsSdServiceInfo.java
sd/WifiP2pDnsSdServiceResponse.java
de1e9fa9fbc4b7f4b08415d805a6e5212e655d95 02-May-2012 Irfan Sheriff <isheriff@google.com> P2p fixes

- Fix group idle settings
- Fix provision discovery event handling. We only care about device address.
- Fix WPS setup at start

Bug: 6427634
Change-Id: I0b1a7d73199e373350001114f4607bc39f2a53ba
Signed-off-by: isheriff@google.com
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
ifiP2pProvDiscEvent.java
ifiP2pService.java
bfb27bbefb013220af699881d486cc04be5ec1f5 14-Feb-2012 Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com> Allow override of p2p dialogs

By default, we show dialogs for connection requests and for
user interaction for pin input from the framework.

For applications, that want to make the experience more seamless
we should allow automatic discovery and connection as long
as one app can control it. We allow this for a foreground
app alone right now.

This will be a hidden API for now.

Bug: 6411069
Change-Id: Id342e933073d30eb58bf5a03a47ca26a64df8ddb
Signed-off-by: isheriff@google.com
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
ifiP2pDeviceList.java
ifiP2pManager.java
ifiP2pService.java
2bdefcab74d4ee21ad4bc1e90b30aeb7eac589e0 26-Apr-2012 Irfan Sheriff <isheriff@google.com> Add support for changing p2p device name

Change-Id: Ie13fe2adedd0bac6aa07b3369c4d6a05ef33cd24
Signed-off-by: isheriff@google.com
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
ifiP2pManager.java
ifiP2pService.java
6ec0c6afafd9bad5e4c33578e9355997a280649c 20-Apr-2012 Irfan Sheriff <isheriff@google.com> Merge "Expose NO_SERVICE_REQUESTS error condition"
232ebad9ed1d81d5eab12e0b41cbe522e9a3c320 20-Apr-2012 Irfan Sheriff <isheriff@google.com> Expose NO_SERVICE_REQUESTS error condition

Change-Id: I45214557579fc82faa93a41d22c0890a218b091e
ifiP2pManager.java
3b8be87f89e2f98345980954994bdde82b7ee9ad 19-Apr-2012 Irfan Sheriff <isheriff@google.com> Fix service discovery bugs

- Application does not have transaction id information. go through
list and remove

- Avoid removing client info while enumerating it

Change-Id: Ie293876756418ed4cd6dc3a903689ee7003bd12d
Signed-off-by: yoshihiko.ikenaga@jp.sony.com
ifiP2pService.java
8bf825f48fde77cb2feb8720aac17093581bb085 14-Apr-2012 Irfan Sheriff <isheriff@google.com> Open p2p pre-association service discovery API

This allows applications to filter out the devices by the
services supported for the purpose of establishing a
connection.

so, a game app can connect to devices that support the game,
and a media streaming app can filter and connect only to
the available media display devices

Change-Id: Ia792e292d2ca771beeb4ca3b007a047527c19229
ifiP2pManager.java
sd/WifiP2pBonjourServiceInfo.java
sd/WifiP2pBonjourServiceRequest.java
sd/WifiP2pBonjourServiceResponse.java
sd/WifiP2pDnsSdServiceInfo.java
sd/WifiP2pDnsSdServiceRequest.java
sd/WifiP2pDnsSdServiceResponse.java
sd/WifiP2pServiceInfo.java
sd/WifiP2pServiceRequest.java
sd/WifiP2pServiceResponse.java
sd/WifiP2pUpnpServiceInfo.java
sd/WifiP2pUpnpServiceRequest.java
d4fecc2567ca54427b9c86900bccbc7103ea8fde 13-Apr-2012 Irfan Sheriff <isheriff@google.com> Merge "Pre-association service discovery support"
21ba8153325e010224c6bc75a0acdc98b6ca82e8 05-Apr-2012 Irfan Sheriff <isheriff@google.com> Pre-association service discovery support

Add UPnp, Bonjour and vendor specific support for discovering services on
Wi-Fi direct before establishing a connection.

Change-Id: I1c1f3427180abdc80a4e682e713adc7f0326c5ef
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
ifiP2pDeviceList.java
ifiP2pManager.java
ifiP2pService.java
sd/WifiP2pBonjourServiceInfo.java
sd/WifiP2pBonjourServiceRequest.java
sd/WifiP2pBonjourServiceResponse.java
sd/WifiP2pServiceInfo.aidl
sd/WifiP2pServiceInfo.java
sd/WifiP2pServiceRequest.aidl
sd/WifiP2pServiceRequest.java
sd/WifiP2pServiceResponse.aidl
sd/WifiP2pServiceResponse.java
sd/WifiP2pUpnpServiceInfo.java
sd/WifiP2pUpnpServiceRequest.java
sd/WifiP2pUpnpServiceResponse.java
7405b90df43a4e2c544f17895158d07130e5922c 09-Apr-2012 Irfan Sheriff <isheriff@google.com> Merge "P2p fixes"
55bfa42b05868a62ea66d291dcc51f0150fadcc2 07-Apr-2012 Irfan Sheriff <isheriff@google.com> P2p fixes

Add powersave on client after connect
Set concurrency priority to STA
Fix connection cancellation

Change-Id: I76fd9d1085c611a8c4068047b64289ef539ab389
ifiP2pService.java
b5e00bda40398b8738192abfe9b745464a54865a 02-Apr-2012 Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com> Fix key handling

putListener() returns 0 when the argument is null. And The key value of listener
registered first is always 0. For this reason, if the p2p functions are called continuously
and first call is without listener and the second call is with listener, then the message
against first call wrongly pick up the second call's listener because the key value is
the same. In order to avoid this issue, we don't use 0 as the valid listener key.

Change-Id: I0cc960b2ad37f17cf7f528d839b39aa272b83670
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
ifiP2pManager.java
c111d1caa8d4cc5d2139b5abd4d2db1f78560eff 29-Mar-2012 Irfan Sheriff <isheriff@google.com> Add discovery broadcasts for p2p

This will allow apps to figure out if discovery is active or not
and based on that initiate a new discovery for fresh connections

Change-Id: I4778f135fdd88773e4f0d50c384f9b6ebf561e6d
ifiP2pManager.java
ifiP2pService.java
61472a8314e6716f231ec1c0aba73e005935829b 23-Mar-2012 Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com> p2p fixes

Fix space handling in device name and ssid (This builds from contribution of
Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>)

Also clean up STA event handling and remove the unused interface address

Change-Id: Ic16a4aadf905c1da5c060faa8a3caa83adc0549f
ifiP2pDevice.java
ifiP2pDeviceList.java
ifiP2pGroup.java
ifiP2pService.java
86a5f5b9afa97a4ed6f5a2466fb9359ea131e2fb 29-Feb-2012 Irfan Sheriff <isheriff@google.com> Enhance WPS

- Add a cancel API
- Add more error reporting on WPS
- Fix network status reporting that showed up with new implementation

Change-Id: I499796c80d16d18df95fb702d029aa7e7283b603
ifiP2pService.java
7d6d9c005e5cfad787bb62b7fee6be2d75b13ca3 11-Jan-2012 Irfan Sheriff <isheriff@google.com> Initial support for concurrency

Use of multiple socket connections over wlan0 and p2p and
p2p state machine is now controlled entirely from wifi state machine

Add discovery stop to allow STA scans to proceed after p2p is used

Change-Id: I790c9112d3f475f638f06fc3ae9e191f6d90ef35
ifiP2pDevice.java
ifiP2pManager.java
ifiP2pService.java
fc7f95abcda6fa35c175f9225358ea75c22952ab 04-Jan-2012 Irfan Sheriff <isheriff@google.com> cleanup for concurrency

Allow multiple instances of WifiMonitor and WifiNative to be
created in preparation for multiple socket connections

Change-Id: I06a227f87f1406dc62f884d56ad639ac623414b6
ifiP2pService.java
1f095869536472c178046bb63c59947508eac4a6 21-Dec-2011 Irfan Sheriff <isheriff@google.com> clean up jni code

- Move all supplicant commands out of jni code in preparation for multi-socket
changes

- Also, clean up some function names to remove the explicit command

Change-Id: Id609ac7df0792fb85b52554d159f22064227c584
ifiP2pService.java
bfed2d6c618e0bf2c271dad1f4acf6d29ebbea51 09-Dec-2011 Irfan Sheriff <isheriff@google.com> p2p fixes

- Change default GO intent to 7
- Handle P2P invitation scenario
- Fix p2p STA connect notification handling to figure device address. Proper fix
for handling both STA connection and disconnection is after we update supplicant

Change-Id: I9ff82f84ad3913905952d1119b7224dff41c24d9
ifiP2pDevice.java
ifiP2pDeviceList.java
ifiP2pService.java
d834aeb0f2fb78addd3d2e43b36939f911cd4bbd 05-Dec-2011 Irfan Sheriff <isheriff@google.com> Merge "p2p enhancements"
530040e0b9458994c02f4392765db168128d48da 01-Dec-2011 Irfan Sheriff <isheriff@google.com> p2p enhancements

- Add device name on SSID for legacy devices to discover a given
group and join

- Do not remove a group for a device lost event which only indicates
discovery is stopped

Change-Id: Id431c29da371986e694ab230d72d32061b209ebe
ifiP2pGroup.java
ifiP2pService.java
ddba10622dfd3122cf99c795706754e0d41858c3 30-Nov-2011 Jeff Sharkey <jsharkey@android.com> Clean up InterfaceConfiguration flags.

Offer modifier methods for interface flags instead of mutating
directly, and remove square brackets.

Change-Id: I4cce719dccedfb3f0e8448c111e65b93c0008cbb
ifiP2pService.java
618455f7e7255019c8cc08a734ba7c52b67a7dc8 18-Nov-2011 Irfan Sheriff <isheriff@google.com> Redesign p2p around provision discovery

= Provision Discovery:Is an optional discovery technique for figuring out
if a peer supports the specific WPS option. For compatibility reasons,
we will now always use it during connection but at the same time support
devices that request to support connection without it

= State machine and UI redesign around the new interaction

= Specify config methods explicitly for compatibility

Bug: 5599949
Change-Id: Ib79435dda472c43cc0746f56bf79ea896b2e33a4
ifiP2pConfig.java
ifiP2pDevice.java
ifiP2pProvDiscEvent.java
ifiP2pService.java
7f00c22b7fa7b38b644585c0a3c6faadc5def94c 02-Nov-2011 Irfan Sheriff <isheriff@google.com> Merge "Avoid duplicate dialogs leading to NPE" into ics-mr0
bbe77ca6be1f6fe5c13c97ccd8baa68ab0272cf5 01-Nov-2011 Irfan Sheriff <isheriff@google.com> Avoid duplicate dialogs leading to NPE

Bug: 5548268
Change-Id: I383d5dba5ed2d77c1623d03990f1139872a65e2a
ifiP2pService.java
63fcb397a2583255ec4a0f5e5d8c4c124c272616 18-Oct-2011 Scott Main <smain@google.com> docs: add package description for wifi.p2p and update the one for wifi

Change-Id: Iaf80f9640a4d56100e22d93954edd8aeb5ea4d2b
ackage.html
651cdfcbac6245f570475991588ddc2d30265e8d 07-Sep-2011 Irfan Sheriff <isheriff@google.com> Unhide wifi p2p API

Bug: 5247957
Change-Id: Id93e30c0cb60f361ba13a840de8f843415777336
ifiP2pConfig.java
ifiP2pDevice.java
ifiP2pDeviceList.java
ifiP2pGroup.java
ifiP2pInfo.java
ifiP2pManager.java
ifiP2pService.java
616f3173e08ec6110cf5766c70f84c9e031fb7d7 12-Sep-2011 Irfan Sheriff <isheriff@google.com> Emergency callback mode handling

For wifi, track ECM and shut down and restart when device
goes in ECM and out

For p2p, simply turn off when in ECM mode

Bug: 5185246
Change-Id: I5f5bf75fac3e27db1d7c412135c796f2b137263d
ifiP2pService.java
295da73f051e1a1280284d94d800c57f163a3986 09-Sep-2011 Irfan Sheriff <isheriff@google.com> Disable p2p when airplane mode is turned on

Bug: 5286610
Change-Id: Ia895dfbf0d1bc39458f4a4d24595c862750eea38
ifiP2pService.java
a420cc460c05b9f078327862a060b3ba67057582 08-Sep-2011 Irfan Sheriff <isheriff@google.com> Merge "Fix system crash on p2p failure"
511f8e2ff23c480808d831125f3c93d4cbd15f59 08-Sep-2011 Irfan Sheriff <isheriff@google.com> Merge "Use hasSystemFeature() API to check for p2p"
f0ef26af3430b9c6402a34eeb9248f805d570922 08-Sep-2011 Irfan Sheriff <isheriff@google.com> Fix system crash on p2p failure

A previous change missed out a function that accepts an
integer argument as arg1. Instead, it was being passed as
parcelable which causes a fatal exception

Bug: 5271220
Change-Id: I3b78d9ce9ab742aa89ceaae17116fb7245187863
ifiP2pService.java
a8f63a38a0570d2521d5db73f05218d114fa902a 07-Sep-2011 Irfan Sheriff <isheriff@google.com> Use hasSystemFeature() API to check for p2p

Bug: 5267396
Change-Id: I4ff3f77c15322564f63beea793c4585cece596e0
WifiP2pManager.aidl
ifiP2pManager.java
ifiP2pService.java
6f7d385d964949e507dcc9c88012372f48d0bce7 07-Sep-2011 Irfan Sheriff <isheriff@google.com> Update documentation and cleanup to unhide API

Bug: 5247957
Change-Id: I3ef8ac013eec32eb540178ea5febec3d4c0a3428
ifiP2pConfig.java
ifiP2pDevice.java
ifiP2pDeviceList.java
ifiP2pGroup.java
ifiP2pInfo.java
ifiP2pManager.java
ifiP2pService.java
489a9d81fd1458940e1ec01ba0cef36843732479 07-Sep-2011 Irfan Sheriff <isheriff@google.com> Rename WpsConfiguration to Wps

For the purpose of exposing the class as a storage for Wps
info with p2p, it is better to just call it Wps

Bug: 5247957
Change-Id: Iaebef958dd8f08fdbeb4b9d7fa5ad5527400710d
ifiP2pConfig.java
ifiP2pService.java
dff28d5293c16ac75f6db7a1c3b78fbaad1f2f6a 07-Sep-2011 Irfan Sheriff <isheriff@google.com> Handle state transition for p2p enable reject

Bug: 5265878
Change-Id: Ifd0ecb98876ffe098af06d67226f312d2a3d49c7
ifiP2pService.java
daf57e5ff495684f93d9ac2f5c5fc826a02f5f7a 06-Sep-2011 Irfan Sheriff <isheriff@google.com> Add notification when p2p is enabled

Bug: 5262278
Change-Id: I82890323c4e4e2952b4c9c9bc503856095d90c21
ifiP2pService.java
4be4d31f34a0fd0e23de1cbda311c07412f8d0b8 03-Sep-2011 Irfan Sheriff <isheriff@google.com> Fix p2p API interface to framework

- Update the WifiP2pGroup class
- Add reason code response for all failures
- Fix display of self in peer list
- Retain p2p group when explicitly created by API and fix join behavior

Bug: 5247957
Change-Id: Ibd9b163887db1c8a9dd8213253fda20c436a49e3
ifiP2pDeviceList.java
ifiP2pGroup.java
ifiP2pManager.java
ifiP2pService.java
9cc2718abc0152d79e3e8bf23be94ddd3cc9db87 01-Sep-2011 Irfan Sheriff <isheriff@google.com> Prepare for exposing p2p API

First part of documentation and cleanup before we can unhide
the p2p API for review by API council.

Bug: 5247957
Change-Id: Idb52f0b699d23e22aa829f60cfac2c98451d2e22
ifiP2pConfig.java
ifiP2pGroup.java
ifiP2pInfo.java
ifiP2pManager.java
9322687d98ec425da03cc10ab64ea19ad7fe2d69 29-Aug-2011 Irfan Sheriff <isheriff@google.com> Initialize p2p settings

And fix associated changes from the settings.

With p2p_reconnect setting turned on, it means the p2p group can be
started without a group negotiation. Hence, handle p2p group started in
the P2pEnabledState

Also, reinvocation results in supplicant not reporting device address correctly.
Handle that until supplicant fix is fixed.

Bug: 5002384

Change-Id: I335f6e854acd6839f54da9b460b17ad7505b1098
ifiP2pService.java
f42c39b3d188ebb3ba9003cffc530717829fe874 26-Aug-2011 Irfan Sheriff <isheriff@google.com> Use seperate config file for p2p

Keep p2p and sta config seperate to avoid conflicts.

Bug: 5002384
Change-Id: I8f8fc5f984f4f91f9ece4012bf536daa5cc00bba
ifiP2pService.java
859e7de2359420dcc5275bdce588b96dcc9203f0 25-Aug-2011 Irfan Sheriff <isheriff@google.com> Fix connection notification for group owner

Bug: 5002384
Change-Id: I099d6907787a0becf9363c3709efd8d4ec2a97af
ifiP2pService.java
ea5b16ac5751022de73e8f1225407eb01e7f1824 24-Aug-2011 Irfan Sheriff <isheriff@google.com> Update p2p state machine and API

- Simplify the API with minimal needed functionality
- Fix responses for all async messages from the framework
- Fix state machine handling of connection setup and supplicant communication

Change-Id: I2724c83760b2aaa2068f9cd81ca0754753f83220
ifiP2pConfig.java
ifiP2pDeviceList.java
ifiP2pInfo.aidl
ifiP2pInfo.java
ifiP2pManager.java
ifiP2pService.java
ifiP2pStatus.aidl
ifiP2pStatus.java
8c57bcdbc6b360ee27d59b957a53e64c03257c9d 19-Aug-2011 repo sync <isheriff@google.com> Fix device address and interface address usage

After a p2p group is formed, STA connect and disconnects come over
interface address. Figure out device address from interface address
and fix the device comparison

Bug: 5002384
Change-Id: I7d3aa4f0616e000550cd2b057adbac71cfd2adb4
ifiP2pDevice.java
ifiP2pService.java
2b8edd0c485f74067605c19983e3e7f44b20ec50 17-Aug-2011 repo sync <isheriff@google.com> Use supplicant control channel interface for p2p

Bug: 5002384
Change-Id: Id2131ef43a01288e84178a5b21d289b97db9d736
ifiP2pConfig.java
ifiP2pService.java
aea743aaa43a833fd8ff3dc56205197583152d5f 30-Jul-2011 repo sync <isheriff@google.com> P2p enhancements

- ConnectivityService interaction and support for running dhcp server
and client

- State machine enhancements for connectivity interaction

Change-Id: Iba3beb8c87554ffd67a7b7e852bbb4dd8666a4f5
ifiP2pManager.java
ifiP2pService.java
cb30b22ff507a5a9a5d9c584f8b082f5e96c4d02 30-Jul-2011 Irfan Sheriff <isheriff@google.com> Add firmware reload support for P2P

Refactor firmware reload call to support various modes - AP, STA & P2P

Bug: 5002384
Change-Id: I10d20fe5a7842437cf80861bc8a834990db87db5
ifiP2pService.java
f6d09845be2d58b1de7af9f6edc8b9ee216520a5 04-Aug-2011 Irfan Sheriff <isheriff@google.com> Fix p2p package paths

Split change Iba3beb8c which will not go in master to fix package paths

Bug: 5002384
Change-Id: I15072b65422fcdfe17c3f130d169258d60748012
ifiP2pService.java
55bc5f3e0408bcb5a39a6732de0b2d1aa99a55be 24-Jun-2011 repo sync <isheriff@google.com> Updated: Wi-Fi p2p framework

First stage. Get the bones in right now even though
we are not ready on the native side.

Once, we have things underneath working - we will further update the
framework

Change-Id: I4a7dab5cd4267373dc5f8989ae4122f91c384ed5
WifiP2pManager.aidl
ifiP2pConfig.aidl
ifiP2pConfig.java
ifiP2pDevice.aidl
ifiP2pDevice.java
ifiP2pDeviceList.aidl
ifiP2pDeviceList.java
ifiP2pGroup.aidl
ifiP2pGroup.java
ifiP2pManager.java
ifiP2pService.java
ifiP2pStatus.aidl
ifiP2pStatus.java