init: Update wpa_supplicant service parameters

This fixes WiFi for n7100.

Change-Id: If9327ceb2cc81a1a19f0059089fe20c8ca317e1e
Set to permissive using CMDLINE
revert .... build error caused by space character....orz
smdk4412: update media_codecs for KK

Change-Id: Ic545a4514f6bb9a5b1efd540cc5ca1067b66f772
smdk4412-common: camera: squashed updates from cm-10.2

smdk4412-common: camera: fix EXIF attributes for S5C73M3 sensor

S5C73M3 sensor which is the back camera, doesn't return the EXIF
attributes using V4L2 IOCTL. This sensor interleaves YUV and JPEG
frames along with Metadata which contains the EXIF information.

This patch does the following:
Manually extract the EXIF information from the interleaved metadata
and implement ISO, Flash, Exposure, Exposure Time and Exposure Bias
EXIF attributes for S5C73M3.
Fix incorrect Exposure EXIF attribute that was reporting as 1'.

Change-Id: Id9faa64af498645099cccc9cbf28f2dbdfecd254

smdk4412-common: camera: fix scene mode snapshot capture crashes

Few Scene Modes (like Night, High Sensitivity) if set as default,
after the camera opens, require the scene mode to be set when the
stream is turned on inorder to properly take effect. Not doing so
will result in crashes while trying to capture the snapshot.

Change-Id: I9e6b67c59699495da6922ac737232f58d98c2b40

smdk4412-common: camera: reorganize camera parameters

Few Scene modes require Flash and few don't. However all of
the scene modes require the focus to be AUTO. Reorganize the
camera parameters to set the Flash and Focus modes based on
the scene mode.

Changes adapted from Exynos5 Camera HAL.

Change-Id: If3ab62a1d8aecf84d2a04d1e899f71d4315a66ea

Conflicts:

	camera/exynos_camera.c

smdk4412-common: camera: several fixes for autofocus

Setting the AutoFocus off using V4L2_CID_CAMERA_SET_AUTO_FOCUS will
reset the AF position of the sensor and this was done whenever
autofocus was completed. This totally defeated the purpose of touch
to focus since the sensor AF position was being reset after focus
and had to be refocussed while taking the snapshot. This also led to
several issues with third party applications since this kind of focus
behaviour was not intended.

S5C73M3 Back camera Interleaves YUV and JPEG along with metadata. This
metadata contains the AutoFocus result. Hence we could parse the
autofocus result instead of using V4L2 IOCTL, which is more efficient.
Also, the sensor exhibits issues when AutoExposure and AutoWhite Balance
locks are used with Flash ON. Improper locking could lead to freezing of
the sensor while taking a snapshot. Hence, only lock AEAWB when flash is
OFF and unlock them after AutoFocus finishes.

Change-Id: Ief28005dcacd0f8f04990ef8eafebff4a2f109d5

smdk4412-common: camera: enable ZSL mode on front camera

We are querying FIMC2 for the capture output and hence we
have no reason to restart the preview to have the preview
resolution match the capture resolution, which is not how
Zero Shutter Lag works. We could have different resolutions
for the preview and capture, hence don't stop the preview
for resizing.

Change-Id: Iaf2b4d0c51dbedb9516b7c3cdde09aa18cd95f73

smdk4412-common: camera: fix incorrect jpeg thumbnail height

Change-Id: I139823883d91ddaa48e2516511539ff5fe150e25

smdk4412-common: camera: fix heap corruption

Change-Id: I0111615b9d4552a7880598a83bc98060fa900b13

smdk4412-common: camera: include support for face detection

Change-Id: I1d176bdf17abdcf0c593fceb01808348b87b75ce
Merge "smdk4412: update media_codecs for KK" into cm-11.0
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_device_samsung_smdk4412-common.git into cm-11.0
Merge "init: Update wpa_supplicant service parameters" into cm-11.0
Merge branch 'cm-11.0' of github.com:CyanogenMod/android_device_samsung_smdk4412-common into cm-11.0
smdk4412-common: camera: don't defer picture if CAF is in progress

CAF is considerably slower than Auto or Touch Focus and since we
are deferring the picture while CAF is in progress, there are
delays while taking the picture and these delays are sometimes
huge.

Disregard the CAF state since we could Touch to Focus if required.

Change-Id: If981f6402cc97e0781060dc48fa7d8e44288168f
camera: Fix loss of focus mode between shots

exynos_camera->focus_mode can't be relied upon to verify the previous
state, since a snapshot will reset the focus state. This was causing
any mode besides auto-focus (enum 0) to fail after the first photo
was taken, including the default continuous-picture.

Always make sure the focus-mode is up to date when set_params is
called

Change-Id: I8e6f52093ad897bcf04bc5047bb1fcd4f109dc55
smdk4412: Enable camera message management

 * Fixes the deadlocks seen with back-to-back shots

Change-Id: I539b2618187fa4598556359f9dbce61f729cd909
Merge branch 'cm-11.0' of github.com:CyanogenMod/android_device_samsung_smdk4412-common into cm-11.0
Merge branch 'cm-11.0' of github.com:CyanogenMod/android_device_samsung_smdk4412-common into cm-11.0
Merge "smdk4412-common: camera: don't defer picture if CAF is in progress" into cm-11.0
Merge branch 'cm-11.0' of github.com:CyanogenMod/android_device_samsung_smdk4412-common into cm-11.0
Make it n8020 compatible (same as i925, with gsm and w/o cdma stuff).

Change-Id: I4b5f37938a9a60857c53c74db4f52b6d9d721929
smdk4412-common: Add support for Tab 3 8.0

Includes: SM-T310, SM-T311, and SM-T315

Change-Id: I2c235ba5297d9ff3fd3c400b0a7dde4bce89465e
smdk4412-common: Don't build torch for devices without flash

For devices without a flash set TARGET_HAS_CAM_FLASH := false

Change-Id: I8fb1648f443abadd8677fd6780ba95a40c613cf0
Merge branch 'cm-11.0' of github.com:CyanogenMod/android_device_samsung_smdk4412-common into cm-11.0

Conflicts:
	Android.mk