1039 Commits

Author SHA1 Message Date
Sky Faber
ae81483a15 Enable ability for secondary users to scan for networks, but not forget.
Bug: 15437477
Bug: 14676589
Change-Id: I3f1956265f4877b8c3cba138628b7393c393d175
2014-07-08 14:52:13 -07:00
roger.chang
833a6f3d1b Hotspot 2.0 - connect R1 used API to stateMachine(2/2)
Change-Id: I5a0b0873be51c06a015d508af2670d36008ca7f7
2014-07-08 10:01:54 -07:00
Yuhao Zheng
5f9385f7ea Add two Passpoint fields to WifiConfiguration
We need two new fields in WifiConfiguration for Hotspot 2.0:
requirePMF & updateIdentifier

Change-Id: I288fee7a413286c48eedd034a5aca60a40b831a8
2014-07-01 16:51:16 -07:00
Yuhao Zheng
1be1a134c8 Hotspot 2.0 fix launch browser method
Change-Id: I484b526fa92c4e3651e8fe6ae5614f22ba8134d4
2014-07-01 13:48:09 -07:00
Andres Morales
d96e4948da Merge "interface for nfc handover supplicant commands" 2014-06-25 17:34:05 +00:00
Jianzheng Zhou
78c8e7c8bf DO NOT MERGE refactor wifi p2p's startDhcpServer function
Add getTetheredDhcpRanges() interface and call it before calling
mNwService.startTethering() to update dhcp ranges. This will allow p2p app
to run well concurrently with other tethering app(e.g. usb tethering).

Change-Id: I5e8ffeb5d2d396f48b897cd9396f133e25ecca57
Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2014-06-23 21:02:45 +00:00
vandwalle
7610fa66cd add home network boost
Change-Id: I4b508b3f54304c0b3fea126c3905ed3322c2feee
2014-06-19 16:54:53 -07:00
vandwalle
d524c78d93 initial tuning
Change-Id: Iffe899225899e7805478a507ce270d537dc84abd
2014-06-18 20:25:54 -07:00
Yuhao Zheng
3bcbf38e7d Passpoint OSU bug fix + API rename
- OSU bug fix
- API rename

Change-Id: Ic4a09d53177e5c6a81269da7208841d4c6f02716
2014-06-17 12:56:02 -07:00
Andres Morales
9740e468bc interface for nfc handover supplicant commands
expose:
  NFC_GET_HANDOVER_SEL
  NFC_GET_HANDOVER_REQ
  NFC_REPORT_HANDOVER

These are used in for setting up WFD with NFC and
are only accessible given the CONNECTIVITY_INTERNAL
permission.

Change-Id: Ia43afc137d474822cad896d335530654081a808c
2014-06-16 08:12:47 -07:00
roger.chang
535e0fb806 Wifi Passpoint - add new API and change equals element
- add createWifiConfiguration()
- correct getHomeSp to isHomeSp
- add clientCert for equals function in TLS case

Change-Id: Ib8d563ec8937da5ef3673a31b2afd9a8856ec9bb
2014-06-16 10:22:43 -07:00
vandwalle
72d87d99b0 auto-roam fixes, disable scanning based on traffic at interface
Bug: 15575229
Bug: 15577651

Change-Id: Ia8914a90d803fd9e6ba9fa51efce50c7b7f1c692
2014-06-13 03:32:28 +00:00
Yuhao Zheng
0811cbee48 Merge "Wifi passpoint - linking APIs" 2014-06-12 03:30:50 +00:00
Yuhao Zheng
ef9ef71a77 Wifi passpoint - linking APIs
cherry-pick from kwd:

99d4cc Wifi Passpoint - linking credential match API
https://partner-android-review.googlesource.com/#/c/59247/

b5f5ef Wifi Passpoint - linking OSU API
https://partner-android-review.googlesource.com/#/c/59282/
2014-06-11 15:38:55 -07:00
Vinit Deshpande
daf215cf95 Support scanning using band specification instead of channels
This change enables scanning with band specification instead of channels,
this should ease app development.

Also includes a bug fix for parcel serialization/deserialization.

