Wlan: Sync prima wlan with kk_2.7-stable

commit ac1097a1e157bd110d7fa5142c99e875df63c3e3
Author: Mahesh A Saptasagar <c_msapta@qti.qualcomm.com>
Date:   Thu Jun 12 20:22:33 2014 +0530

    wlan: Protect ssr dump ioctl function from SSR

    Protect dump ioctl functions from accessing uninitialized or
    de-allocated data structures during ssr by delaying ssr
    until ioctl functions are exited.

    Change-Id: I555b78c8330302be50a99f32dd060b7d011b2ff6
    CRs-Fixed: 673993

commit f71d57a45ced9ec9e99b0bdd70134c99b3b0f76d
Author: Mihir Shete <smihir@qti.qualcomm.com>
Date:   Mon Jun 9 17:22:55 2014 +0530

    wlan: fix race during device suspend

    While suspending the device, driver notifies
    its threads about the system's intentions and
    waits for the threads to process its pending
    tasks and acknowledge the suspend event. If
    a thread does not acknowledge the event
    then the driver's suspend routine returns
    failure. But there is a race condition
    where the driver's suspend routine times
    out just before the thread can acknowledge
    the driver and so the thread suspends but the
    driver returns failure to the kernel and since
    the kernel will not call the resume event
    again for a failed suspend, the Thread will
    remain suspended forever.

    Fix the race condition by using the APIs
    which will test for the event mask and set
    it atomically.

    Change-Id: I81ebbceb7623f6dd09d00c6a79a4913a19dc6e89
    CRs-Fixed: 673980

commit 0b84fb548bed84a3dd7e601611955d20771bc2af
Author: Katya Nigam <knigam@qti.qualcomm.com>
Date:   Mon May 5 12:24:32 2014 +0530

    wlan: Forward cached data to the STA via RX thread.

    Currently the cached frames are forwared to STA in
    TX thread context. Changing it to go via RX thread.
    For this, a new api WLANTL_RxProcessMsg to process
    messages in RX thread and a new TL queue ( tlrxmq )
    has been added.

    Change-Id: Iacae4a45f13a7c51d12f29895d18b90c15b49cb6
    CRs-Fixed: 657831

Change-Id: Ic1660250f268eb83be606ef3de33836a90f81cc8