d2-common: build libnetcmdiface

Change-Id: I1b76815a47c988052d923997818efa3ada8d1f8c
d2: remove nfc firmware,

it doesn't properly download mimicking the behavior on the other d2s
is our solution

Change-Id: I86f057615f50e22ad6ee71b70cb8941f78344c28
d2: Limit MDP composition to 3 layers

 * Workaround for the obnoxious flicker while we solve the 4-layer
   underrun issue. Will revert once solved.

Change-Id: I4cbbe8baf443a0ab9cc4c1280dc2a38632363783
d2: Enable WFD

Change-Id: I5e2e329edb6ecbeed3dca05bbbf5dcdc736c1b21
Audio use case enhacements

- Use stereo mic for "Camcorder Tx" (with L & R channels mapped properly).
- Match TW ACDBID (4:2) for "Voice Line", fixes echo on speakerphone.
- Match TW ACDBID (53:2) for "Voice Recognition".
d2: Add cameradata/SlimISP_GH.bin to support later revisions.

Change-Id: I7dda8951947baab8609fe54156228bc2cfc35ed4
d2: Update audio policy for new driver

 * Add LPA, VoIP, and tunnel paths.
 * Remove A2DP and USB paths, handled by driver now.
 * Add A2DP and USB devices to primary/LPA routes.

Change-Id: I8a98bfb83e1f1f856e2b52050a72f9932a4f147a
d2: Enable MT call audio speedup

Change-Id: If7d1f483215a677f752509ab79c7be97c4e3dca8
More audio use case enhacements

- Use TW's "Call Main Mic" for "Speaker DMIC Endfire".
  - Resolves speakerphone echo by using only the main (bottom) mic.

- Clone "Handset" to "Line", as audio-caf uses "Line" by default now.
  - Also matches TW's "Main Mic".
Revert "d2: Limit MDP composition to 3 layers"

fixed in this commit http://review.cyanogenmod.org/#/c/29744/

This reverts commit c91ae499cf5ace42dcd0044736207d5161a58e07

Change-Id: I7ac5a74af96142125d50f9b241efc2dd9cc5be01
d2: re-enable Trebuchet overlays

config_workspaceRows and config_workspaceColumns are now
default_cell_count_y and default_cell_count_x respectively

Change-Id: I75e3b8dc93f1b652cf2fc6b027479ccdb310eecb
d2: Add VOIP and call recording inputs

Change-Id: I9bc551743912cceaba040167aed2dbe0f2feb2f7
d2: adds support for 5.1 sound

Change-Id: I5cdb6c084f8db4466f6701894a798308072a2253
d2: bluetooth: disable BOARD_BLUETOOTH_USES_HCIATTACH_PROPERTY

Change-Id: I58ee218c1c83354e757b80a0abbc31ac24848fa0
Enable Focus Modes on d2 devices
Remove redundant overlay
Define BOARD_BROKEN_RESAMPLER

Fixes A2DP playback on D2 devices
init: Update initialization of hostapd

Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>
enable a2dp no delay for d2 devices

Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>
d2-common: Use a non-bogus ACDB id for AFE proxy

 * The bogus ACDBID "0:1" is causing the previous calibration data to be
   reused instead of the correct data. The result is the absolutely
   shitty sound you hear over AD2P.
 * Use 10:1 so that the HiFi calibration data is applied to the DSP.
 * Rock on with your bad self.

Change-Id: Ia62e0661196e444827638acfa7aaddf3f145ff43