bcmdhd: fix p2p interface and wlan0 assoc race

Do not allow virtual p2p interface creation while the AP
driver status is CONNECTING

Bug 200009241
Bug 200009346
Bug 200009344
Bug 200009328

Change-Id: I2f6fb49241c7ffa8df69f55eecf87ef761008021
Signed-off-by: bibhayr <bibhayr@nvidia.com>

net: wireless: bcmdhd: reduced the wakelock time of RX packet

	Reduce time : 1secs -> 500ms
	Problem : [Issue 11512235] 34% battery eaten overnight
		  [Issue 11374623] OS + Wifi used 41% of battery,
		  wlan_rx_wake

Change-Id: I8a84de052d6d96606667730bfd92d1c373aa66de
Signed-off-by: Ecco Park <eccopark@broadcom.com>

dhd_linux: reduce wifi wakelock times

Change-Id: Idf7d6855c2a86bc0a7ba6dcc96d01359cdbee683
net: wireless: bcmdhd: fixed power consumption issue of P2P.

solution : add wake_lock not to go to suspend during removing P2P GO interface
in wl_cfg80211.c. Description of this issue : if device goes to suspend
during removing the interface, we will fail to remove P2P GO virtual
interface(p2p-p2p0-0). This will causes P2P GO still alive in firmware Bugnizer
case id : 10874302 This issue is reported by LG team.
Signed-off-by: Ecco Park <eccopark@broadcom.com>

Change-Id: Ie74552eaa83a28dc81585817e27a94de677f2c61
staging: android: lowmemorykiller: Add config option to support oom_adj values

The conversion to use oom_score_adj instead of the deprecated oom_adj
values breaks existing user-space code. Add a config option to convert
oom_adj values written to oom_score_adj values if they appear to be
valid oom_adj values.

Change-Id: I68308125059b802ee2991feefb07e9703bc48549
Signed-off-by: Arve Hjønnevåg <arve@android.com>

Upgrade LMK to 3.4 source.
Errors killed:
-negative width in bit-field
-undefined reference to `drop_pagecache_sb'
Signed-off-by: Demetris Ierokipides <ierokipides.dem@gmail.com>
 staging: android: lowmemorykiller: Change default debug_level to 1

The select...to kill messages are not very useful when not debugging
the lowmemorykiller itself. After the change to check TIF_MEMDIE
instead of using a task notifer this message can also get very
noisy.

Change-Id: Ice171c25801d6faa454b885a23b24b002423b754
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Merge branch 'cm-11.0' into kk_mkt