Commit graph

195 commits

Author SHA1 Message Date
1582130940
dfa304fe24
sdm660-common: wifi: Update from LA.UM.11.2.1.r1-04500-sdm660.0
* Revert wifi: Remove all short descriptions
* Revert wifi: Remove ini params with default value

* wifi: Add secondary interface using gEnableConcurrentSTA=wlan1
* wifi: Increase max bss count
2024-05-10 14:03:20 +03:00
pix106
ce0f90f70a
sdm660-common: displayconfig: Add brightness ramp rate
This reverts commit c4f9a89b6e.
2024-05-10 13:55:21 +03:00
ahmedhridoy371
d4ae94bfa1
sdm660-common: drop HotwordEnrollment blobs 2024-02-13 10:30:33 +02:00
chrisw444
aa804009da sdm660-common: configs: remove useless qti-perf configs
* we are using power-libperfmgr

Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:18:17 +01:00
Jasmine Cha
51e45212b5 sdm660-common: audio: enable speaker spatializer
* 0605 build lib is same file as 0805 felix/cheetah
Bug: 260779305
Test: manual test

Change-Id: Ifbcee9faebb7607ec08db947e69d1d2d31d9eaab
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:45:13 +02:00
Eric Laurent
0bcf3c794d sdm660-common: configuration for spatial audio
Update audio configuration to enable spatial audio:
- build with spatial audio feature enabled and rondo library
- list spatializer effect in audio effect configuration file
- update audio policy configuration files to declare spatializer output
- declare immersive end point in audio platform configuration

* Alcatraz: not enable on bt-a2dp, usb out, tested it will create "bzzzzzzzz" like noise, not in good effect, only works well for wired headphone.
* update lib to July

