WIFI DRIVER: multy commit update from Nexus 5 WIFI driver. TNX @neobuddy89

 net: wireless: bcmdhd: add GSCAN Support

add GSCAN code in DHD 1.88 v2 (r)
Signed-off-by: Ecco park <eccopark@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/ac4fac16133553f7ead9be5d21f417e0a9974724#diff-77bc7e0951553856d3a11f2dfb4e73feR69

 net: wireless: bcmdhd: Fixed Coverity issue.

Signed-off-by: Ecco Park <eccopark@broadcom.com>
https://github.com/neobuddy89/hammerhead/commit/5a742d1c2b36da9c5a5e9a3432979b092b7c5991

 net: wireless: bcmdhd: Add support for hidden SSID in PNO

1. Hidden SSID support for PNO
2. Gscan Hotlist LOST event now enabled
3. Support for Get feature list/matrix command

Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/ebce1c4a8db4c2d4a3c4dfd848fee6296b5c0052

 net: wireless: bcmdhd: Added support for get ch list

Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/848835cbb2b24a9facc4f8227038d2259a0c1fb9

 net: wireless: bcmdhd: Changed sync mechanism for batch get

1. Changed sync mechanism for batch scan results get
   because of a race condition with wait_for_completion
2. Misc fixes for running legacy PNO ssid scan with gscan

Bug: 17071068 Deadlock on rtnl_lock

Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/919df534d1e0043f601d2cdcea8433ce7439718c

 net: wireless: bcmdhd: fix hang in wifi_get_cached_gscan_results

Bug: 15144213

Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/5ff0082f8ef53a4861bedd1d0867c18f97712d8c

 net: wireless: bcmdhd: Gscan v3 and bug fixes

Bug: 15085610

Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/5d644ab2ff4fd270fe4b5819a347798641d43729

 net: wireless: bcmdhd: Use systime for scan result ts

Earlier relative time (ms) was being used.

Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/923f3effecc1518630086e6a9e6252244d50567c

 net: wireless: bcmdhd: Fix batch scan timing out

Removed wait and sleep code from batch scan get result function (when
scan was ongoing in the FW) which resulted in HAL timing out.

Bug: 17048507

Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/74bba7ffcad23a2431f5712ba996efe83895b95d

 net: wireless: bcmdhd: 15395235 16510235 & 16803503 fixes

1. Enable FW roaming during suspend
2. Added support for asynchronous batch scan results get
3. Fixed chanspec to channel conversion in full scan result

Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/ea6f2df49be07da21f87466d11e4b228b30f8af4

 net: wireless: bcmdhd: Set KSO enable sleep to 5ms

Signed-off-by: Ecco park <eccopark@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/f5e61f065233d5a29d639d145e85d5289c98b56e

 net: wireless: bcmdhd: Add Link Layer Statistics support

Signed-off-by: Chilam Ng <chilam@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/5c2c57b1e75c343d2ad45d6015046aa7ed60501f

 net: wireless: bcmdhd: Update to Version 1.88.10

Change-Id: I0e41b9af42120286b99d23acdf52fd19997a267e
Signed-off-by: Kyunghoe Kim <kyunghoe.kim@lge.com>
Signed-off-by: Devin Kim <dojip.kim@lge.com>
https://github.com/neobuddy89/hammerhead/commit/2c62a17adfafdf7430c9ac5c04b18c436e17b142
Dorimanx Note: took only the OSL updates for BCMDBG_CTRACE

 net: wireless: bcmdhd: Fix WL_SCHED_SCAN compilation

Change-Id: I44f57cc63377c4009aafb4028970a9af43944241
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
https://github.com/neobuddy89/hammerhead/commit/62b584ca24c67586ad5f0af2b6fc69f678ee98d3

Conflicts:
	drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_pno.c
Revert "WIFI DRIVER: multy commit update from Nexus 5 WIFI driver. TNX @neobuddy89"

This reverts commit acb88045985fd2f5f8ec6e645488bf55cfc1b349.
Fixed ALL LG G2 errors about bad request_threaded_irq!

errors in dmesg look like this:

<3>genirq: Threaded irq requested with handler=NULL and !ONESHOT for irq 446
<3>genirq: Threaded irq requested with handler=NULL and !ONESHOT for irq 382
<3>genirq: Threaded irq requested with handler=NULL and !ONESHOT for irq 311
<3>genirq: Threaded irq requested with handler=NULL and !ONESHOT for irq 310

Traced using cat /proc/interrupts

then in code fixed with adding IRQF_ONESHOT :)
Allow WIFI Driver to use PowerSuspend code, and remove debug.
WIFI: much better solution for POWERSUSPEND by neobuddy89 Thanks.

https://github.com/neobuddy89/hammerhead_kernel_caf/commit/a1db37deb691db016ce06349b13802a2c16bd515
bcmdhd: Reset the hang flag after notifications are sent

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>

https://github.com/neobuddy89/hammerhead_kernel_caf/commit/7b683bd7323abe0b2bd4cd82e377236a99b4f517
net: wireless: bcmdhd: Add support for hidden ssid PNO scan

