Commit Graph

303945 Commits

Author SHA1 Message Date
Ajay Dudani
d4e24fdbb1 USB: ci13xxx_udc: Set QMULT for ISO endpoints
Currently not setting QMULT for ISO endpoints. Set this
value appropriately  to indicate to the USB controller the
number of transactions to be done in microframe.

Change-Id: If80c003464024f8dfebcda13fefb33744618d043
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>

b/6968587
2013-03-04 12:46:38 -08:00
Ajay Dudani
64e994d018 USB: gadget: f_audio_source: Fix use after free in audio_unbind
When USB was disconnected, we were freeing our audio_dev struct in audio_unbind
before the audio system had cleaned up, resulting in a hang in audio_pcm_close.
We now statically allocate the audio_dev struct to avoid this problem.

Signed-off-by: Mike Lockwood <lockwood@google.com>
Change-Id: I58ad21eaa20dcf4aa74ee614ef3b6ed2c91d52a1
2013-03-04 12:46:37 -08:00
Ajay Dudani
85b68f0e9d USB: gadget: f_audio_source: Fix error handling and increase packet size
Fixes watchdog reset on USB disconnect
Larger packet size fixes performance in fullspeed mode

Signed-off-by: Mike Lockwood <lockwood@google.com>
Change-Id: I495c3c02f965d64538eb8adcd62a12a18a723cef
2013-03-04 12:46:37 -08:00
Ajay Dudani
7e61ab3d1a USB: gadget: f_audio_source: Adjust packet timing to reduce glitches
Increase max packet size and clean up timing logic so we can better
recover from not getting an interrupt in time for a SOF.

Signed-off-by: Mike Lockwood <lockwood@google.com>
Change-Id: Ie0e11853997e7f0c8320e79de3b3de0321c779ca
2013-03-04 12:46:36 -08:00
Ajay Dudani
735f020060 USB: gadget: f_audio_source: New gadget driver for audio output
This driver presents a standard USB audio class interface to the host
and an ALSA PCM device to userspace

Signed-off-by: Mike Lockwood <lockwood@google.com>
Change-Id: Ie20264ac86d21a1b1366491273034b755366d3c3
2013-03-04 12:46:36 -08:00
Ajay Dudani
0b7283e0de USB: gadget: f_accessory: Add support for HID input devices
Signed-off-by: Mike Lockwood <lockwood@google.com>
Change-Id: I4f5722bfa26a0d73419c54709b2f1672491bf56a
2013-03-04 12:46:35 -08:00
Ajay Dudani
c0230fd35b Add ACCESSORY_SET_AUDIO_MODE control request and ioctl
The control request will be used by the host to enable/disable USB audio
and the ioctl will be used by userspace to read the audio mode

Signed-off-by: Mike Lockwood <lockwood@google.com>
Change-Id: I48082ce473eb6577b0bf613be9ec27f2f5c19384
2013-03-04 12:46:34 -08:00
Ajay Dudani
c430f7825c usb: gadget: Initialize non zero ep max packet size to 0xFFFF
usb device controller driver initializes all endpoint's max packet
size to 64 bytes. At the time of function driver bind gadget
framework chooses endpoint by comparing it with endpoint
descriptor of the function driver in ep_matches(). Driver bind
fails for the function driver having isochronous endpoints, as
ep max packet size is less than endpoint descriptor's max packet
size. Hence set ep max packet size to 0xFFFF for non-zero
endpoint which will be set to endpoint descriptor's max packet
size when endpoint is enabled at the time of enumeration.

Change-Id: I9fc0a19bd4502812b8659222d60274ad8b9fef34
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>

b/6968587
2013-03-04 12:46:34 -08:00
ty.lee
86764568ee mako: audio: change LDO voltage for headset mic bias(1.8V ->2.5V)
Change-Id: I190b414251a04cd06e927c6977a14ec7f9f5ec8c
2013-03-04 12:46:33 -08:00
Devin Kim
206181f0c8 mako: pmic: store Real Time Clock(RTC)
Enable to store the AP8064 RTC.
It will fix the RTC reset issue after reboot.

AP8064 doesn't have the problem of rtc being written by modem since
the modem is external with its own rtc