Bug: 237677573
Test: spatial audio playback
Change-Id: Ic9c32d813a19ba2789425e12ee9016d53ab30678
Co-authored-by: Alcatraz323 <alcatraz32323@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:45:13 +02:00
pix106
443f02b3d1 Revert "sdm660-common: update CLO media profiles and codecs"
This reverts commit a0efee8bed.
2023-08-22 08:44:53 +02:00
Alcatraz323
bbbfe44f73 sdm660-common: update WCNSS config from Honeywell/hon660/hon660:12/94.00.03/0037:user/release-keys - LA.UM.10.2.1.r1-03400-sdm660.0
* fix 5g hotspot enables randomly
* fix wifi display not working when connect to a 5g ap(only works on 2.4g AP or no wifi connection)
* modification below(from hon660)
- gEnablePowerSaveOffload=4
- gRoamPrefer5GHz=1
- gSelect5GHzMargin=5
- gSkipDfsChannelInP2pSearch=0
- gNeighborScanTimerPeriod=200
- gNeighborLookupThreshold=85
- gRoamRestTimeMin=50

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
Alcatraz323
cbc3d8ff9b sdm660-common: configs: update media config from Hon660
* as aosp mentioned(https://source.android.com/docs/core/media/oem), this should be updated by oem with real cts/vts measurement or measure it by yourself, don't update to something like LA.UM.11.2
* Android 12 (LA.UM.10.2.1.r1-03400-sdm660.0) with oem measurement
* 9 files updated, 6 unchanged, 1 degraded(abandonded media_profile.xml, changing 720 -> 640)

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
Alcatraz323
715de717be sdm660-common: keylayout: reorder uinput-fpc.kl
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:45 +02:00
iamimmanuelraj
a0efee8bed sdm660-common: update CLO media profiles and codecs
From latest CLO tag available LA.UM.11.2.1.r1-03000-sdm660.0

Signed-off-by: Shridhan Varadkar <shridhan98@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-06-24 08:20:03 +02:00
clarencelol
05447bf3cc sdm660-common: Update thermal blobs from laurel_sprout
* Seems to work just fine with 4.19 version of jaswayne
* Nuked mi_thermald

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-06-24 08:20:03 +02:00
Alin Jerpelea
0624be886a sdm660-common: configs: Add qmi_fw.conf
This file will silence the warnings on qmi

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Change-Id: I7d7ec0da00a33a0da8f189b0181d40919b9918e5
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
Alcatraz323
707d3e73b7 sdm660-common: audio: correct primary input route source
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-09 12:29:09 +02:00
Alcatraz323
cc15380b70 sdm660-common: configs: remove blacklist irq setup
* referenced by legacy drivers/staging/qca-wifi-host-cmn/hif/src/hif_napi.h
* /sys/kernel/irq_helper/irq_blacklist_on not exist on 4.19
* correct 4.19 irq name in comment

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-08 09:04:30 +02:00
Dusan Uveric
ce7930fb0e sdm660-common: configs: squash multiple irq optimises
* clover: configs: Adjust msm_irqbalance prio
* clover: configs: Don't balance mdss or kgsl IRQs
* clover: configs: Add glink lpass irq to ignored list

Co-authored-by: Rashed Abdel-Tawab <rashed@linux.com>
Co-authored-by: Soumya Managoli <smanag@codeaurora.org>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-08 09:04:25 +02:00
Christian Oder
b068b7999b sdm660-common: update permission file for HotwordEnrollment
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 09:48:58 +02:00
Alcatraz323
0e8661dea0 sdm660-common: Partially revert "Nuke msm_irqbalance"
* replace with 660 stock irq conf(miui/s62pro are same)
* remove not needed service define in init.qcom.rc

This reverts commit fe0aeb3704.

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 09:48:58 +02:00
pix106
6ea66cca8a sdm660-common: configs: drop audio_platform_info_intcodec.xml and mixer_paths.xml from common source 2023-03-20 07:18:06 +01:00
pix106
7fcb3519a9 Revert "sdm660-common: Add support for Google Dialer Call recording"
This reverts commit 3bef50be1a.
2023-03-20 07:07:36 +01:00
Kunmun
2cf5718249 sdm660-common: audio: Import configs from LA.UM.10.2.1.r1-03400-sdm660.0
• Override some properties
• Import minimal device specific changes for lavender

Change-Id: Iacfc1d97928935a57f76d276dbab8761138bf0e5
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:27 +01:00
Kunmun
6a3ebc0e0d sdm660-common: configs: Import keylayout from LA.UM.10.2.1.r1-03400-sdm660.0
Change-Id: Ibb9cb3d1b5670d795d5e8ab050b7a967e1794c66
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:26 +01:00
Kunmun
df2c4bda6c sdm660-common: media: Import configs and props from LA.UM.10.2.1.r1-03400-sdm660.0
• Build required media packages

Change-Id: Id1828f9fad2c939b8d87f0cc2562a32b2aa0026e
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:26 +01:00
pix106
0fcf8ea137 Revert "sdm660-common: Migrate to Xiaomi power AIDL HAL"
Revert "sdm660-common: rootdir: Clean part of Unexported properties"
Revert "sdm660-common: power-libperfmgr: Reduce GPU idle timer to 64ms"
2023-01-04 06:23:14 +01:00
clarencelol
80a4284c7a sdm660-common: power-libperfmgr: Reduce GPU idle timer to 64ms
* Set it according to kernel value shown here 3f4fbeaa44

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-27 07:34:56 +01:00
Bruno Martins
71c49fcc8c sdm660-common: Migrate to Xiaomi power AIDL HAL
Change-Id: I42170d51a517170b58d532addd9c38496e43457c

jasmine_sprout: Remove QTI perfd

Bug: 69270928
Test: Build and boot device and test camera
Change-Id: I87b283206f462fb5c8ec9cdd303ae2934fe9bfc4

jasmine_sprout: Declare BOARD_VENDOR

* Needed for xiaomi-perfmgr power AIDL guards

Change-Id: Idbb48e0f9b01090a456ad5d3f2d51f4dfab55672

jasmine_sprout: Create dummy libqti-perfd-client

* proprietary perfd blobs can finally be nuked without breaking goodix
* we could even map the functions to use libperfmgr powerhints in the future

[SebaUbuntu]: Cleanup Android.bp and add copyright header

Change-Id: I124652f3041761966a3e3bd97c757fecc39cc5fb

jasmine_sprout: libqti-perfd-client: Remove namespace declaration

It's pointless when using extern "C".

Change-Id: Ibdf9f06a70aa3a75687b33781c78cf2172bb334d

jasmine_sprout: libqti-perfd-client: return a dummy value

Return a positive integer for perf lock acquire and release so
that Goodix/FPC fingerprint sensor blobs will not complain.

Goodix:
E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_acquire: Failed to acquire perf lock, err: 0
E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_release: Perf lock release error 0

FPC:
E fpc_tac : fpc_perf_lock_acquire: Incorrect params, Failed to acquire perf lock, err
E fpc_tac : fpc_perf_lock_release: Perf lock release error 0

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: I861672e9a738c2204755d802670f4b28b662f286

jasmine_sprout: libqti-perfd-client: Move to C

* Why bothering with C++ mangling when we can just build it as a standard C library?

Change-Id: I45ea977edf7ea7fab6fece76f3049654a8d24c5d

jasmine_sprout: Add powerhint.json jasmine

Change-Id: If270fc906fd833bb6b0d3b00621c0b079346e47d

jasmine_sprout: rootdir: Initial libperfmgr init config

* From coral, heavily stripped down

Change-Id: Ib6846e4f4f23baf56910d2330e26846b99830218

jasmine_sprout: sepolicy: Initial libperfmgr sepolicy

Change-Id: I3d0a259bc89b4ecd0bf1632199172710d98230e0

jasmine_sprout: Don't explicitly build older minor version HIDL libs

Change-Id: Ib0caa49054a79b1f01ffc751826286a29c642e06

jasmine_sprout: Remove QTI perf reminants

jasmine_sprout: Add back ro.vendor.extension_library definition

 * We aren't using QCOM's perfd but our blobs still check for this.
 * To avoid unnecessary errors, let's just add it back.

Change-Id: Icc44b330f21a658cfa8ded691a6628d8f62c3649
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-27 07:34:56 +01:00
Anver sadhique
2a07f5a662 sdm660-common: audio: Set valid and supported channel mask for earpiece
For earpiece to be properly enumerated as a output device,
set valid and supported out_ channel mask.

Change-Id: Ic83b009956ff43567b3acbb186d0069b16e91e83
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-19 07:40:13 +01:00
Shreedhan003
bf1280a174 sdm660-common: configs: media from LA.UM.10.2.1.r1-03400-sdm660.0
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-19 07:40:13 +01:00
pix106
0a0ce12e6c sdm660-common: Decommonize task_profiles
This reverts commit 0450345165.
2022-11-07 12:51:58 +01:00
Alexander Winkowski
1be0581d35 sdm660-common: wifi: Clean up WCNSS_qcom_cfg.ini
Remove parameters that no longer exist.

Change-Id: Ib6800987c57d050ea6fa621191e2d6df3fc80c97
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-07 08:15:11 +01:00
Kunmun
02f8cef620 sdm660-common: wifi: Update wifi configs from LA.UM.10.2.1.r1-03400-sdm660.0
* Basically clean all deprecated stuffs

Signed-off-by: Clarence K <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
clarencelol
fe0aeb3704 sdm660-common: Nuke msm_irqbalance
* Not necessary needed, 32bit stuffs

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
Bruno Martins
7483dcc2ef sdm660-common: Drop component overrides
This is no longer needed as of Android 13.

Change-Id: I38435c47c8781678f82014decbbae40dcab0a07b
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
pix106
8324656fc1 Revert "sdm660-common: Drop non-functional soundtrigger"
This reverts commit 0ae0e2d50a.
2022-08-25 10:08:30 +02:00
pix106
985430ecd7 sdm660-common: audio: FIX "Switch audio HAL to V7 Updated audio policy manager configuration files to comply with the changes in the XML schema." 2022-08-25 10:04:35 +02:00
pix106
c4f9a89b6e Revert "sdm660-common: displayconfig: Add brightness ramp rate"
This reverts commit 77fa9fca99.
2022-08-25 10:04:35 +02:00
pix106
3d6eaf7c46 Revert "Revert "sdm660-common: Add display config file""
This reverts commit d1f590b76c.
2022-08-25 10:04:35 +02:00
pix106
d1f590b76c Revert "sdm660-common: Add display config file"
This reverts commit 63db93d56b.
2022-07-14 11:38:16 +02:00
clarencelol
0a671bb3d1 sdm660-common: audio: Use AOSP USB audio configs
* Apparently, this is the fix for DAC Type C

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-07-04 07:40:35 +02:00
Georg Veichtlbauer
51989fce41 sdm660-common: wifi: Update Wifi PowerSaveOffload
When the parameter is set to this value and voice packets are
detected in uplink or downlink data traffic, the QPower inactivity
timeout is reset to the default QPower-disabled value (200 ms).
This means that QPower power saving is not be triggered until
after 200ms of inactivity (EAPOL and ARP packets are excluded from
the check).

Change-Id: I86553a1f1dee73add4eb1b6c3933a39745a16de8
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-07-04 07:40:35 +02:00
Chiranth A J
3bef50be1a sdm660-common: Add support for Google Dialer Call recording
[someone5678] Modularized

Original commit:
c3b9f5c170

Signed-off-by: Chiranth A J <chiranth@m.ms.evolution-x.org>
Change-Id: I88ddeb57aa54e4fad88c3c9cba331dbbd7b4bd59
Signed-off-by: someone5678 <nemui3353@gmail.com>
Signed-off-by: Vitorgl2003 <vitorgl.2003@gmail.com>
Signed-off-by: ImPrashantt <prashant33968@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-06-06 12:41:59 +02:00
SakilMondal
0ae0e2d50a sdm660-common: Drop non-functional soundtrigger
* Fixes google assistant voice match in android 11
* Also remove unessential soundtrigger configs

Change-Id: I21100e2f368ec0ddf3b546372b241d85bb698747
Signed-off-by: faham1997 <nafidfaham08@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-06-06 12:41:59 +02:00
Ratoriku
e23c170daa sdm660-common: Copy excluded-input-devices.xml from main source
* Since there are no need for us to do any specific changes here

Signed-off-by: Ratoriku <a1063021545@gmail.com>
Signed-off-by: raiyanbinmohsin <raiyanbinmohsinshishir@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-06-06 12:41:59 +02:00
Zinadin Zidan
442d1f79fb sdm660-common: media: Enable media Codec2
* https://source.android.com/devices/media/updatable-media

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-05-15 07:07:31 +02:00
clarencelol
a4c1504118 sdm660-common: media: Adapt S62Pro changes
* Build libgui_vendor from source
* Using CAF's way of media_{codecs, profiles}
* Uprev media.c2
* Cleanup dead and unused target

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-05-06 23:52:59 +02:00
Ashish Kumar Dhanotiya
d321b462f2 sdm660-common: wifi: Remove TxPower2g and 5g from config file
Ini config values TxPower2g and TxPower5g are not
getting used anymore.
Remove TxPower2g and TxPower5g from WCNSS_qcom_cfg.ini
for all the targets.

Change-Id: Id85bec3e4ae3bb8012e13844bb0afa682a593fee
CRs-Fixed: 2607679
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-05-06 23:52:59 +02:00
clarencelol
295fb5f78a sdm660-common: configs: Restore back irqbalance changes
* In commit bc36bfe914, 1c184ff28c and 61f0dfadb14b74d4e36f8c1a19413a9c907c7abb

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-03-26 11:56:35 +01:00
clarencelol
a040f9147c sdm660-common: Update msm_irqbalance from LA.UM.9.1.r1-11500.02-SMxxx0.QSSI12.0
* kgsl -> kgsl-3d0

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-03-26 11:56:35 +01:00
Srinivas Ramana
8bb0c0275b sdm660-common: configs: Correct the arch_mem_timer interrupt
correct the arch_mem_timer interrupt to 38.

Change-Id: Ie5fe976eef084231beb5e32abf88a35a5c4bc70d
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-03-26 11:56:35 +01:00
Dusan Uveric
122952f604 sdm660-common: configs: Adjust msm_irqbalance prio
Signed-off-by: Dusan Uveric <dusan.uveric9@gmail.com>
Signed-off-by: Reinazhard <reinazhard@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-03-26 11:56:35 +01:00