summaryrefslogtreecommitdiffstats
path: root/wifi
Commit message (Collapse)AuthorAgeFilesLines
* Merge "DO NOT MERGE - Wifi Passpoint API change" into lmp-preview-devYuhao Zheng2014-05-303-1/+27
|\
| * DO NOT MERGE - Wifi Passpoint API changeYuhao Zheng2014-05-293-1/+27
| | | | | | | | | | | | | | | | | | - hide package android.net.wifi.passpoint - extend android.net.wifi APIs for Passpoint credential management > hide for preview Bug: 15191967 Change-Id: Ic90818cf5c91e93dd7890774543e08b842edc594
* | DO NOT MERGE: Revert "Make Wifi WPS API available on application layer"Vinit Deshpande2014-05-292-8/+14
|/ | | | | | | | | | This reverts commit 1f3b490645f7c14459ac6f864eaf742448f7b764. This is to hide WPS API for developer preview. They may get activated again later. Bug: 15191968 Change-Id: I21dbd5cd0345fbb2e55603d6b2af23d83d9c2ae2
* DO NOT MERGE: revert change preventing NULL SSID in a WifiConfigurationvandwalle2014-05-281-2/+0
| | | | | | | bug: 15114340 Change-Id: Ic66363fc7781a1d65e5b8647843a752c048145a1 (cherry picked from commit 7aa05179b970e9f1346374f1e506a2cfeaff060a)
* remember last supplicant failurevandwalle2014-05-211-0/+8
| | | | Change-Id: I644d32d08491ea0c32cb36820d2720da027a49d0
* make verbose logging a wifimanager hidden APIvandwalle2014-05-214-6/+94
| | | | Change-Id: I325f6ea9f1a6c16dbee9aca641cad7ed3bcd7d2c
* Merge "various autojoin fixes"vandwalle2014-05-211-1/+7
|\
| * various autojoin fixesvandwalle2014-05-211-1/+7
| | | | | | | | Change-Id: I96acd02764a6fd7c8482ab82bd7e33280b90a577
* | Make Wifi WPS API available on application layerVinit Deshpande2014-05-202-14/+8
| | | | | | | | | | | | | | | | | | | | 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>
* | Hotspot 2.0 framework - add implementationRoger Chang2014-05-2017-399/+2579
|/ | | | | Bug: 5485670 Change-Id: I4d0f728f4c20676232f2d61bbf49691f6e21a100
* Move IP config from WifiConfiguration to IpConfiguration.Jaewan Kim2014-05-201-63/+60
| | | | | | | | | This is so that Ethernet can use it in the future. Bug: 7606609 Bug: 8687763 Change-Id: I5d1189682b13f1088848809604690648d8d9ecca
* Implement onPeriodChanged and multiple scans of same channelsVinit Deshpande2014-05-191-0/+3
| | | | | | | | | | | 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
* Fix docs build break in passpoint managerVinit Deshpande2014-05-181-1/+1
| | | | Change-Id: I045a361d3a5c3f55c77dd33271892e50f275ab0d
* introducing link layervandwalle2014-05-181-0/+189
| | | | Change-Id: Ie949d5edf07ef538fff815d9600a02565658ee7e
* Fix doc build - ScanResult is exposing PassointInfo which is still hiddenVinit Deshapnde2014-05-181-0/+1
| | | | | | Hiding the passpoint information for now. Change-Id: Ic3cbb84d251478af687d9d46e2276115c8ebef18
* Enable more features on WifiScannerVinit Deshapnde2014-05-181-3/+105
| | | | | | | This change enables full scan results and allows overriding wifichange configuration. There are also minor API changes take relavent parameters. Change-Id: I6ebcb49f64bd8bc9e5e0c88c3b56eb634783524e
* Hotspot 2.0 framework API -- more functionalitiesYuhao Zheng2014-05-184-25/+147
| | | | | | | | - Added resolution parameter for requestOsuIcons() - Added ANQP parser (OSU provider list only) Bug: 5485670 Change-Id: I69f6fd2ce6f80980ad786c2a3833cca8279771b3
* Hotspot 2.0 framework APIs -- initial implementationYuhao Zheng2014-05-1814-60/+1096
| | | | | | | | Cherry-picked from klp-wireless-dev-mirror SHA1: e73969fac45aaca72528226dc8c0c5e54fb2cdd4 Bug: 5485670 Change-Id: If3250a2fae181a3774d3158e341220006ad6ebe5
* Unhide the WifiScanner APIVinit Deshapnde2014-05-181-26/+144
| | | | | | This change also adds java docs where needed. Change-Id: I1b7e56e31d460bc773dab9603fbebacf7c439e60
* Fixed bypass of ConnectivityInternal permissionNavtej Singh Mann2014-05-182-14/+0
| | | | | | | | | | Removed public function 'getWifiStateMachineMessenger' of WifiManager to fix bypass of ConnectivityInternal permission by application, which is security concern Bug: 13749822 Change-Id: I3ae73e33b77ee8ae0133ca9dc8cc03c504f09e40
* autojoin fix for devices which are using the enableNEtwork APIvandwalle2014-05-151-1/+21
| | | | | Bug: 15000352 Change-Id: Ib8b5dfd517e48444913f0ad0e5d08749d6eaa757
* autojoin is to eager to black list networks due to connection failurevandwalle2014-05-151-1/+11
| | | | | Bug: 14834820 Change-Id: If2862ce09faf583d25cac7713c619975713ccd95
* Enabling internal msg apisRobert Greenwalt2014-05-141-314/+0
| | | | | | | | | | | NetworkFactory and NetworkAgent. First trying with wifi and getting rid of WifiStateTracker. Conflicts: api/current.txt services/core/java/com/android/server/ConnectivityService.java Change-Id: I7f0ec13d7d8988b32f3c6dc71f72012f3349fe02
* Replace LinkCapabilities with NetworkCapabilitiesRobert Greenwalt2014-05-122-20/+8
| | | | | | | Also remove unused LinkSocket and LinkSocketNotifier. bug:13885501 Change-Id: Id426e31b201fa4f29109b5fea485d8efb34519d3
* Don't crash when asked to enable an AP with a null SSID.vandwalle2014-05-091-0/+6
| | | | | | | | | | WifiConfiguration can have been build by an app with a NULL SSID, or other null fields. We need to verify that at least that those fields are not NULL before using them. More specifically, don't crash when enabling an AP with a null SSID in setApConfiguration function. Bug: 14568953 Change-Id: I6b33ddf97789c0ee4b850d3ec0bccb08100c21d5
* Initial implementation of WifiScannerVinit Deshapnde2014-05-073-0/+618
| | | | | | | | | | | This change implements basic functionality of WifiScanner. Following functionality is enabled 1. Scanning - specify a list of channels to scan 2. Significant change detection 3. AP hotlist Change-Id: Ieef75b96bdbbd3c7d9b9e698bd16e64d3b465254
* initial Best Network Selection implementationvandwalle2014-05-072-2/+261
| | | | | | | | | | | | | | | | -add dhcpserver, defaultGwMAC address, linked configuration and user choices link lists to WiFiconfiguration -add default gateway mac address to RouteInfo -add a Date to the ScanResult -add BSSID date to the WifiConfiguration - make framework auto-join into a config option - add Settings option for showing RSSI in Wifi picker view; add auto-join specific status to WifiConfiguration Change-Id: I5cfc4f2a48c9f3bc9766e8e68e24eff7b57f2821 Changes to be committed: modified: core/java/android/provider/Settings.java modified: wifi/java/android/net/wifi/ScanResult.java modified: wifi/java/android/net/wifi/WifiConfiguration.java
* Merge "Revert "Refactor IpConfiguration from WifiConfiguration""Jaewan Kim2014-04-071-12/+73
|\
| * Revert "Refactor IpConfiguration from WifiConfiguration"Jaewan Kim2014-04-071-12/+73
| | | | | | | | | | | | This reverts commit 1284767ceb1affa6d5af77fd26ccf7322df48a6d. Change-Id: Ibccea84e5dc44c1b8954779660e0721b27f762d4
* | Merge "Refactor IpConfiguration from WifiConfiguration"Jaewan Kim2014-04-071-73/+12
|\ \ | |/
| * Refactor IpConfiguration from WifiConfigurationJaewan Kim2014-04-071-73/+12
| | | | | | | | | | Bug: 7606609, Bug: 8687763 Change-Id: I736eb3c73a8ffc8f137a04a5ea66ee564dc2b530
* | Merge "Add calls for NFC WSC token creation"Andres Morales2014-04-042-0/+17
|\ \
| * | Add calls for NFC WSC token creationAndres Morales2014-01-312-0/+17
| | | | | | | | | | | | | | | | | | | | | Expose interface for generating Wifi Simple Configuration tokens from supplicant. Change-Id: Ie310a32f529c0330340e045aee561dc434aeee3e
* | | Use correct wifi batching parameter ranges.Wei Wang2014-04-011-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Note these are slightly adjusted capabilities of N5. Cherry pick. Change-Id: Ia6888f6a5a69d135ff7e3c87d9744e18265fb3bf
* | | Clean up two wifi javadoc commentsBrian Williammee2014-03-312-5/+3
| | | | | | | | | | | | | | | | | | Remove references to TI drivers, and unnecessary uncertainty. Change-Id: I74a01357264338df7c513684c6c752d1edb4ea4d
* | | Wifi hotspot stack initial hook upYuhao Zheng2014-03-252-0/+76
| |/ |/| | | | | | | | | | | | | | | Add a dummy wifi hotspot service for futher development use. This is to resolve the different between master branch and kwd branch, such that future development can go into kwd and being auto-merged to master. bug: 5485670 Change-Id: Ica58de445dd050a9f0b817f8e4accaa2478299c5
* | Merge "Add new API to scan a given channel set"Yuhao Zheng2014-02-276-4/+272
|\ \
| * | Add new API to scan a given channel setYuhao Zheng2014-02-186-4/+272
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create new (hidden) APIs to scan a specified channel set. This is mainly for location service for now, as doing frequent full scans (including DFS channel) kills battery. This set of new APIs contains: - API to query available channel list for scanning, and DFS channels are marked - API to scan a specified channel set Selective scan results are returned in the same way as normal full scan ones. In order not to intrude full scan results, BSS_FLUSH is NOT performed before a selective scan. Therefore, selective scan results may contain results that's not in the given channel set, and post-filtering may be required for location service use. Bug: 12610436 Change-Id: Icced18dd9b54f6dd92c0c2874d31518d56af8163
* | Added support for WiFi frequency on WifiInfo (getter, settter, and frequency ↵Felipe Leme2014-02-051-1/+24
|/ | | | | | | | constant). Bug: 12767819 Change-Id: Ib4a03919d9100861e993c733b7e478dc93dffaae
* Move Wifi/P2p service components under servicesVinit Deshapnde2013-12-1119-13239/+145
| | | | | | | | | | Some methods need to be public, since frameworks/base complies before frameworks/base/services; and services takes build dependency on base. Similar issue exists with WifiEnterpriseConfig constants. Bug: 9907308 Change-Id: Ied0e3dee0b25c939067dbc66867a9814b3b3b68e
* wifi: P2P: Fix WFD subelement parsingDmitry Shmidt2013-12-111-1/+1
| | | | | Change-Id: Ifd802b59266760fb570fee28a6c34339a7f9fa01 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* am 263c4788: am 30253d7a: am 2daa0c93: Merge "Add address flags and scope to ↵Lorenzo Colitti2013-12-091-10/+11
|\ | | | | | | | | | | | | LinkAddress." * commit '263c4788dcf45f104f8668fd6621d1a7c39689b9': Add address flags and scope to LinkAddress.
| * Merge "Add address flags and scope to LinkAddress."Lorenzo Colitti2013-12-071-10/+11
| |\
| | * Add address flags and scope to LinkAddress.Lorenzo Colitti2013-12-061-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is necessary so that the framework can know whether an IPv6 address is likely to be usable (i.e., if it's global scope and preferred). Also, it will simplify the address notification methods in INetworkManagementEventObserver, which currently take the address, the flags, and the scope as separate arguments. 1. Add flags and scope to the class and update the unit test. Use the IFA_F_* and RT_SCOPE_* constants defined by libcore. Since most callers don't know about flags and scope, provide constructors that default the flags to zero and determine the scope from the address. Addresses notified by the kernel will have these properly set. Make multicast addresses invalid. Update the class documentation. 2. Provide an isSameAddressAs() method that compares only the address and prefix information between two LinkAddress objects. This is necessary because an interface can't have two addresses with the same address/prefix but different flags. 3. Update LinkProperties's addLinkAddress and removeLinkAddress to identify existing addresses to add/remove using isSameAddressAs instead of implicit equals(). Specifically: - If addLinkAddress is called with an address that is already present, the existing address's flags and scope are updated. This allows, for example, an address on an interface to go from preferred to deprecated when it expires, without it having to be removed and re-added. - If removeLinkAddress is called with an address that is present but with different flags, it deletes that address instead of failing to find a match. 4. Update the INetworkManagementEventObserver address notification methods to take just a LinkAddress instead of LinkAddress, flags, and scope. While I'm at it, change the order of the arguments for consistency with the other functions in the interface. Change-Id: Id8fe0f09a7e8f6bee1ea3b52102178b689a9336e
| * | Merge commit 'bac61807d3bcfff957b358cb9ad77850bd373689' into HEADThe Android Open Source Project2013-12-056-40/+138
| |\ \ | | |/ | |/| | | | Change-Id: I29374270c8e0c2f2859efaf1d55af9f73da0f8d7
* | | am 4806fdfb: am f226bc60: Merge "Use LinkAddress in address notifications."Lorenzo Colitti2013-12-021-4/+4
|\ \ \ | | | | | | | | | | | | | | | | * commit '4806fdfbd0fecf91584396fc0f620c97a05ab837': Use LinkAddress in address notifications.
| * \ \ am f226bc60: Merge "Use LinkAddress in address notifications."Lorenzo Colitti2013-11-261-4/+4
| |\ \ \ | | |/ / | | | / | | |/ | |/| * commit 'f226bc606af9ce5aceff6b05fc4b0200c94cb248': Use LinkAddress in address notifications.
| | * Use LinkAddress in address notifications.Lorenzo Colitti2013-11-261-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently address{Updated,Removed} pass in the address as a string such as "fe80::1/64". Use LinkAddresses instead, since that's what it is. This makes the code more robust in the unlikely case that netd passes in an invalid string. In the future we can move flags and scope into the LinkAddress itself and simplify the code further. Bug: 9180552 Change-Id: I66599f9529cf421caa7676fdd0141bb110b8589e
* | | Remove unused imports from frameworks/base.John Spurlock2013-11-2011-35/+0
| | | | | | | | | | | | Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
* | | Merge "Refactor WifiEnterpriseConfig and move service part in WifiConfigStore"Vinit Deshapnde2013-11-192-338/+376
|\ \ \