This reverts commit 375ccb564347e826caf20c87c9778bc351adaead.
2013-03-04 12:46:33 -08:00
Ajay Dudani
18f0324bea vidc: Error handling for memory heap mapping.
Memory heap should be unsecured if secure call is successful.
This change will make sure that an unsecure will be called
only if securing of the memory heap went through fine.

CRs-Fixed: 393041
Change-Id: I49dd81d1846fc6936518c750a32921c8498ddb95
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Signed-off-by: Riaz Ur Rahaman <riazr@codeaurora.org>
Signed-off-by: Ajay Dudani <adudani@codeaurora.org>
2013-03-04 12:46:32 -08:00
Iliyan Malchev
680f9d7c22 prima: release 3.2.1.4a
git://codeaurora.org/external/wlan/prima.git

cddc752 wlan: Release 3.2.1.4a
ad5a4b1 Fix bug introduced in "dynamic removal of BMPS workaround"
8db75cb ERROR log level cleanup
022b399 wlan: Release 3.2.1.4
af5eb7f DXE TX stall issue fix.
f4f9d4c Fix for memory corruption in WDA WDA_TriggerBaReqCallback
1731c66 Subsystem restart invoke mutex_lock in atomic environment
f1dc853 Fixed problem of dangling pointers to freed memory
0daac20 Realtime DXE debugging capability enable
79b6397 Changes for tx packet statistics

Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-03-04 12:46:31 -08:00
kibum.lee
24e044ad29 power: pm8921-bms: fix unintended diff between reported SoC and calculated SoC
There is adjustment to prevent discontinuous SoC change when
calculated SoC is reported. This adjustment is performed while
device is charged only. In current implementation, the
determination of charging is not accurate. So in some case,
the adjustment is performed even device is not charged. This cause
unintended difference between reported SoC and calculated Soc.
This patch change the method of charging determination for
reported Soc adjustment.

Change-Id: I7caedf7d696be57c96d5f777e44f8ddecbdbc7f2
2013-03-04 12:46:30 -08:00
Naseer Ahmed
2c889a591a msm_fb: hdmi: Add support for HDMI Audio caps
Add sysfs nodes to export the data contained in the
audio data block and the speaker allocation data block
from the EDID of a connected HDMI sink.

Change-Id: Ie558e930cc5790965d46eb2c30156a23643fa1f7
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
2013-03-04 12:46:30 -08:00
Naseer Ahmed
59a8a43802 msm_fb: hdmi: Fix parsing of audio capabilities
Fix bugs in the parsing of the Audio Data Blocks and the
Speaker Allocation Data Blocks in the EDID data.

Change-Id: I666cf82d149c8ebb02d3bca3a053e494890870c0
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
2013-03-04 12:46:29 -08:00
Devin Kim
07cd434307 msm_fb: call the backlight control before FB_BLANK_POWERDOWN
You might see the white line while lcd off. You should turn lcd backlight
off before lcd off to avoid that issue. So call the notifier for backlight
before handling of FB_BLANK_POWERDOWN in msm_fb.

Change-Id: I3bd08025a949ec02a1fba7cef98a13d8977c135b
2013-03-04 12:46:29 -08:00
agathon.jung
613e3b6f4c msm: mdm: Add shutdown ioctl and send poweroff request to the mdm
When the whole phone is being powered off, a poweroff request needs
to be sent to the external modem so that it can shutdown gracefully.
This request needs to be triggered from userspace before kernel drivers
start unloading so that other drivers needed to send the request are
still available. The shutdown ioctl is provided for this purpose.
The request is sent over system monitor.

Crs-Fixed: 401598
Signed-off-by: Joel King <joelking@codeaurora.org>
2013-03-04 12:46:28 -08:00
SathishKumar Mani
d44697e328 msm-pcm-q6: Add support for flexible recording period size
- Current implementation supports only fixed buffer size
  of 320 bytes only for audio recording. This results in
  performance overhead for recording at higher sample rate.
- Added support for flexible period size so that user can
  use larger buffers for recording at higher sample rates.

Signed-off-by: SathishKumar Mani<smani@codeaurora.org>
Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-03-04 12:46:27 -08:00
Naseer Ahmed
3aa5b914d3 msm_fb: display: empty queue at suspend
Change-Id: Iafdf469c6cdbf5d469c9dee114555a8d1adb9c66
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
2013-03-04 12:46:27 -08:00
Naseer Ahmed
94f97545b1 msm : display: buffer sync point update
Do not put sync point if it has been added to
a fence successfully in error handling

