Commit Graph

769 Commits

Author SHA1 Message Date
Ruchi Kandoi
a313b7f0e4 Correct length parameter for NXP_CORE_CONF_EXTN
Bug: 38489081
Test: Tag reading, HCE
Change-Id: Ifeccd6c502064f883f0f54c38727567163fde2cf
2017-08-16 10:32:52 -07:00
Ecco Park
eee8af57be walleye-wifi: disable TSO
Bug: 64039324

Test: 
In the last 1 hour:
- Walleye: running speedtests (BT off)
- Taimen: running speedtests (BLE + BT on)
=> no disconnection for wifi.

Change-Id: Ie0686b36e0bb4d832264886e11aa502d62660a93
Signed-off-by: Ecco Park <eccopark@google.com>
2017-08-15 01:10:36 +00:00
Ecco Park
5c5ff1b608 walleye-wifi: re-enable TSO
Bug: 64039324
Change-Id: I9e8bb48720c8faa49526781201983f4ed45d9f6c
Signed-off-by: Ecco Park <eccopark@google.com>
2017-08-11 14:30:14 -07:00
Thierry Strudel
2b76906b59 Merge "init-common.rc: set ro.boot.hardware.revision" into oc-dr1-dev 2017-08-10 05:13:44 +00:00
Thierry Strudel
5be9d89166 init-common.rc: set ro.boot.hardware.revision
Bootloader set androidboot.revision on kernel command line and we set
ro.boot.hardware.revision to a numerical string accordingly.

Bug: 64375827
Change-Id: Ib814f765b53155721d86035405fbc6490fb5a2c3
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-08-09 22:04:22 -07:00
TreeHugger Robot
5c57abe5c7 Merge "audio: update audio table 0809" into oc-dr1-dev 2017-08-10 02:52:00 +00:00
Ecco Park
979a09a4a9 Merge "walleye-wifi: change the configuration for performance issues" into oc-dr1-dev 2017-08-09 23:44:22 +00:00
TreeHugger Robot
ac81de1ab9 Merge "aaudio: disable MMAP data path" into oc-dr1-dev 2017-08-09 23:39:09 +00:00
Ecco Park
df91c918cc walleye-wifi: change the configuration for performance issues
1) Disable TSO(TCP Segmentation Offload) for BT Coex (b/64039324)
2) Disable IPA for Hotspot (b/63740353)

Bug: 64039324
Bug: 63740353

Change-Id: I6802012d52eb535a69cff93882b657b87b8d3b63
Signed-off-by: Ecco Park <eccopark@google.com>
2017-08-09 16:17:38 -07:00
vincent_tew
f57ca78563 audio: update audio table 0809
Change list :
[Mixer path]
  1. Synchronize the no mic headset Tx gain setting with speaker phone.
[Audio policy]
  1. Fine-tune VoIP headset volume steps for equal volume.

Bug: 64535381
Test: audio sanity test
Change-Id: I0bf5f936194ff02b17241622f70865412721eb1b
Signed-off-by: vincent_tew <vincent_tew@htc.com>
2017-08-09 14:41:58 -07:00
Phil Burk
90f52626bc aaudio: disable MMAP data path
Some bugs were found late in the release cycle for DR1.
It seems safer to simply disable MMAP mode for DR1
and enable it in MR1.

Developers can still experiment with MMAP mode by overriding the policy
using AAudio_setMmapPolicy().

Bug: 64316921
Bug: 64311216
Bug: 64494572
Test: "adb shell getprop aaudio.mmap_policy" should print 1
Change-Id: I94c1554ff7ea9062efbd3a80b40040fa7bd5268d
2017-08-09 14:18:17 -07:00
TreeHugger Robot
77c576190b Merge "RF config paramters for libnfc-nxp.muskie.conf" into oc-dr1-dev 2017-08-09 03:51:30 +00:00
Ruchi Kandoi
845e1f7e94 RF config paramters for libnfc-nxp.muskie.conf
Bug: 38489081
Test: HCE, NFC tag reading
Change-Id: Ide0c9fa95c14cca1ac45660570a28c462f36a511
2017-08-08 21:31:05 +00:00
TreeHugger Robot
8208b41d9e Merge "disable NFC when camera is in use for walleye" into oc-dr1-dev 2017-08-08 06:00:34 +00:00
Zhijun He
c1a5b07359 disable NFC when camera is in use for walleye
Change-Id: Ia19663040b8456ed2ba544c4b8e73def6d1faab5
Bug: 38217362
2017-08-08 05:37:52 +00:00
carter_hsu
2f18c79d91 audio: Fix lost path for voice-call
Duplicated device path such as speaker and bt-sco was missing which
causes path switch to fail for voice call.

