summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/wifi
Commit message (Collapse)AuthorAgeFilesLines
* WLAN configuration (static address): reject IPv6 addresses.Darren Salt2013-04-281-4/+15
| | | | | | | | | | | | | | | | | | | Without this, entering an IPv6 address as the interface address (or possibly also others, such as gateway address) will, on connection to that WLAN, trigger an uncaught exception: *** FATAL EXCEPTION IN SYSTEM PROCESS: WifiStateMachine java.lang.IllegalArgumentException: command '59 interface setcfg wlan0 2001:db8::ffff 24 up' failed with '501 59 Flag unsupported' at com.android.server.NetworkManagementService.setInterfaceConfig(NetworkManagementService.java:546) at android.net.wifi.WifiStateMachine$ObtainingIpState.enter(WifiStateMachine.java:3449) at com.android.internal.util.StateMachine$SmHandler.invokeEnterMethods(StateMachine.java:958) [etc.] followed by a restart of the UI then another connection attempt. So long as the misconfigured-for AP is present (and preferred?), this will continue to happen. Change-Id: I524480339c37ad079fd21d90a6b1fc5864089cb5
* Wifi: Add frequency selection for new IBSSBruno Randolf2013-04-134-7/+55
| | | | | | | Allow users to select a frequency for newly created Ad-Hoc (IBSS) networks, and show the frequency for existing IBSS. Change-Id: Icaa09c9386967fdf0a88865ff2e64cc9b219da1f
* Wifi: Enable IBSS options only if IBSS is supportedBruno Randolf2013-03-244-7/+22
| | | | | | | | | | | | Show IBSS network options only if IBSS mode is supported by the Wifi driver. This makes use of the new API isIbssSupported() of WifiManager. We have to be careful to make the query only after we reached WIFI_STATE_ENABLED. WifiSettingsForSetupWizardXL is left out because it does not handle these states. Change-Id: I072c5cc6ed36305806b469cf05c4786d22bfd418
* Wifi: Allow configuration of Ad-Hoc (IBSS) networksBruno Randolf2013-03-243-15/+43
| | | | | | | | | Show Ad-Hoc (IBSS) networks in the list of available Wi-Fi networks and allow to connect to or create new Ad-Hoc (IBSS) networks. This requires the IBSS changes in frameworks/base and external/wpa_supplicant_8 Change-Id: Ie44c47753100bbf8e691446e69b8d31659f64e3b
* Merge commit 'android-4.2.2_r1' into mr1.1-stagingRicardo Cerqueira2013-02-151-9/+27
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: AndroidManifest.xml res/values-de/strings.xml res/values-el/strings.xml res/values-es/strings.xml res/values-fi/strings.xml res/values-hu/strings.xml res/values-it/strings.xml res/values-iw/strings.xml res/values-nl/strings.xml res/values-ru/strings.xml res/values-zh-rCN/strings.xml res/values/strings.xml src/com/android/settings/ChooseLockGeneric.java src/com/android/settings/ChooseLockPatternTutorial.java src/com/android/settings/DeviceInfoSettings.java src/com/android/settings/Settings.java Change-Id: I275be467a401ad6dcc7966924358a5adb0773b75
| * Fix wifi compareToIrfan Sheriff2012-12-131-9/+27
| | | | | | | | | | Bug: 7521354 Change-Id: I8d77594dacb56f17126f0e33ff6e47379f615d40
* | Wi-Fi: Manage Wi-Fi AP prioritiesJorge Ruesga2013-01-262-0/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | AOSP has a basic LRU priority for Wi-Fi networks (last connected has more priority). This changes added the ability of graphically set the priority of any of the configured Wi-Fi networks through Settings -> Wi-Fi -> Advanced Settings -> Wi-Fi priority. Patchset 2: Move WiFiPriority from cyanogenmod folder to wifi folder Remove double quotes in SSID name Patchset 3: Fixed code issues Change-Id: Ief590e799cdb7ef760b631d0b22d9719f867393f Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | Settings: RTL layout fixesOr Harambam2013-01-191-1/+1
| | | | | | | | | | | | | | | | | | | | Replaced Left with Start, and Right with End to fit Google's new RTL API. Replaced setPadding with setPaddingRelative (which uses Start and End instead of Left and Right) around switches to make them look right in RTL UIs Added RTL Support to LinearColorBar in order to make App Management's storageBar compatible with the RTL UI. Reversed App Management's ViewPager in RTL langs Fastscroll aligned to the left Change-Id: I495f4794a9861fa01692d766ef86f4fdd8e4b38d
* | Revert "Patch Set 2/2: Add an "Automatically Connect" option for WiFi networks"David van Tonder2013-01-142-30/+0
| | | | | | | | | | | | | | | | This commit breaks 3rd party apps like Tasker. It is being reverted until a better solution can be found. This reverts commit 3d3d0a374d3c2194701a8be4a2d926f47576f5fa Change-Id: I31689838ec8be4aa33036ea75794cfbb7a69d109
* | Patch Set 2/2: Add an "Automatically Connect" option for WiFi networksian2013-01-082-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | Relies on: http://review.cyanogenmod.org/28529 Allows the ability for a user to determine whether to connect to an SSID automatically. e.g. At work, there are several SSIDs with long, complex keys. I don't want to connect to them all of the time, but would like them to be remebered. The default behaviour is to allow automatic connection, as it is today. Patch set 2 : Fix capitalization & whitespace Change-Id: I0f0aa64498115e3e1058f73113d37df63ab72d60
* | wifi: Allow configuration of country code for wifiAndrew Dodd2012-12-191-0/+22
|/ | | | | | | | | | | | | | | | | | | Wifi country code handling is a nightmare - Most retail devices have region customization in /system for each country a device is shipped to. This doesn't work very well for a firmware like Cyanogenmod, where we try to support all target countries with one firmware package. For whatever reason, with newer Broadcom drivers/ firmware blobs, the old trick of using a universal region code (ccode=ALL in nvram_net.txt) does not seem to work. Who knows what the deal is for other wifi chipsets. The good thing is that wpa_supplicant has a standardized cross-chipset method for setting the region code, and we use that here. Change-Id: Ia9f5133f61f56d89ccb290e37a393f5de507e1cf
* Added info about why Wi-Fi is requiredRussell Brenner2012-10-191-1/+9
| | | | | | | | Added a new optional textview to wifi settings, informing that wifi is required during setup. For use on Nakasi 3G. Bug: 7383934 Change-Id: I231472438e61ccddedc1e680a362f90738d64a2d
* More migration to Global settings.Jeff Sharkey2012-10-181-1/+1
| | | | | Bug: 7375796 Change-Id: I43079368c32e91e8bb75b00377cd57d1766f15d4
* Merge "Return RESULT_OK when wifi connection established" into jb-mr1-devRussell Brenner2012-10-101-0/+2
|\
| * Return RESULT_OK when wifi connection establishedRussell Brenner2012-10-091-0/+2
| | | | | | | | | | | | | | | | | | Two new exit points were not setting a return result. Since the default result for an activity is RESULT_CANCEL, Setup Wizard was continuing as if no connection was made. Bug: 7298234 Change-Id: I44085f38ed021b7d417f9794b3341747f00300e9
* | Have poor network avoidance turned off by defaultIrfan Sheriff2012-10-091-1/+4
|/ | | | | Bug: 7318044 Change-Id: I1c86ffd2dae168a3eb35f08cd09096a7f28de2a9
* Show warnings when skipping Wi-Fi connectionRussell Brenner2012-09-281-0/+89
| | | | | | | | | | | | | If user skips over Wi-Fi, warn about possible carrier data charges or inability to receive updates, depending on whether or not phone service is available. Note to translators: Some strings are being moved here from setup wizard. They're tagged with their msgid's so as not to trigger retranslation. Bug: 7211786 Change-Id: Idec7863377bd453d1808b26ee3da75f8310b32e0
* Merge "Fix an NPE in WifiSettings." into jb-mr1-devWink Saville2012-09-271-15/+33
|\
| * Fix an NPE in WifiSettings.Wink Saville2012-09-271-15/+33
| | | | | | | | | | | | | | | | | | | | Under stressful conditions, like the Monkey tests, getActivity() can return null. We assume this occurs when the fragment has shut down but asynchronous commands are returning results. This change adds appropriate null checks but assumes during normal operation the checks are not needed. Bug: 7152711 Change-Id: I7a3736ccead33738dab1a36e78ae1d8042db6e94
* | Merge "Move super call to top of onActivityCreated" into jb-mr1-devRussell Brenner2012-09-271-7/+2
|\ \
| * | Move super call to top of onActivityCreatedRussell Brenner2012-09-201-7/+2
| |/ | | | | | | | | | | | | | | The historical reasons for not calling super.onActivityCreated early on appear to be no longer relevant. Bug: 6935999 Change-Id: I63aad8a4c70ce938ecb07541267cad44e3e18e13
* | Clean up Global settings stragglers.Jeff Sharkey2012-09-261-10/+10
| | | | | | | | | | Bug: 7242121 Change-Id: Ibe62c70f88c946e46a0604a6999b5ca18ac18a1e
* | Update references to migrated global settings.Jeff Brown2012-09-251-3/+3
|/ | | | | Bug: 7231172 Change-Id: Ia4abbb6f897e93ebe38e6536fac7411b96eb2bb5
* Fix stringsIrfan Sheriff2012-09-181-2/+1
| | | | | | Bug: 7182012 Bug: 7071211 Change-Id: I34aa508d5e4151ffdc538a3ab9ae1ddf3749b345
* Don't crash during setup of secondary usersChristopher Tate2012-09-121-1/+1
| | | | | | | | | Make sure to call super.onActivityCreated() even in the short-circuit case where there's an early 'return'. This has probably been broken for a long time but was never exercised while bringing up a new-from- scratch device, but is the usual code path now for secondary users. Change-Id: I0c1a5116440908d65750133689507917307e1dcd
* Wifi settings are in a different namespace nowChristopher Tate2012-09-111-4/+4
| | | | | | Bug 7144874 Change-Id: I9d004f7e9d33c821fb64cf789036b6b4e0a23a8e
* Update Settings app to use new namespace for airplane-mode settingsChristopher Tate2012-09-101-2/+2
| | | | | | Bug 7132230 Change-Id: I0253637e6d464afc229cf11ffe69852bf44fe261
* Update Settings app to manipulate now-global settings properlyChristopher Tate2012-09-071-3/+3
| | | | Change-Id: I6c269051c7d2db87f70f44df74e06456588c3b6f
* am 300457ba: am 38ce5194: Merge "Enable to delete a stored persistent group ↵Jean-Baptiste Queru2012-08-282-1/+119
|\ | | | | | | | | | | | | from p2p settings." * commit '300457bad289f547430da21e72747e8840840832': Enable to delete a stored persistent group from p2p settings.
| * Enable to delete a stored persistent group from p2p settings.Yoshihiko Ikenaga2012-08-282-1/+119
| | | | | | | | | | | | | | | | Enable to delete a stored persistent group from p2p settings. The multilingualization has NOT been done yet. Change-Id: I84bd89343c9e3ce5e62b8b96dfce9d286675b145 Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
* | Update view on UI threadIrfan Sheriff2012-08-221-18/+23
| | | | | | | | | | Bug: 6970872 Change-Id: I05bec7cb8a8292de522cbfe11c0ecd5a79375014
* | Setting to turn off power optimizationsIrfan Sheriff2012-08-091-0/+10
| | | | | | | | | | Bug: 5885175 Change-Id: I55bfabdffea95d151af6bb4d9da9137124bcb763
* | Merge "Use updated WifiManager API"Irfan Sheriff2012-07-253-21/+14
|\ \
| * | Use updated WifiManager APIIrfan Sheriff2012-07-253-21/+14
| |/ | | | | | | Change-Id: Ia02fc8a7eafa84fa4eddeeefafa7fecaac82903e
* | Make Settings app aware of layout directionFabrice Di Meglio2012-07-241-1/+1
|/ | | | | | - see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi) Change-Id: I696c0f66a16640af767da3c05b5d300fd2284ecb
* am d80ff0a4: Merge "wifi: update text displayed during hotspot on/off"Irfan Sheriff2012-07-031-2/+2
|\ | | | | | | | | * commit 'd80ff0a4d615bd6f037483bf9dc2b10887d9507f': wifi: update text displayed during hotspot on/off
| * wifi: update text displayed during hotspot on/offVishal Mahaveer2012-05-021-2/+2
| | | | | | | | | | | | | | Update the string used during hotspot on/off Change-Id: I89f54f6c02ae26dd39b3cfdcd7587cf59ba81ca1 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
| * Wifi: Update message when scan result is emptyVishal Mahaveer2012-04-091-0/+3
| | | | | | | | | | | | | | Handle case when Wi-Fi scan result is empty Change-Id: Ib09f030dbc0b71055a7aacf0848b97bd6c33af70 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* | Disable notification alerts in Settings for SUWRussell Brenner2012-06-111-5/+7
| | | | | | | | | | | | | | | | When activated by Setup Wizard, disable notification alerts and other status bar flags as also done by Setup Wizard and GSF. Bug: 6645469 Change-Id: I43ef5c2a5fa3f53434a1aaa968de50d91b0d78ce
* | Fix crash when accessibility is onIrfan Sheriff2012-06-041-1/+3
| | | | | | | | | | Bug: 6600699 Change-Id: I9eb8b9871d1368bd7508873951d5719e1f2ba826
* | Merge "Fetch peers after preferenceScreen is ready" into jb-devIrfan Sheriff2012-05-311-1/+3
|\ \
| * | Fetch peers after preferenceScreen is readyIrfan Sheriff2012-05-311-1/+3
| | | | | | | | | | | | | | | Bug: 6450152 Change-Id: Ic95c7fdba5fa7cb54b0c54ed9a423e0e0683ad2f
* | | Merge "Fix poor network detection setting" into jb-devIrfan Sheriff2012-05-311-11/+9
|\ \ \ | |/ /
| * | Fix poor network detection settingIrfan Sheriff2012-05-311-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | We used to base this on watchdog being turned on, but it should be based on whether device is wifi only Bug: 6576101 Change-Id: Ib5221287e6713c625d39ef986ceb278825fb4895
* | | Retain text in Rename Device dialog.Amith Yamasani2012-05-291-0/+17
|/ / | | | | | | | | | | | | Also, show the current device name in the dialog, if available. Bug: 6508967 Change-Id: I34d420e197796352aeab74121bdee55c2d2854d7
* | Match setup wizard wifi settings with new wireframesMichael Kolb2012-05-231-13/+27
| | | | | | | | | | | | Bug: 6521472 Change-Id: I159d8a98327ad775b2c5ccfc7380d60d62b54dad
* | Update WPS DialogAndrew Flynn2012-05-221-1/+0
| | | | | | | | | | | | | | | | | | - Remove title - Change description text - Add WPS icon Bug: 6457246 Change-Id: Icd37261dd3ce920b3bed359ed5232bdc018916fc
* | Merge "Fix p2p settings crash" into jb-devIrfan Sheriff2012-05-181-5/+25
|\ \
| * | Fix p2p settings crashIrfan Sheriff2012-05-181-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Restore on orientation change - Use appropriate string for dialog Bug: 6456079 Bug: 6463563 Change-Id: I1fa0b90a14d09608b580ebf3d66b92fc8721eae7
* | | Add seperate activity for setup wizard wifi picker to adjust themeMichael Kolb2012-05-181-0/+23
| | | | | | | | | | | | | | | | | | Bug: 6517721 Change-Id: I639122435161cd4816b82ab73f91ebbcd2df027e