Signed-off-by: Ken Zhang <kenz@codeaurora.org>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
2013-03-04 12:46:26 -08:00
Naseer Ahmed
1816d1eb76 msm: mdp: Disable vsync in video off.
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
2013-03-04 12:46:26 -08:00
Naseer Ahmed
fdf06a0c73 msm_fb: display: remove extra dmap irq disable
irq enable and disable need to be called symmetrically.
Remove an extra dmap irq disable call.

Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
2013-03-04 12:46:25 -08:00
choongryeol.lee
c4a8a3ea9a mako: display: reduce lcd initial delay time.
We deleted some registers which isn't needed and reduced delay times.
It will be made sleep in/out duration time shorten.

Change-Id: I679c3a84313df394e5f0063513b1c014873bce2e
2013-03-04 12:46:24 -08:00
Devin Kim
6df47c0890 mako: defconfig: auto-generated
sync up with latest kconfig. it is auto-generated.

Change-Id: I501461daadb908c5a964d71e684b4ece34e31d1f
2013-03-04 12:46:24 -08:00
Devin Kim
ee0b814e3e mako: display: fixed abnormal display initialization
Sometimes OTP value cause an abnormal display initialization.
We don't use anymore otp register to fix this issue. And
We use default value instead of OTP value.

Change-Id: Iec5f18b8453ff60a397a0d0f6576c56b5b8926e5
2013-03-04 12:46:23 -08:00
choongryeol.lee
0338875786 power: pm8921-charger: prevent recharging when batt is overheat
When battery is forced to stop charging by overheat, re-charging
should not be initiated even if re-charging condition is satisfied.

Change-Id: I0070039a186ccf3f12c0e79a8696a7aa3c61e538
2013-03-04 12:46:23 -08:00
roy.park
e62e15cc2e power: charger: set under threshold as vddmax_min for unplug_usbcheck_work.
When usb mode is changed from MTP to Tethering, chg_gone_irq_handler is called
and then disconnect tethering by turning off ovpfet from unplug_ovp_fet_open.
So we add under threshold to protect this error while usb is being connected.

Change-Id: Id66a3db0822c291ba348cf93d2e7a72f6ae857ae
2013-03-04 12:46:22 -08:00
Ajay Dudani
4172e74684 ASoC: wcd9310: Turn off slimbus clocks when no ports are active
With the recent change in tabla shutdown, turning off the clocks
were being taken care after all the slimbus ports are closed.
But, there are instants where tabla startup is being called
during bootup, which keeps the runtime PM votes running,
and as there are no ports open, clocks are on all the time,
due to one of the votes. Bringing back tabla shutdown, but
turn off the clocks only if there are no slimbus ports
open at the time of shutdown, else it will taken care when
the slimbus ports are getting closed

Change-Id: Iaa9378b171d7c169a0f3306d55698e18d28dd111
CRs-fixed: 390003
Signed-off-by: Swaminathan Sathappan <Swami@codeaurora.org>
Signed-off-by: Ajay Dudani <adudani@codeaurora.org>
2013-03-04 12:46:21 -08:00
jh.koo
cbff6e7a0c slimport: Modify to support slimport-to-VGA and slimport-to-DP dongles
Change-Id: I4bbe996351d50bfa2a4073987c97db37a4ed3484
2013-03-04 12:46:21 -08:00
jh.koo
d44611bea2 slimport: reduce hdmi connection setup time
There are pretty long delay between cable plug-in and
image display on TV.
So this patch optimize the delay and remove unnecessary
register access.

Change-Id: I1fb334d9603c15bb3c0562cef852b1cc41d61e52
2013-03-04 12:46:20 -08:00
Ajay Dudani
dfa642feb4 gpu: ion: Fix race between ion_import and ion_free
If preemted during ion_free after the refcount is updated but
before the handle can be removed from the rb_tree, import
might find that handle in the tree and try to reuse it
when execution returns to free, the handle will be cleaned
up leaving the caller of import with a corrupt handle.
This patch modifies the locking to protect agains this race.

