Commit Graph

510 Commits

Author SHA1 Message Date
Jongrak Kwon b4b7a2abf8 msm8976-common: wifi: Configure the p2p_search_delay to 100 msec
This commit configurs the p2p_search_delay to 100 msec to
avoid more default delay (500msec, configued in the supplicant)
during the p2p_find operations.

Change-Id: Ibb384b31cd1b46dd669483a0d14a3215c0113b7b
CRs-Fixed: 680606
2018-01-26 15:47:20 +01:00
Roshan Pius 38d48d92b5 msm8976-common: wifi: Move wpa_supplicant to vendor partition
Bug: 35684372
Test: Compiles
Change-Id: I1bf1355c22f5fc4f6a68032f3b30cced91d0bfed
2018-01-26 15:47:20 +01:00
Christopher Wiley 9eec850757 msm8976-common: wifi: Do not define superfluous wpa_supplicant service
Bug: 30816535
Change-Id: Iab4e212b1c2dcbb97e73945e6b807b37174e0ae0
2018-01-26 15:47:20 +01:00
Roshan Pius 054d9243de msm8976-common: init: Change ownership of wifi firmware reload sysfs paths
This will let the wifi hal run as "wifi" user and not need root
permissions to access this path for firmware reloads.

Bug: 33435250
Test: Compiles.
Change-Id: I84a38cea5e0f729147c3191c3485a3738d7838ef
2018-01-26 15:47:20 +01:00
Luca Stefani 7e70804173 msm8976-common: Use proper seclabel for charger service
* Partically taken from angler f2f207d2594b
2018-01-26 15:47:20 +01:00
Alberto97 7588252675 msm8976-common: bt: Remove net_bt_stack
* net_bt_stack is gone, replace it with bluetooth (android/platform_system_core@604208e957)

Change-Id: I62ac0fa2e59a9643fd6a3d4b173dd8c8892037b9
2018-01-26 15:47:20 +01:00
Woody Lin 094f6917e1 msm8976-common: rootdir: Symlink platform/soc/${ro.boot.bootdevice} to bootdevice
Make symbolic link from
/dev/block/platform/soc/${ro.boot.bootdevice} to
/dev/block/bootdevice.

Change-Id: I7b7f4c728656103445e7fb68ccca92402fa36ff5
2018-01-26 15:47:20 +01:00
Myles Watson 6e63a763d9 msm8976-common: Add libbt-vendor in device-common.mk
Bug: 36810308
Test: build
Change-Id: Iae4a6340a184dde818603b546470c8cf883f2f7b
2018-01-26 15:47:20 +01:00
Luca Stefani fffaade00b msm8976-common: Add HIDL manifest 2018-01-26 15:47:19 +01:00
Luca Stefani 23a8583aa3 msm8976-common: Build USB HAL 2018-01-19 00:15:58 +01:00
Luca Stefani abaaafa36c msm8976-common: Build GNSS HAL 2018-01-19 00:15:58 +01:00
Luca Stefani 0b3761219d msm8976-common: Build Power HAL 2018-01-19 00:15:58 +01:00
Luca Stefani 78983a4505 msm8976-common: Build wifilogd
* Remove unused libqsap_sdk & libQWiFiSoftApCfg
2018-01-19 00:15:58 +01:00
Luca Stefani d3222902e9 msm8976-common: Build Gatekeeper HAL 2018-01-19 00:15:58 +01:00
Luca Stefani 51426b1d54 msm8976-common: Build Keymaster HAL 2018-01-19 00:15:58 +01:00
Luca Stefani 62679c3e53 msm8976-common: Build biometricts HAL
* Remove now unused fingerprintd daemon
2018-01-19 00:15:58 +01:00
Luca Stefani 0444e9590e msm8976-common: Build Sensors HAL 2018-01-19 00:15:58 +01:00
Luca Stefani c663225a44 msm8976-common: Build Camera HAL 2018-01-19 00:15:58 +01:00
Luca Stefani 4dbbf41f31 msm8976-common: Build DRM HAL 2018-01-19 00:15:58 +01:00
Luca Stefani e218ca9f1b msm8976-common: Build light HAL 2018-01-19 00:15:58 +01:00
Luca Stefani 522d08df0c msm8976-common: Update audio for O
* Build audio HALs
* Remove dead packages
* Update audio flags for AOSP HAL
2018-01-19 00:15:58 +01:00
Luca Stefani c850053f54 msm8976-common: Update display/render for O
* Add various HALs
* Enable HWC2 & Gralloc1
2018-01-19 00:15:58 +01:00
Myles Watson d479ffbf08 msm8976-common: Build the Bluetooth HAL
Test: VTS test passes on Marlin, Bluetooth starts/stops
Change-Id: Ib1a1849c060c39e88c0219cb8421e3426cd3e7ac
2018-01-19 00:15:58 +01:00
Roshan Pius 265e16504c msm8976-common: wifi: Add wifi HAL service to device.mk
Bug: 33460969
Test: Compiles
Change-Id: I473f00d5dcabbf84d2da7397aef69b1b688d28a9
2018-01-19 00:15:57 +01:00
Ningyuan Wang e5c38db26c msm8976-common: wifi: Add wificond to products
We need our new wifi native daemon wificond for Android O.
This CL gets it installed on the device.

