Commit Graph

283 Commits

Author SHA1 Message Date
tytung
330c350fdb net: New iface_stat module to monitor persistent network stats.
Adding a new module that tracks the number of bytes/packets transfered by a network interface, even after the interface has been removed.
This is relevant to track the total data usage in mobile devices whose interfaces are added and removed quite frequently (WiFi, Bluetooth, 3G,..).

Monitoring is done only for devices that are configured with a valid IP address (check to exclude virtual/loopback/tunnel interfaces).

Change-Id: I8ac642af1990433ebd0784e8dbd72bf0714b5bf6
Signed-off-by: Ashish Sharma <ashishsharma@google.com>

Included a little modification for the out-of-date HD2 .32 kernel.
2011-11-15 23:00:32 +08:00
tytung
42b00bc76a htcleo: updated htcleo_defconfig to tytung_r14_callrec 2011-11-10 01:47:03 +08:00
tytung
6333fda476 htcleo: updated htcleo_defconfig to tytung_r14 2011-11-10 01:32:06 +08:00
tytung
dc9dd2b9a1 htcleo: updated to tytung_r13_callrec 2011-11-05 00:50:54 +08:00
tytung
cedba87f03 htcleo: updated to tytung_r13 2011-11-05 00:30:34 +08:00
tytung
95a83e17c2 htcleo: compiled as modules: alsa-mix-htc-leo.ko and alsa-pcm-htc-leo.ko. 2011-11-01 01:32:40 +08:00
tytung
13c4a30c18 sound: ALSA: htcleo: try to fix the sound crash. 2011-11-01 01:31:54 +08:00
tytung
63c3709b91 sound: htcleo: added support for ALSA
a2653ab6d5
2011-11-01 00:32:16 +08:00
tytung
8ebc201e13 Sound: ALSA: htcleo: permit to load the driver as module
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
2011-11-01 00:16:40 +08:00
tytung
facbe114ed msm: ajust the QDSP6 audio driver for the newer htc leo ALSA driver
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
2011-11-01 00:09:14 +08:00
tytung
0aab481de3 msm: Add HTC auto white balance calibration driver 2011-10-31 01:02:44 +08:00
tytung
eeabf2c38c htcleo: updated to tytung_r12.4 2011-10-01 13:15:18 +08:00
tytung
71715e042d msm: cpu: enable 128MHz 2011-10-01 13:12:46 +08:00
tytung
0e74412bfe htcleo: updated to tytung_r12.3 2011-09-29 23:43:29 +08:00
tytung
4da1d6cab6 htcleo: updated to tytung_r12.2 2011-09-29 00:35:48 +08:00
tytung
0f2738a1ee htcleo: updated to tytung_r12.1 2011-09-29 00:19:53 +08:00
tytung
6e0cc9a888 Revert "USB: gadget: f_accessory: Add new gadget driver for android USB accesories."
This reverts commit bcd275a3ef.
2011-09-29 00:17:56 +08:00
tytung
bcd275a3ef USB: gadget: f_accessory: Add new gadget driver for android USB accesories. 2011-09-24 19:31:58 +08:00
tytung
a11a1a886e htcleo: updated htcleo_defconfig to tytung_r12 version. 2011-09-11 14:05:23 +08:00
tytung
f3bf007056 htcleo: wifi: remove the old support for wifi.mac=... from kernel cmdline. 2011-09-09 00:49:58 +08:00
tytung
9c8917c035 htcleo: wifi: Load the real MAC address from SPL if running SD build on WM.
Thank for Savan's help.
Refer to 3c64a1c16f
2011-09-08 00:36:00 +08:00
tytung
c26ad4782d qdsp6: add missing code. 2011-09-04 16:55:04 +08:00
tytung
4d83e05864 htcleo: remove support for specific htcleo.acdb file to improve the booting speed when htcleo.acdb is not present. 2011-08-29 22:13:23 +08:00
tytung
ca26744fe2 htcleo: audio: add proc file interface /proc/mic_level and fix mic gain (Credits to mdebeljuh and jdivic)
Apply the diff file from http://forum.xda-developers.com/showpost.php?p=17031938&postcount=97
Disable debug output and fix typo by tytung.