Change-Id: I31d18cc6398f0ca18e05cd919e2bcf86fa18d568
CRs-Fixed: 385283
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
[lauraa@codeaurora.org: Whitespace change and move unlock]
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>

Signed-off-by: Ajay Dudani <adudani@codeaurora.org>
2013-03-04 12:46:20 -08:00
taeju.park
9af01d4b75 usb: gadget: prevent change of Host MAC address of 'usb0' interface
On windows 7 platform, previously allocated ip address is maintained.
However, Host MAC address of 'usb0' interface is changed when the
tethering driver re-enumerated. Thus, the tethering network driver
can't be allocated ip address from dhcp. It causes connection delay
between host and phone for usb tethering.

This patch prevents from changing Host MAC address of 'usb0' interface.
In other words, this patch maintains the Host MAC address allocated when
first tethering driver although the driver is re-enumerated. However,
after reboot, the Host MAC address can be changed.

Change-Id: I43add9925e9d6d90c56cffbd3ed999104448f818
2013-03-04 12:46:19 -08:00
Devin Kim
ae71d63d07 msm_fb: Fix display corruption with continuous splash screen feature
During boot up, we observe random lines on screen between the
splash_screen image and the android animation. MDP clocks
were turned off during bootup. Fix this issue by enabling
the clocks when this feature is enabled.

Add check to see that the video mode engine is not busy before
turning off the dsi controller to avoid any underruns.

CRs-Fixed: 399634

Change-Id: I8fdb50fa848362a548b8cdd53ee1817346b57716
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2013-03-04 12:46:18 -08:00
Devin Kim
830a0a0aba switch: fsa8008: do not enable uart console
earjack debugger driver can enable the uart console. so fsa8008 doesn't
need to enable the uart console. It will remove the noise.

Change-Id: I6a3880f40717329034631d4488dd7b376fff8ef6
2013-03-04 12:46:18 -08:00
taeju.park
a74eef8bc8 usb: gadget: Fix g_ether interface link status
A "usb0" interface that has never been connected to a host has an unknown
operstate, and therefore the IFF_RUNNING flag is (incorrectly) asserted
when queried by ifconfig, ifplugd, etc.  This is a result of calling
netif_carrier_off() too early in the probe function; it should be called
after register_netdev().

Similar problems have been fixed in many other drivers, e.g.:

e826eafa6 (bonding: Call netif_carrier_off after register_netdevice)
0d672e9f8 (drivers/net: Call netif_carrier_off at the end of the probe)
6a3c869a6 (cxgb4: fix reported state of interfaces without link)

Fix is to move netif_carrier_off() to the end of the function.

Change-Id: Idf42a032774d652eeb1acb83df9d90789c10e183

Cc: stable@vger.kernel.org
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-04 12:46:17 -08:00
Iliyan Malchev
312e942071 prima: release v3.2.1.3b
git://codeaurora.org/external/wlan/prima.git

2e61bd3 wlan: Release 3.2.1.3b
000442c RX async detect and reloading bug fix
ad02ec2 wlan: Release 3.2.1.3
a91fd8f Invalid WLAN driver reloading fix
a0ccd8a Handle WMM params when concurrent sessions are on the same channel
9f50814 Support for dynamic MC/BC HW filter setting
c9af20f wlan: Release 3.2.1.2
0cba033 prima: Revert log level changes
25d894e prima: p2p_discovery fails when wifi is set to 5GHz in advanced settings.
6e8d09b prima: Fix for driver crash if the nv file is old.
1872ee6 prima: Fix for scanning 5GHz upper band channels.
0cfe5a2 prima: Fix for a double free and recover logic in DXE
1e044e1 prima: Fix lock used while doing any modification on vos packet lists.
88a8d91 prima: Fixed problem of SAP stop beaconing after SSR
d405d83 prima: Enable statically linked driver to support FTM mode
ec808f6 prima: Clean the WDI global variables in shutdown method
ed6c480 prima: Handling De-auth from AP in Roaming State machines
7ca77d0 prima: CSR pre-auth timer is made larger than Lim timer
428bdf2 prima: Fix for memory corrution in TL.
624fd21 prima: Freeing the memory to avoid the memory leak
f7965a0 prima: Deregister with TL and flush all data packets prior to reassoc
56ff1f2 prima: MCC support for different beacon intervals
f3d6bac prima: Fix to avoid sleep in invalid context.
c4620d1 prima: Wlan host driver logging improvements
7b3b4a2 Changes related to BMPS workaround enable/disable dynamically
307e37b prima: Fix for crash in wlan_hdd_cfg80211_connect
18caa01 Revert "prima: Scan optimizations to support concurrency"

Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-03-04 12:46:16 -08:00
Devin Kim
43a79436be mako: add the earjack debugger trigger
Only enable the uart console when detected earjack debugger.
Uart signal interferes audio signal. you might listen to noise via
headset. So this patch fixes this issue.