Change-Id: Idbffce4805b403bf8fe1efae999cb828e09c2420
2014-06-12 08:34:44 -07:00
Vinit Deshpande
e344cb2268 Fix an NPE in WifiScanner while reporting description
Change-Id: Ie9d12e19e0b8ca98c6ec4c6fa5222a2f28983e64
2014-06-12 08:34:44 -07:00
vandwalle
f980c53f86 reset counters when disconnecting
Change-Id: If19d97d481a93343cf9792ff77bf9926ae5c26a7
2014-06-11 17:21:22 -07:00
vandwalle
111fa0274d auto-roam initial implementation
Change-Id: Iad207974b2fea97420cc6131c5fa0a1f17bf2aac
2014-06-11 14:38:06 -07:00
vandwalle
2ab9089dfa remember and report network score
Change-Id: Iccb2ec603bc9c0d3cf1976d0cc3f343cb1096494
2014-06-09 14:50:47 -07:00
puff wen
e40348cf47 Add class CellularNetwork for plmn parsing and retrieve mcc and mnc.
Change-Id: Ic5d9c35ea8adcb432c7e601321050fbdfecc5fa7
2014-06-03 10:10:12 -07:00
vandwalle
0dcecc1cab Merge "handle removal of self added configurations" 2014-06-02 20:03:13 +00:00
vandwalle
2d0f71eea2 handle removal of self added configurations
Change-Id: Ib2891ac38a4a876b0cd4f198cf26198b9fc12909
2014-06-02 10:56:45 -07:00
Yuhao Zheng
7f28e844c1 More ANQP parsing
Change-Id: Ie24eeffa145f2a1bda0cd8e74a52103fdf4b7674
2014-06-02 10:49:53 -07:00
vandwalle
85382f1459 Merge "add uid and debug fields to wifiConfiguration" 2014-05-31 01:08:38 +00:00
vandwalle
8f13548615 add uid and debug fields to wifiConfiguration
Bug:15111865

Change-Id: I154214c08efe769495cc214cbf65f15d55d83a32
2014-05-30 18:06:58 -07:00
Yuhao Zheng
901b87d2c7 Merge "Hotspot 2.0 framework - Update implementation" 2014-05-31 00:51:17 +00:00
roger.chang
8dd64036cd Hotspot 2.0 framework - Update implementation
1. Change API naming
2. Combine 2 constructors
3. Add comments for usage

Change-Id: I13d98ed82879b46252bb86a7be7b0a5382024c72
2014-05-30 15:03:50 -07:00
Vinit Deshpande
55027bb7b8 Accomoditing API Review feedback for WifiScanner
cherry-picked from klp-wireless-dev
SHA1 8217e22356a8828a725ba7654cf25b05a49108fb

Main changes include

- hiding the API for LMP preview
- moved information elements to ScanResult object
- removed objects from events
- changed API names to be more consistent

Bug: 15191968
Change-Id: Ibe3907366aee85f7d56021a536ae0f9f9fb28b38
2014-05-30 08:47:07 -07:00
Yuhao Zheng
8a9eb81df1 Wifi Passpoint API change
- hide package android.net.wifi.passpoint
- extend android.net.wifi APIs for Passpoint credential management
  > hide for preview

Bug: 15191967
Change-Id: Ic90818cf5c91e93dd7890774543e08b842edc594
2014-05-29 16:18:36 -07:00
Yuhao Zheng
bd9af35597 Update Hotspot 2.0 SDK APIs
Change-Id: I0528b378219e03f896497127b5c4b191bf014141
2014-05-23 09:25:45 -07:00
Yuhao Zheng
7c28c36634 Update Hotspot 2.0 SDK APIs
- Add / fix java docs
- Add some setters in WifiPasspointCredential for update use

Change-Id: Ifc287ab9d69ea9e02bf036f22171947fde9ee94a
2014-05-22 22:41:13 -07:00
vandwalle
559486f081 revert change preventing NULL SSID in a WifiConfiguration
bug: 15114340

Change-Id: Ic66363fc7781a1d65e5b8647843a752c048145a1
2014-05-22 11:54:44 -07:00
vandwalle
3a74e2ef16 remember last supplicant failure
Change-Id: I644d32d08491ea0c32cb36820d2720da027a49d0
2014-05-21 21:21:00 -07:00
vandwalle
5fb7bf5fdb make verbose logging a wifimanager hidden API
Change-Id: I325f6ea9f1a6c16dbee9aca641cad7ed3bcd7d2c
2014-05-21 20:24:35 -07:00
vandwalle
2a2dace665 Merge "various autojoin fixes" 2014-05-21 21:05:45 +00:00
vandwalle
d3adb7e816 various autojoin fixes
Change-Id: I96acd02764a6fd7c8482ab82bd7e33280b90a577
2014-05-21 10:54:25 -07:00
Vinit Deshpande
674ca8a1f4 Make Wifi WPS API available on application layer
Un-hide WPS methods (and required interface classes, etc.) of WifiManager to
enable Apps to start/stop the WPS procedure, add a patch for WPS method
KEYPAD to avoid early failure callbacks. (Methods PBC, DISPLAY, KEYPAD
tested on 4.4.2_r2.)