Bug: 64421942
Test: manual audio test for voice call
Change-Id: Idb25ed19fd9f88a82878423342de3413fb3c4644
2017-08-07 16:07:30 -07:00
Adrian Roos
53a7b6e1f5 Merge "walleye: use frontscrim to dim AOD in night light" into oc-dr1-dev 2017-08-04 09:40:26 +00:00
Adrian Roos
c8b3c9ae97 walleye: use frontscrim to dim AOD in night light
Bug: 63995944
Test: Use walleye in very dim light at night, observe AOD is sufficiently dim.
Change-Id: I79fe9eecd2490d3445f51658df4fb402db4854cd
2017-08-03 20:13:09 +02:00
Ecco Park
555c582831 walleye-wifi: adjust the keep alive time to 60 secs
We have IOT issue with some APs causing disconnection with current 90
secs.

Bug: 63820163

Change-Id: I4903eac46c889d62d25ed9fe695adfc6c48d08dc
Signed-off-by: Ecco Park <eccopark@google.com>
2017-08-02 13:16:24 -07:00
Naveen Kalla
bf214cb93a Fix MMS UA profile and string
Bug: 64201313
Test: manual
Change-Id: I6041f7785bfdf99a666088b825409095dea6f784
2017-08-01 22:31:08 +00:00
Ecco Park
bfa5ca58b6 Walleye: enable SAR tx power control for wifi
Bug: 62437848

Change-Id: I913637318ff8a8afb77c74c24b89888226fbf976
Signed-off-by: Ecco Park <eccopark@google.com>
2017-07-31 08:10:44 +00:00
Ecco Park
d53be7e2f0 Merge "M/W: WLAN: Enable enable_11d_in_world_mode" into oc-dr1-dev 2017-07-27 23:01:07 +00:00
TreeHugger Robot
6549d90803 Merge "Power Profile: update walleye" into oc-dr1-dev 2017-07-27 19:58:34 +00:00
Marissa Wall
924d75cfd8 Power Profile: update walleye
Updating all power profiles using the same scripts. Previously,
every power profile was generated using different algorithims.
b/62389228

Test: Run a normal android workload and verify the app blame
  is reasonable

Change-Id: Ie519a8156c6670aaae7ca197db6127b2fe2caf6f
2017-07-27 10:47:36 -07:00
Srinivas Girigowda
19c5e9baca M/W: WLAN: Enable enable_11d_in_world_mode
WLAN: Enable enable_11d_in_world_mode.

Change-Id: I87ee2ad87d5426fae7378a95c6eafbaa66afb56d
CRs-Fixed: 2078528
Bug: 35919398
Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org>
2017-07-26 14:41:12 -07:00
Srinivas Girigowda
92bdf9d5ba M/W: WLAN: Disable LPRx
Disable LPRx.

Change-Id: I203c75e478c22a24196337c8ad4d53b02246981e
CRs-Fixed: 2082443
Bug: 63076243
2017-07-26 17:14:45 +00:00
Srinivas Girigowda
5f0f7fbb49 M/W: WLAN: Enable firmware module logging levels
After looking at all the issues reported and logs captured,
these are the firmware logging levels (module-wise)
recommended to be enabled by default.

Change-Id: If297cb894b61817a440f05411148934a3a1ec235
CRs-Fixed: 2081775
Bug: 63544726
Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org>
2017-07-26 17:13:17 +00:00
Srinivas Girigowda
bfd3493efe M/W: WLAN: Set DBS Scan duty cycle
This is the recommended DBS scan duty cycle.

Change-Id: Ide20cdbb19fc5d1cd138ea85fbbdcd59726862d7
CRs-Fixed: 2081630
Bug: 63540780
Bug: 63810565
Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org>
2017-07-26 16:58:02 +00:00
TreeHugger Robot
8c35f47395 Merge "UFS-specific runtime I/O tuning" into oc-dr1-dev 2017-07-25 23:29:01 +00:00
Jia-yi Chen
3b30fa3920 Merge "thermal-engine: Update policies" into oc-dr1-dev 2017-07-24 16:48:58 +00:00
Maggie White
798459c745 UFS-specific runtime I/O tuning
Tested 1/2x, 1x, 2x, and 4x the current readahead buffer and noop and
cfq I/O schedulers for /dev/block/sda, which contains /data. The most
consistent performance boost was seen across all UFS vendors and storage
sizes using cfq and a readahead buffer of 1024.

Bug: 38000161
Test: Compared 1P app launch times using app-launcher for schedulers
(noop, cfq) and readahead buffer sizes (128,512,1024,2048)

Change-Id: Ifcc9145d6f7a77ba4b3844b7892291eb348d9e1c
2017-07-21 15:29:58 -07:00
Phil Burk
2a5d972b0a aaudio: increase burst size from 1 to 2 msec
One msec is on the edge and sometimes glitches.
Two msec is more stable and matches the FastMixer burst.

Bug: 63934178
Test: "adb shell getprop aaudio.hw_burst_min_usec" should be 2000
Change-Id: I383c4a3a82283229ae39ca9fb6e2ffdd65ae0014
2017-07-21 13:48:32 -07:00
Jia-yi Chen
8855303a7f thermal-engine: Update policies
1) Add & Set the device_max_limit of SKIN-MID-LOW-FLOOR-BC to 1497600
2) Raise SKIN-LOW-FLOOR-BC set_point to 47 degreeC
3) Add back the most aggresive throttling at 54 degreeC
4) Add charging current throttling for both normal and vr mode