Changes to support hidden ssid config to be sent to FW. Earlier
all ssids were hard coded as hidden, now only those indicated
as such by supplicant will be.

Change-Id: I927030fe12f162c52c93277b2ebfb4bf55daef4a
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>

https://www.codeaurora.org/cgit/quic/la/kernel/msm/commit/?h=aosp-common/android-3.4&id=c4651bd65550ab73d9027935acec7a25515263ff
 net: wireless: bcmdhd: Fix Batch scan get bug

Legacy Batch scan code would issue mutex unlock w/o a lock

bug: 17021370

Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>

https://github.com/neobuddy89/hammerhead_kernel_caf/commit/e26e9d653532621f009d3ef1a0e5b7f07da59713

Dorimanx:
finnaly this shit is fixed! :)
net: wireless: bcmdhd: Disable OOB interrupt when WLAN is off

b/17446901 Change-Id: I99069c584fa7279b8bd5a61d64ce27764edbd1d8

Signed-off-by: Ritter Yeh <ryeh@broadcom.com>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

https://www.codeaurora.org/cgit/quic/la/kernel/msm/commit/?h=aosp-common/android-3.4&id=acddfe97de2ccf22d05ccc944469a16e7308ac7a
WIFI DRIVER: multy commit update from Nexus 5 WIFI driver. TNX @neobuddy89

 net: wireless: bcmdhd: add GSCAN Support

add GSCAN code in DHD 1.88 v2 (r)
Signed-off-by: Ecco park <eccopark@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/ac4fac16133553f7ead9be5d21f417e0a9974724#diff-77bc7e0951553856d3a11f2dfb4e73feR69

 net: wireless: bcmdhd: Fixed Coverity issue.

Signed-off-by: Ecco Park <eccopark@broadcom.com>
https://github.com/neobuddy89/hammerhead/commit/5a742d1c2b36da9c5a5e9a3432979b092b7c5991

 net: wireless: bcmdhd: Add support for hidden SSID in PNO

1. Hidden SSID support for PNO
2. Gscan Hotlist LOST event now enabled
3. Support for Get feature list/matrix command

Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/ebce1c4a8db4c2d4a3c4dfd848fee6296b5c0052

 net: wireless: bcmdhd: Added support for get ch list

Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/848835cbb2b24a9facc4f8227038d2259a0c1fb9

 net: wireless: bcmdhd: Changed sync mechanism for batch get

1. Changed sync mechanism for batch scan results get
   because of a race condition with wait_for_completion
2. Misc fixes for running legacy PNO ssid scan with gscan

Bug: 17071068 Deadlock on rtnl_lock

Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/919df534d1e0043f601d2cdcea8433ce7439718c

 net: wireless: bcmdhd: fix hang in wifi_get_cached_gscan_results

Bug: 15144213

Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/5ff0082f8ef53a4861bedd1d0867c18f97712d8c

 net: wireless: bcmdhd: Gscan v3 and bug fixes

Bug: 15085610

Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/5d644ab2ff4fd270fe4b5819a347798641d43729

 net: wireless: bcmdhd: Use systime for scan result ts

Earlier relative time (ms) was being used.

Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/923f3effecc1518630086e6a9e6252244d50567c

 net: wireless: bcmdhd: Fix batch scan timing out

Removed wait and sleep code from batch scan get result function (when
scan was ongoing in the FW) which resulted in HAL timing out.

Bug: 17048507

Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/74bba7ffcad23a2431f5712ba996efe83895b95d

 net: wireless: bcmdhd: 15395235 16510235 & 16803503 fixes

1. Enable FW roaming during suspend
2. Added support for asynchronous batch scan results get
3. Fixed chanspec to channel conversion in full scan result

Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/ea6f2df49be07da21f87466d11e4b228b30f8af4

 net: wireless: bcmdhd: Set KSO enable sleep to 5ms

Signed-off-by: Ecco park <eccopark@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/f5e61f065233d5a29d639d145e85d5289c98b56e

 net: wireless: bcmdhd: Add Link Layer Statistics support

Signed-off-by: Chilam Ng <chilam@broadcom.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
https://github.com/neobuddy89/hammerhead/commit/5c2c57b1e75c343d2ad45d6015046aa7ed60501f

 net: wireless: bcmdhd: Update to Version 1.88.10

Change-Id: I0e41b9af42120286b99d23acdf52fd19997a267e
Signed-off-by: Kyunghoe Kim <kyunghoe.kim@lge.com>
Signed-off-by: Devin Kim <dojip.kim@lge.com>
https://github.com/neobuddy89/hammerhead/commit/2c62a17adfafdf7430c9ac5c04b18c436e17b142
Dorimanx Note: took only the OSL updates for BCMDBG_CTRACE

 net: wireless: bcmdhd: Fix WL_SCHED_SCAN compilation

Change-Id: I44f57cc63377c4009aafb4028970a9af43944241
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
https://github.com/neobuddy89/hammerhead/commit/62b584ca24c67586ad5f0af2b6fc69f678ee98d3