Usage: echo 'device_id level' > /proc/mic_level
Level range: 0-1000; -1 use level from acdb
Current levels (device_id):
HANDSET (0): -1
SPKR_PHONE (1): -1
HEADSET (2): -1
TTY_HEADSET (3): -1
BT_SCO (4): -1
2011-08-29 22:07:47 +08:00
tytung
343845b70a htcleo: updated htcleo_defconfig to tytung_r11 version. 2011-08-22 00:09:55 +08:00
tytung
cc7e778762 htcleo: changed unique WiFi address by using IEEE Standards 00:23:76:XX:XX:XX for HTC. -- http://standards.ieee.org/cgi-bin/ouisearch?00-23-76 2011-08-19 00:49:38 +08:00
tytung
e04e3db5d9 msm: add wakeup lag fix for AUO panels. (credits to xda members mdebeljuh and jdivic) 2011-08-18 00:05:19 +08:00
tytung
6ca79cd6f1 usb: gadget: Add RNDIS (Remote Network Driver Interface Specification) for supporting native USB Tethering. 2011-08-17 23:59:31 +08:00
tytung
bdfeaacf04 htcleo: sent missing AT commands to fix RIL on NAND boot.
We cannot load ril wrapper library (libhtc_ril_wrapper.so) if we want to load GAN RIL (libganril.so) to support T-Mobile WiFi Calling (UMA).
So I fix RIL on NAND boot in kernel, not via ril wrapper library.
2011-04-30 21:53:42 +08:00
tytung
d0fb339c5f q6audio: audio boost 2011-04-12 00:16:35 +08:00
tytung
8f470e6b2d htcleo: fixed Bluetooth MAC address to board device dependend one. (i.e. unique Bluetooth address)
Use IEEE Standards 00:23:76:YY:YY:YY for HTC. -- http://standards.ieee.org/cgi-bin/ouisearch?00-23-76
2011-04-09 01:56:44 +08:00
tytung
028bb98fc1 audio: added Two-way call recording (Credit to avs333)
Applied snq-'s modified patch below and fixed the compilation error on HD2 by tytung
http://forum.xda-developers.com/showpost.php?p=12316760&postcount=154
2011-03-29 00:09:00 +08:00
tytung
1b9449e9a4 Fixed Bluetooth 60mA battery drain
Based on Trilu's patch http://forum.xda-developers.com/showthread.php?t=1007774
Removed some debug and unnecessary code, and added some missing code by tytung.
Thanks to Trilu for finally fixing the BT problem.
Thanks to Charansingh for the work he has done on the BT problem.
2011-03-25 23:15:05 +08:00
tytung
ea113caeb1 Revert "msm: audio: 8k: Send ACDB data after the PREPARE stage of device switch"
This reverts commit b46eec7adc.
2011-03-24 23:23:23 +08:00
tytung
9717a238a2 Revert "msm: audio: 8k: Send ACDB configuration during device switch"
This reverts commit 520bef6caf.
2011-03-24 23:22:55 +08:00
tytung
520bef6caf msm: audio: 8k: Send ACDB configuration during device switch
In the current code, for a device switch command, ACDB configuration
is sent to Q6 only if there is any active tx/rx session.
As per Q6 API, changing the code to send ACDB configuration after
the PREPARE stage of the device switch even if there's no active
tx/rx session.

Change-Id: I895f5da5d23f586ae829c4856a5b39b4399422ee
CRs-Fixed: 267703
Signed-off-by: Phani Kumar Allada <pallad@codeaurora.org>
2011-03-23 01:37:38 +08:00
tytung
b46eec7adc msm: audio: 8k: Send ACDB data after the PREPARE stage of device switch
As per the Q6 API, the ACDB configuration need to be sent to Q6 after the
PREPARE stage of the device switch. But in the current code it is in the
reverse order. Hence correcting the code as per the Q6 API.

