466 Commits

Author SHA1 Message Date
Jeff Smith
440f32bbd4 am ddd88726: am 71930dd7: am a45746ef: Fix several cases of broken droiddoc syntax external issue 35214
* commit 'ddd88726a247e4100cb62b3dc9d0887ca2ae2ec4':
  Fix several cases of broken droiddoc syntax external issue 35214
2012-07-25 22:13:40 -07:00
Jeff Smith
ddd88726a2 am 71930dd7: am a45746ef: Fix several cases of broken droiddoc syntax external issue 35214
* commit '71930dd77e4dc6f6be5c648019d2ab0da5f0584c':
  Fix several cases of broken droiddoc syntax external issue 35214
2012-07-25 15:05:23 -07:00
Jeff Smith
71930dd77e am a45746ef: Fix several cases of broken droiddoc syntax external issue 35214
* commit 'a45746efadd11bb7dfab026fb3c81a25fae74ca4':
  Fix several cases of broken droiddoc syntax external issue 35214
2012-07-25 10:56:03 -07:00
Jeff Smith
a45746efad Fix several cases of broken droiddoc syntax
external issue 35214

patch contributed by Jeff Smith <whydoubt@yahoo.com>

Change-Id: I70dcee88a140699bf3e1ab369bed6dcd2fdd3d83
2012-07-25 10:49:25 -07:00
Irfan Sheriff
88759bbd31 Update WifiManager API
Use feedback based on NSD to update WifiManager API

Change-Id: I0c1dc74f7e2fa7cd697a995b7194e3e0366d7981
2012-07-24 13:34:36 -07:00
Irfan Sheriff
dfd42a9bbc Ignore auth failures during WPS
During WPS, EAP failure occurs many times due to searching
external registrar. EAP failure can also occur after WPS-success.
WPS failures are handled through seperate events, ignore auth failures.

Change-Id: I6a051398d306250510536d157bf812b5a434c84b
Signed-off-by: Irfan Sheriff <isheriff@google.com>
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
2012-07-02 15:31:27 -07:00
Wink Saville
095c58b73a 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
2012-07-02 10:57:11 -07:00
Irfan Sheriff
55b9821dff Move ARP test functionality to ArpPeer
Change-Id: Iecd6037cf8e0faa626ba6c27cef014822a6bc61b
2012-06-21 15:08:29 -07:00
Irfan Sheriff
90542758d4 Cleanup softap interface to netd
Change-Id: I01e6c5b5a5a8ddaf05b979f9cc6d1293c86e8773
2012-06-19 16:21:22 -07:00
Irfan Sheriff
b81bb9b408 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>
2012-06-11 15:48:50 -07:00
Irfan Sheriff
df3bec04de am efcc0ca7: am 4206ee2b: Merge "Fix clear services API" into jb-dev
* commit 'efcc0ca7545190f49bcbc25182d83b21aa01b2aa':
  Fix clear services API
2012-06-08 14:08:23 -07:00
Irfan Sheriff
96aa0db9a9 Fix clear services API
BUg: 6631291
Change-Id: I9cee827b5eb78e356fdf86390103136f5610dd3e
2012-06-08 09:24:33 -07:00
Irfan Sheriff
4d7d5268ba am 2654105b: am ca96a322: Merge "Update group capability before connect" into jb-dev
* commit '2654105b15d8da5ad4fd84eef7e2c3f662373283':
  Update group capability before connect
2012-06-06 15:59:15 -07:00
Irfan Sheriff
57e42f4117 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
2012-06-06 15:00:31 -07:00
Irfan Sheriff
b1ebee8ac7 am 7742b91c: am 1b3dcd3b: Merge "Fix NPE while creating autonomous GO" into jb-dev
* commit '7742b91c7e05c85801a03c36fb2f799703e82b9b':
  Fix NPE while creating autonomous GO
2012-06-02 08:20:32 -07:00
Irfan Sheriff
ba5065eaf3 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
2012-06-01 12:47:30 -07:00
Irfan Sheriff
39150720c0 am 39b79e79: am ce9b5c76: Merge "Fix walled garden detection on nakasi" into jb-dev
* commit '39b79e79d3ad9e98a9c76c1b104599be494213f6':
  Fix walled garden detection on nakasi
2012-05-31 11:35:31 -07:00
Irfan Sheriff
ce9b5c7611 Merge "Fix walled garden detection on nakasi" into jb-dev 2012-05-31 11:28:36 -07:00
Irfan Sheriff
ae094b2715 Fix walled garden detection on nakasi
Bug: 6576101
Change-Id: Iad2ea67e54662cd30a0e7425dab2a6174d13d152
2012-05-31 11:11:23 -07:00
Wink Saville
4b5d3a2639 Merge "Enhance StateMachine Quitting and logging support." 2012-05-29 14:22:50 -07:00
Wink Saville
bbf30dfd76 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
2012-05-29 12:40:46 -07:00
Irfan Sheriff
e2417b7a6e Merge "Retain device during connecting state" into jb-dev 2012-05-25 15:13:27 -07:00
Irfan Sheriff
9cb980422a 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
2012-05-25 12:52:34 -07:00
Irfan Sheriff
da87c7c1ee Merge "Fix delayed wifi shutdown" into jb-dev 2012-05-25 10:31:46 -07:00
Vishal Mahaveer
f48fb85a8c Fix delayed wifi shutdown
Use a wake up alarm to ensure delayed shut down message is sent