Change-Id: I9174f0f243043138304aced16b49c70ce317a2de
2013-03-04 12:46:16 -08:00
Naseer Ahmed
ccd2059e3c msm_fb: display: check base layer pipe at irq handler
Change-Id: Ib188d575044f5479672503508042c8c1e9c759c4
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
2013-03-04 12:46:15 -08:00
Naseer Ahmed
5f2bdb1c5f msm_fb: display: add blt condition check at video/lcdc off
Blt mode may be enabled during system suspend. Need to make
sure blt overlay done  before turn off video/lcdc timig generator.

Change-Id: Iad54ee544499213bb7c9cfe60d00919f819aacb1
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
2013-03-04 12:46:14 -08:00
Kinjal Bhavsar
70f7421a80 msm: display: Buffer sync point support
Add MSMFB_BUFFER_SYNC ioctl for the communication of
the acquired and released fence fd between kernel and hwc.

Wait for acquired fence before pan display.
Release the previous released fence after pan display

Change-Id: I6534aed574a025d948581e70465f06a86b46c868
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
2013-03-04 12:46:14 -08:00
Naseer Ahmed
bd7a66d33a msm: mdp: Send fake vsync only when enabled from userspace
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
2013-03-04 12:46:13 -08:00
taeyol.kim
baa8a6c6e0 mako: camera: change i2c clock to 100KHz from 384KHz
fix the issue when changing camera mode between still shot mode and
record mode, preview frames are not come out sometimes.

Change-Id: I0369c72c540713cb8e938e0915ee156b41d898a5
2013-03-04 12:46:13 -08:00
Jeff Boody
f73cd6b4d2 msm: kgsl: remove unnecessary definitions for dup and has_signaled
The dup and has_signaled functions are not called outside kgsl_sync.c

Change-Id: I69d746f4e4acae9b4f5a3a2cac79ac812e5eff5c
Signed-off-by: Jeff Boody <jboody@codeaurora.org>
2013-03-04 12:46:12 -08:00
Jeff Boody
8c2947df3f msm: kgsl: implement sync compare callback
The compare callback is required to test the order that
sync pts will signal. Failing to implement the compare
callback results in kernel panics for some use cases.

Change-Id: Ibea1497c12fd8cc66087ff52d3709a07793f215f
Signed-off-by: Jeff Boody <jboody@codeaurora.org>
2013-03-04 12:46:12 -08:00
insup.choi
9981dd0333 camera: prevent warning in relesing interrupt on ispif
when exiting camera apk, interrupt warning is shown like this
<4>[  271.240836] ------------[ cut here ]------------
<4>[  271.240866] WARNING: at /home/insup.choi/source-ref/apq8064_jb_mako-mr1-check/android/kernel/kernel/irq/manage.c:1219 __free_irq+0x88/0x1a8()
<4>[  271.240866] Trying to free already-free IRQ 199
<4>[  271.240866] Modules linked in:
<4>[  271.240897] [<c00143a0>] (unwind_backtrace+0x0/0x11c) from [<c006f818>] (warn_slowpath_common+0x4c/0x64)
<4>[  271.240927] [<c006f818>] (warn_slowpath_common+0x4c/0x64) from [<c006f8b0>] (warn_slowpath_fmt+0x2c/0x3c)
<4>[  271.240927] [<c006f8b0>] (warn_slowpath_fmt+0x2c/0x3c) from [<c00c01d0>] (__free_irq+0x88/0x1a8)
<4>[  271.240958] [<c00c01d0>] (__free_irq+0x88/0x1a8) from [<c00c03d4>] (free_irq+0xe4/0x134)
<4>[  271.240958] [<c00c03d4>] (free_irq+0xe4/0x134) from [<c045ca48>] (msm_ispif_subdev_ioctl+0x51c/0x5e4)
<4>[  271.240988] [<c045ca48>] (msm_ispif_subdev_ioctl+0x51c/0x5e4) from [<c044e8c8>] (msm_mctl_cmd+0x9ec/0xb74)
<4>[  271.240988] [<c044e8c8>] (msm_mctl_cmd+0x9ec/0xb74) from [<c0455c4c>](msm_ioctl_config+0x6a4/0x774)
<4>[  271.241019] [<c0455c4c>] (msm_ioctl_config+0x6a4/0x774) from [<c0131588>] (do_vfs_ioctl+0x4d8/0x54c)
<4>[  271.241019] [<c0131588>] (do_vfs_ioctl+0x4d8/0x54c) from [<c0131630>](sys_ioctl+0x34/0x54)
<4>[  271.241049] [<c0131630>] (sys_ioctl+0x34/0x54) from [<c000dec0>] (ret_fast_syscall+0x0/0x30)
<4>[  271.241049] ---[ end trace a229d1aac3cbf7ea ]---
this patch is for fixing this problem.

