Wifi: Allow configuration of Ad-Hoc (IBSS) networks

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
Wifi: Enable IBSS options only if IBSS is supported

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
Add back backlight curve adjustment.

PS2:Fixed ok string, moved AutoBrightnessCustomizeDialog.java out of CM folder
PS3:Fixed minor derp

Change-Id: I4f55091c5d8c72301c0985fa8463d198f86a7d21
Signed-off-by: kecinzer <kecinzer@gmail.com>

Conflicts:

	res/layout/auto_brightness_list_item.xml
	res/layout/dialog_auto_brightness_levels.xml
	res/values/strings.xml
	src/com/android/settings/BrightnessPreference.java
Merge pull request #15 from Nick0703/cm-10.1

Merge latest AOKP sources.
Move pie controls to system settings
Move status bar settings to system settings
Merge pull request #16 from IvanBrazza/cm-10.1

System settings cleanup
Quick Settings Pulldown: Left or Right side option (2/2)

Patch set 2 : Update dynamic summary
Patch set 3 : More dynamic summary work
Patch set 4 : Fix arrays, reduce duplicate code
Patch set 5 : Fix string
Patch set 6 : One more string fix
Patch set 7 : String nitpick

Change-Id: I181c95b722fbcd8c5f491ea53c518ccef0933495
Settings: Quick Settings pulldown without notifications (2/2)

If no notifications are present option to pulldown quick settings
directly. This options respects stock behaviour as well as left and
right edge quick pulldown.

Change-Id: I8ae28cc2ee48a2713531c7cc4f4175a5b21d336d
Settings: Quick Settings pulldown without notifications (2/2)

If no notifications are present option to pulldown quick settings
directly. This options respects stock behaviour as well as left and
right edge quick pulldown.

Change-Id: I8ae28cc2ee48a2713531c7cc4f4175a5b21d336d
Hide QS Panel Toggle [2/2]

Patchset 2
- some smalle corrections
- change of logic
- some cosmetic fixes

cheers

Change-Id: I6a5d4d8420e5337cc9636482e21a048d496694ce
Quick Pulldown, Pulldown settings & hide QuickSettings patch.

Correction needed for quick pulldown, preference settings & hide QuickSettings, slight adjustments for full implementation.

Change-Id: I52fffe42eeb73d07279ca561665f39f53dcaa605
Merge pull request #17 from xLaMbChOpSx/cm-10.1

Quick Pulldown Left/Right Options, Switch to QS & Disable QS. (1/2)
Merge remote-tracking branch 'upstream/cm-10.1' into cm-10.1