Change-Id: I25aafdc4b637c87d754d4fdb70e40a34a569b738
Signed-off-by: Olaf Stoyke <o.stoyke@avm.de>
2014-05-20 22:26:19 -07:00
Roger Chang
7fee7232ee Hotspot 2.0 framework - add implementation
Bug: 5485670
Change-Id: I4d0f728f4c20676232f2d61bbf49691f6e21a100
2014-05-20 18:25:56 -07:00
Jaewan Kim
6346155c5a Move IP config from WifiConfiguration to IpConfiguration.
This is so that Ethernet can use it in the future.

Bug: 7606609
Bug: 8687763

Change-Id: I5d1189682b13f1088848809604690648d8d9ecca
2014-05-20 15:24:10 -07:00
Vinit Deshpande
c101b1c90b Implement onPeriodChanged and multiple scans of same channels
This change fixes multiple scans of same channels; and it generates
onPeriodChanged event.

cherry-picked from partner:klp-wireless-dev
SHA1 950564a305865cc0ae2bc528479ea6922efbb898

Bug: 15000051
Change-Id: I06a4ecc9d45eda4984de50b97b39f623dd0b26d1
2014-05-19 15:29:43 -07:00
Vinit Deshpande
ff251510b4 Fix docs build break in passpoint manager
Change-Id: I045a361d3a5c3f55c77dd33271892e50f275ab0d
2014-05-18 09:41:36 -07:00
vandwalle
b914c3343f introducing link layer
Change-Id: Ie949d5edf07ef538fff815d9600a02565658ee7e
2014-05-18 09:41:36 -07:00
Vinit Deshapnde
fdb2575a80 Fix doc build - ScanResult is exposing PassointInfo which is still hidden
Hiding the passpoint information for now.

Change-Id: Ic3cbb84d251478af687d9d46e2276115c8ebef18
2014-05-18 09:41:35 -07:00
Vinit Deshapnde
8ca0339ddb Enable more features on WifiScanner
This change enables full scan results and allows overriding wifichange
configuration. There are also minor API changes take relavent parameters.

Change-Id: I6ebcb49f64bd8bc9e5e0c88c3b56eb634783524e
2014-05-18 09:41:35 -07:00
Yuhao Zheng
0c78205e66 Hotspot 2.0 framework API -- more functionalities
- Added resolution parameter for requestOsuIcons()
- Added ANQP parser (OSU provider list only)

Bug: 5485670
Change-Id: I69f6fd2ce6f80980ad786c2a3833cca8279771b3
2014-05-18 09:41:35 -07:00
Yuhao Zheng
a486447231 Hotspot 2.0 framework APIs -- initial implementation
Cherry-picked from klp-wireless-dev-mirror
SHA1: e73969fac45aaca72528226dc8c0c5e54fb2cdd4

Bug: 5485670
Change-Id: If3250a2fae181a3774d3158e341220006ad6ebe5
2014-05-18 09:41:35 -07:00
Vinit Deshapnde
1ab9cc8029 Unhide the WifiScanner API
This change also adds java docs where needed.

Change-Id: I1b7e56e31d460bc773dab9603fbebacf7c439e60
2014-05-18 09:41:34 -07:00
Navtej Singh Mann
94f77dbb02 Fixed bypass of ConnectivityInternal permission
Removed public function 'getWifiStateMachineMessenger' of
WifiManager to fix bypass of ConnectivityInternal permission
by application, which is security concern

Bug: 13749822

Change-Id: I3ae73e33b77ee8ae0133ca9dc8cc03c504f09e40
2014-05-18 09:41:34 -07:00
vandwalle
13f48ffab8 autojoin fix for devices which are using the enableNEtwork API
Bug: 15000352

Change-Id: Ib8b5dfd517e48444913f0ad0e5d08749d6eaa757
2014-05-15 23:27:00 +00:00
vandwalle
e50869df0d autojoin is to eager to black list networks due to connection failure
Bug: 14834820

Change-Id: If2862ce09faf583d25cac7713c619975713ccd95
2014-05-15 20:36:25 +00:00