BUG=29220405
TEST=compile

Change-Id: Ibba0329777f78217f6d11f4cb2ad1305661d2097
2018-01-19 00:15:57 +01:00
Luca Stefani 9fe4b83c29 msm8976-common: Add libcamera_client shim
Change-Id: I4cc4eb52bc41e5174342e5571f096edb0e5a5c75
2018-01-19 00:15:57 +01:00
Luca Stefani 313cbb8738 msm8916-common: gps: Add get_process_name shim
Change-Id: I10ce654b14866d41610c7e4098df9691b983d515
2018-01-19 00:15:57 +01:00
Kevin Tang 1614ac4d55 msm8976-common: gps: LOC logging macro changes
The current logging macro always uses LOGE, which is
confusing to external developer looking at our logs.
Also changed LOC_LOGx definition to follow the same
syntax as that of LOC_LOGX.

Bug: 29499503
CRs-Fixed: 1113702

Test: marlin

Change-Id: I803233a9d0b241bf9aeb2ee0d4bd2e7cc52ed75b
Merged-In: I803233a9d0b241bf9aeb2ee0d4bd2e7cc52ed75b
Signed-off-by: Iliyan Malchev <malchev@google.com>
2018-01-19 00:15:57 +01:00
Dimitry Ivanov c04ca9cbbc msm8976-common: gps: Add missing liblog dependency
Bug: http://b/31289077
Bug: http://b/27171986
Test: remove liblog from libcutils and recompile
Change-Id: Icd2f1ae735e263296a5c6705c7b528b00aa1a94a
(cherry picked from commit 532f3378c214c3134afcb5bcc7c19ce047ec02ac)
2018-01-19 00:15:57 +01:00
LuK1337 6b136126b2 msm8976-common: Kill FRP support
* For some reason Samsung thought that it'd be fun
  if FRP lock blocked custom binaries lol.

Change-Id: Id43cf9657cb468fe8feea93ec4c012630fb2c8e6
2018-01-19 00:14:23 +01:00
LuK1337 565a0e40b5 msm8976-common: Change default WiFi country code to '00'
* Germany wasn't cool enough due to lack of higher
  5GHz band ;_;

Change-Id: Icf68fac5240854abecc2533f38042e32beec58a4
2017-12-19 01:19:24 +01:00
LuK1337 e07934c165 msm8976-common: Set default WiFi country code to Germany
* WiFi only devices are unable to automatically
  figure out the country code thus setting Germany
  as default should allow us to get upper range of
  5GHz without having to manually select WiFi
  region in Settings. Also Samsung doesn't store
  the country code anywhere and I'm not willing to
  parse bootloader versions as that's just silly.

Change-Id: I2dca161dd24389a6377802c757fe4ebe48c66e9a
2017-11-22 03:11:05 +01:00
LuK1337 2e81a29097 msm8976-common: Get rid of stagefright hacks
* No longer necessary since we have 7.0 blobs.

Change-Id: I5e687b7d99c7a9eea31101ec9ec4c345f5c8dbed
2017-09-06 14:53:37 +02:00
LuK1337 d267827d8e msm8976-common: Use monotonic time for video source
* Apparently 7.0 blobs are new enough to use
  monotonice time.