Bug: 5926285
Change-Id: I26a3353ddabb17d55299d8b5f9faf4c7ef5b2448
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
2012-05-24 22:49:58 -07:00
Irfan Sheriff
4dd5a25a32 Add WPS details for certification
We need to provide device details to the supplicant for WPS 2.0 certification

Bug: 6450363
Change-Id: I3eb8bc75faacf392a43b6ef3085971bd32a675ac
2012-05-22 13:15:00 -07:00
Irfan Sheriff
f74f1ac81d Merge "Add work around to restart driver on failure" into jb-dev 2012-05-14 17:00:17 -07:00
Irfan Sheriff
f91d4e7bdd Add work around to restart driver on failure
A driver start can fail and device can stay stuck in that state.
Add a work around to retry once after a period of time and then
reload wifi if that does not work.

Bug: 6005966
Change-Id: I930554ac96ac25da2a38e49630d375656e32f6f6
2012-05-14 16:21:10 -07:00
Kenny Root
c559e3b7f4 Merge "Add in constant for WPA supplication settings" into jb-dev 2012-05-11 15:49:22 -07:00
Irfan Sheriff
ba1db8a591 Merge "Fix wifi direct issues" into jb-dev 2012-05-11 14:46:46 -07:00
Irfan Sheriff
10ca870d3b 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
2012-05-11 13:39:29 -07:00
Kenny Root
343331fa02 Add in constant for WPA supplication settings
This constant indicates what should be sent when a wpa_supplicant's
engine field should be marked as "disable."

Bug: 6480500
Change-Id: Ic963eff4b2ae1496f06e23f80514bf530767c568
2012-05-11 09:07:53 -07:00
Irfan Sheriff
9e1b58a123 Merge "Tone down poor connection avoidance" into jb-dev 2012-05-09 17:27:14 -07:00
Irfan Sheriff
0a2a91e878 Tone down poor connection avoidance
Until we figure out a way to compare a poor mobile network
against and poor wifi network and then weighing in other factors,
tone down wifi avoidance aggressiveness

Bug: 6456541
Change-Id: Idc81e4d83f47c9870abbdb4359ddfeaffdcca838
2012-05-09 17:06:26 -07:00
Irfan Sheriff
527ba07b63 Use Map for DnsSd TXT record
Bug: 6434844
Change-Id: I767077585f501b46026ed34ec3e778d3e53209cc
2012-05-09 16:25:00 -07:00
Irfan Sheriff
531522c7fe Merge "Report open networks without saved networks" into jb-dev 2012-05-03 09:42:06 -07:00
Irfan Sheriff
027828bff7 Report open networks without saved networks
The supplicant stops periodic scans when there are no saved networks.
The framework needs to have a periodic scan to handle this scenario.

We do have an infrequent wake up scan (15 mins), but thats way too
slow to report an open network.

Setup a scan by the supplicant interval when there are no saved
networks

Bug: 5420656
Change-Id: Id3708ecc874b42971643cc747bb9e7f2efc7d1dd
2012-05-02 17:51:26 -07:00
Irfan Sheriff
04e83d3952 Merge "Fix reference counting of wifi locks" into jb-dev 2012-05-02 16:25:34 -07:00
Irfan Sheriff
2c02da2bc6 Fix reference counting of wifi locks
Bug: 6105898
Change-Id: I7368de91fa4aa63fd97dda0ee91d810aaaa53d8b
2012-05-02 14:40:16 -07:00
Irfan Sheriff
d07223f829 Merge "Fix getConfiguredNetworks when wifi is disabled" into jb-dev 2012-05-02 11:42:09 -07:00
Irfan Sheriff
a3cbe75c93 Fix getConfiguredNetworks when wifi is disabled
Bug: 6380917
Change-Id: I4c6f1a379ef2401cde739aedfc82578c03e7dcf3
2012-05-02 11:39:54 -07:00
Irfan Sheriff
de1e9fa9fb 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>
2012-05-02 10:02:56 -07:00
Irfan Sheriff
8e8798d90a Merge "Fix connect & save of invalid networks" into jb-dev 2012-04-30 15:51:40 -07:00
Irfan Sheriff
b3e96c527b Fix connect & save of invalid networks
Ensure SSID is not null for a new network being added

Bug: 6411912
Change-Id: I26467810bf10b7325c04677c1d0e5ff1cfb4a09e
2012-04-30 12:05:45 -07:00
Irfan Sheriff
83a708e6ad Merge "Handle null SSID cleanly" into jb-dev 2012-04-28 10:51:34 -07:00
Irfan Sheriff
00a10a1494 Handle null SSID cleanly
Bug: 6411912
Change-Id: I12f9df403c9633d928d898ae675ce36303dda1a8
2012-04-27 21:24:17 -07:00
Irfan Sheriff
d8e0831b50 Merge "Recover immediately from driver hang" into jb-dev 2012-04-27 14:44:35 -07:00
Irfan Sheriff
a5ab608295 Merge "Switch to standard commands for pno & power save" into jb-dev 2012-04-27 14:44:26 -07:00
Irfan Sheriff
b678320cfa Recover immediately from driver hang
A firmware crash can now put the interface down without notifiying the framework.
We detect this and recover immediately.

Bug: 6263857
Change-Id: Ib2dc0412fcdf9ce7b90a7fc0fab778f7af9c0513
2012-04-27 13:35:07 -07:00
Irfan Sheriff
e2639d782e Switch to standard commands for pno & power save
Remove DRIVER commands and switch to cfg based commands

Bug: 6318223
Change-Id: I5e21c4bb554c2992a52fd3c1741629645b22ae43
2012-04-27 13:01:04 -07:00