Change-Id: Ia48b9e2825a9d95deb4eecdac8903eafcb6ad7ae
2013-03-04 12:46:11 -08:00
Kinjal Bhavsar
f3ee34125e mako: enable SW_SYNC
Signed-off-by: Kinjal Bhavsar <kbhavsar@codeaurora.org>
2013-03-04 12:46:10 -08:00
insup.choi
7e8f2a8e84 msm: camera: actuator: update driver
dw9714 is installed in imx111.
this patch make actuator(dw9714) working more sophisticated.

Change-Id: Ie35743b7d8bec04348ad3c65571b899966b300f3
2013-03-04 12:46:10 -08:00
Iliyan Malchev
5aca60b2c6 prima: revert scan optimizations to support concurrency
git://codeaurora.org/external/wlan/prima.git

commit 1a5942e30953311dce805e6b3b473bf1baea2c2d
Author: Jeff Johnson <jjohnson@codeaurora.org>
Date:   Wed Sep 19 08:54:34 2012 -0700

    prima: Scan optimizations to support concurrency

    New Features:
    1. Sessionize SME scan cache
    2. Separate beacon & porbe rsp entry for PE scan cache
    3. Enable scan break down logic in SME for multi-session

    Fixes:
    The change fixes issue with host initiated scans interferring with WFD
    connection and causing jitter in the video stream on the WFD
    connection.  This partially addresses b/7138968.

Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-03-04 12:46:09 -08:00
Jeff Johnson
3ccfbcf697 prima: Release 3.2.1.1
The following changes were merged in this release:

-- Scan optimizations to support concurrency:

   New Features:
   1. Sessionize SME scan cache
   2. Separate beacon & porbe rsp entry for PE scan cache
   3. Enable scan break down logic in SME for multi-session

   Fixes:
   The change fixes issue with host initiated scans interferring with WFD
   connection and causing jitter in the video stream on the WFD
   connection

-- IMPS mode, TX COMP interrupt flooding fix:

   To stop TX COMP interrupt with IMPS mode, RIVA shuld power down. But
   whatever reason, if RIVA could not power down, TX COMP INT could not
   be cleared and infinite INT may happen

-- Fix for issue RIVA does not seem to be getting into BMPS mode:

   The reason riva does not enter in to power save is because after the
   connection to the AP (Configured 40Mhz channel in 2.4Ghz) the driver
   sends the invalid cb mode in the finish scan request to the Riva if we
   are in scan window. The issue does not show up if we are not in scan
   window.

   The reason driver sends the invalid cb mode is because after receiving
   the join beacon the variable psessionEntry->htSecondaryChannelOffset
   in the function limCheckAndAnnounceJoinSuccess is over writing with
   the AP secondary offset.

Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-03-04 12:46:08 -08:00
Naseer Ahmed
53e65eac9e msm_fb: Clear real pipe attributes in the pipe free
Clear original pipe attributes in the pipe free call.

Change-Id: I776869e7997e5b70e4c2b102e1a394034247bbcd
Signed-off-by: Kalyan Thota <kalyant@codeaurora.org>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
2013-03-04 12:46:08 -08:00