Change-Id: I2f6ed9dedd1a6fe71b2ccdd326df07bb52a7d859
2017-08-17 20:57:33 +02:00
Bruno Martins 6d58bd23b5 msm8976-common: Grant rmt_storage proper unix perms
Do not grant DAC override permission which would allow this daemon
unix permissions to everything.

avc: denied { dac_override } for pid=2664 comm="rmt_storage" capability=1 scontext=u:r:rmt_storage:s0 tcontext=u:r:rmt_storage:s0 tclass=capability permissive=0

Add wakelock group to access:
/sys/power/wake_lock
-rw-rw----  1 radio  wakelock 4096 2017-06-28 00:37 wake_unlock

Change-Id: Ib02b4aedab479f5ad8aca3a2100b5c489397002a
2017-07-04 18:40:56 +02:00
Bruno Martins 8919aa301b msm8976-common: Kill Gello
Change-Id: I9da0945473d7173ee1242a8510e4ee3d262d6b2b
2017-05-14 18:17:11 +00:00
LuK1337 21b3f183be msm8976-common: Move sensors HAL out of common tree
* gts210vewifi isn't exactly compatible with gts28vewifi.

Change-Id: Id8bf8e0b3bb22c4ff36bcd910446dcf55a15d863
2017-05-11 18:50:10 +00:00
LuK1337 022b32e4bf msm8976-common: Bump opengles version to 3.2
Change-Id: I9571e990d31611a0f134a3760a786cf7993110c5
2017-04-26 14:26:39 +02:00
LuK1337 b2f7745ad4 msm8976-common: Update blobs from T813XXU2BQD1
Change-Id: I3e3938773fddd721129a85552caec00f3ab8b17c
2017-04-23 22:44:42 +02:00
Luca Stefani 783dc8e1bb msm8976-common: Notify client when fp cancelling succeeded
Change-Id: I49bb7ef9c46134562da55ac2a1c53363704ed7d6
2017-04-17 19:08:07 +02:00
LuK1337 389a1668d0 msm8976-common: Remove 48kHz support from surround_sound mixer
* It doesn't work.

Change-Id: I53c3329353f19ffcdd13673c0b9bd614d254015c
2017-03-26 22:51:06 +02:00
LuK1337 864759e373 msm8976-common: Add bootloader assert
* Updated blobs require new firmware.

Change-Id: I73588865646da3a962fd98309ff5710cbdee085c
2017-03-25 11:08:18 +00:00
LuK1337 031dd6668e msm8976-common: Use rec-main-mic for camcorder mic
Change-Id: Idb819fbeebd1353cf0ff4c52086acc778a16e0d9
2017-03-25 11:41:43 +01:00
LuK1337 d51753474b msm8976-common: Remove dirac audio effect property
* We don't have it.

Change-Id: I830c0e680a832cfb9cd02af0a7b01bf8a422568f
2017-03-24 21:25:51 +01:00
LuK1337 2a0e5c2b13 msm8976-common: One slash is enough
Change-Id: I2ab1a81eb2e98a968fcc525348ad14820573d3fa
2017-03-07 11:21:09 +01:00
LuK1337 65c386d2b7 msm8976-common: Add fingerprint_error_vendor overlay
* For some reason samsung sends 1001 fingerprint error id
  and that makes stuff crash cause of missing / null error message.
  Adding dummy message fixes that, althought I am still unsure what
  1001 is supposed to mean.

Change-Id: Ib6e70fb73ec7bc018454347b1ab6b72768927c9b
2017-03-05 13:55:19 +01:00
LuK1337 ebf3a97e75 msm8976-common: Remove power HAL extension
Change-Id: Iccbd6c8ba9e9939ab038985527784fc1e723f325
2017-02-27 14:24:18 +01:00
LuK1337 8b57914e03 msm8976-common: Remove duplicated config_wifiDisplaySupportsProtectedBuffers
Change-Id: I6ca75bdbf53a81033bb0101039144930a6ae6e0e
2017-02-25 17:57:29 +01:00
LuK1337 9dad50bef5 msm8976-common: Enable WiFi Display
Change-Id: I80a4371f35ff9bff947bf48929013e9d8018a1a7
2017-02-25 17:41:55 +01:00
LuK1337 f3b7cf6f64 msm8976-common: Update liblights header
Change-Id: I35a8b12693812ab81dfda086ae12ddac5ca07f3b
2017-02-24 15:43:07 +01:00