Bug: 63152009
Bug: 63037732
Test: Boot & check logcat message
Change-Id: Ibcd5bae397abcf9dc9b4c73244ff2d30c77fcbd5
2017-07-21 07:58:41 -07:00
TreeHugger Robot
d6b4004620 Merge "muskie: enable aaudio MMAP mode" into oc-dr1-dev 2017-07-21 06:13:40 +00:00
Phil Burk
1378738848 muskie: enable aaudio MMAP mode
This will allow AAudio to route audio data through a new service
that uses ALSA MMAP/NOIRQ mode.

Bug: 63002656
Test: reboot, then "adb shell getprop aaudio.mmap_policy" should be 2
Change-Id: Iad70089126e8ea7a9624e91849d453dc7c6ee337
2017-07-20 20:44:40 -07:00
Glenn Kasten
fddf3fca0d Add another property to configure adm buffering
Keep the original property also, to make it easier to experiment
with old and new libadm.so

Bug: 63810681
Test: round-trip USB latency unchanged with old or new libadm.so
Change-Id: I6198a3259f0ce98fda31d1a9e93fd79f21c148e5
2017-07-20 02:37:00 -07:00
Thierry Strudel
8ce3396f78 enforce RESTRICT_VENDOR_FILES := owner
RESTRICT_VENDOR_FILES cannot be set to also enforce "path" as some vendor
specific modules related to IMS VT still needs to be installed in system.

Bug: 37330627
Change-Id: Ia5ca2254bb0f3942b60de795939b7c43ce9f49ec
2017-07-18 12:08:14 -07:00
Glenn Kasten
ea13934b23 Merge "Enable pro audio feature flag" into oc-dr1-dev 2017-07-18 14:45:58 +00:00
Bill Yi
aa4c2265ba Add factory image support for walleye
BUG:36396200
Change-Id: I44a56b68e04df55702a2cd85ffff44130845056c
2017-07-17 16:48:52 -07:00
Glenn Kasten
5253489ed3 Enable pro audio feature flag
Test: adb shell pm list features
Bug: 38463264
Change-Id: I844de2c59d17bc7c5cb64cdd1ad41a2eab283194
2017-07-17 14:55:50 -07:00
Bill Yi
d0506ce0ce Add AOSP support for walleye
Note, walleye and muskie share the same device/google/muskie path.
We only release walleye and not muskie.

To generate blobs for walleye:
cd device/google
cp -a muskie walleye

BUG:36396200
TEST: Built aosp_walleye-userdebug and flashed a device
Change-Id: If319bce13f1ab2bfe27169f69be9f985f270b7f1
2017-07-17 13:52:25 -07:00
Ecco Park
8bec3c1c64 wifi: Ignoring bssid_hint for connection decision
Bug: 62439427

Change-Id: I9b13d5ea8e1d8ff3f4835ef136769ba8ef11d370
Signed-off-by: Ecco Park <eccopark@google.com>
2017-07-12 13:32:40 -07:00
TreeHugger Robot
84bf53874f Merge "audio: enable 24bit for MI2S path" into oc-dr1-dev 2017-07-11 21:08:56 +00:00
Michael Wright
4bb388480a Add input device configuration for Muskie/Walleye
This also provides tuning for touch size information.

Test: flash and look at touch size with pointer location enabled
Bug: 62871286
Change-Id: Ia6f9f0f050517701f8085987ff9fadf27e8904d3
2017-07-11 14:08:30 +00:00
TreeHugger Robot
bb5e51cfe6 Merge "Have Walleye use the new brightness curve." into oc-dr1-dev 2017-07-10 18:00:05 +00:00
TreeHugger Robot
fd74c55bbc Merge "audio: update audio table" into oc-dr1-dev 2017-07-07 23:45:23 +00:00
vincent_tew
d4e7ad8c62 audio: update audio table
Change list:
[mixer_paths_tavil]
  1.Change camera recording from 16bits to 24bits

Bug: 62825740
Test: camcorder record and playback
Change-Id: I57dbbe5bd888d0b156eda2f666ee512fe8a3ee32
2017-07-07 14:20:59 -07:00
Ecco Park
e439d4582c Merge "wifi: enable adaptive APF mode" into oc-dr1-dev 2017-07-07 17:34:24 +00:00
TreeHugger Robot
2f3b6c323c Merge "audio: config: decouple speaker swap from device mixer control" into oc-dr1-dev 2017-07-07 04:51:59 +00:00
vincent_tew
a166a43def audio: enable 24bit for MI2S path
this patch is for AFE to upsample to S24_LE

Test: test all audio paths
Bug: 62918461

Change-Id: Iefcaca61ebb74381c3e274ab32040e7df1fbe066
Signed-off-by: vincent_tew <vincent_tew@htc.com>
2017-07-06 15:59:01 -07:00