Change-Id: I9f947d44f73b1fc71ddea8259ca54402edc895c2
Signed-off-by: Phani Kumar Allada <pallad@codeaurora.org>
2011-03-23 01:31:08 +08:00
tytung
038cb087d1 cLK: kernel patch to save reboot reason so is available on bootloader
By Cedesmith. http://forum.xda-developers.com/showpost.php?p=10837322&postcount=2
2011-03-16 21:09:18 +08:00
tytung
ac2d0b6e27 wifi: cleanup 2011-03-12 17:51:45 +08:00
Markinus
ba5148a6fb htcleo: fixed AC charging on boot and cleanups 2011-03-12 15:57:15 +08:00
Markinus
f42b4692d6 usb: added usb-host functionality for MSM devices amd Leo config file 2011-03-12 15:56:21 +08:00
tytung
27f7fd8972 cLK: off_mode_charging just prevents the kernel from BUG() if off mode charging and panel is off ( and not detectable )
By cedesmith. http://forum.xda-developers.com/showpost.php?p=10837322&postcount=2
2011-03-08 00:47:45 +08:00
tytung
d1446674eb cLK: cLK_power_clllapse patch adds detection of cLK to kernel and puts the reset vector at 0x11800000 where cLK will jump (+4) at power_collapse_exit
By cedesmith. http://forum.xda-developers.com/showpost.php?p=10837322&postcount=2
2011-03-08 00:47:28 +08:00
tytung
765f3a9d95 wifi: updated WiFi driver to AOSP version to support WiFi with EAP authentication on Gingerbread.
Need Gingerbread wpa_supplicant.
2011-02-23 19:15:59 +08:00
Danijel Posilović
2d292eb9bb htcleo: some bugfixes and cleanups on backlight manager driver 2011-02-17 21:14:16 +08:00
Danijel Posilović
86ad764392 htcleo: new button backlight manager driver
- Now button backlight is managed by this driver, also it is configurable by sysfs (number of secs. after backlight will be turned off after last key-press, enable/disable this auto_off feature)
-When disabled auto_off, backlight will go off along with screen backlight.
- Sysfs for num. of seconds : /sys/devices/platform/btn_backlight_manager/off_seconds
(min: 5 sec, max: 60 sec)
- Sysfs for turn on/off auto-off feature: /sys/devices/platform/btn_backlight_manager/auto_off
(0 to disable auto-off, 1 to enable)
2011-02-17 21:13:55 +08:00
Danijel Posilović
c3c716173f - Some cleanups
- Added button backlight control via panel backlight (button backlight will go on/off with screen backlight)
- To enable/disable this just echo 0 or 1 to /sys/devices/platform/htcleo-backlight/btn_control
( echo 0 >  /sys/devices/platform/htcleo-backlight/btn_control )
- By default button control is enabled
2011-02-17 21:13:21 +08:00
tytung
2bbd73cdec Revert "htcleo: some bugfixes and cleanups on backlight manager driver"
This reverts commit 864e077367f6dc567c5bce2501856225375a3e20.
2011-02-17 21:12:34 +08:00
tytung
0162818a8a New led driver compatible with Desire (Bravo) liblights
- remove all lights.*.so files from /system/lib/hw (backup if u want) and replace with lights.qsd8k.so from Bravo ROM or download from http://www.multiupload.com/2M5T02M3TU
 - if button backlight don’t work: turn screen on, press any key and put phone under bright light ( this should activate light sensor and backlight)

Conflicts:

	arch/arm/configs/htcleo_defconfig
	arch/arm/mach-msm/board-htcleo.h

Add commit from 654ce990ab
2011-02-17 21:09:15 +08:00
Danijel Posilovic
0e29cb4fa1 fixed netfilter errors and missing dependencies 2011-02-16 18:43:25 +08:00