net: wireless: bcmdhd: Allow preallocation for WLFC_INFO

Bug: 18303260

Change-Id: I1602fa0706270071abe36797039af74670f1c734
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd enable debug log for connection failure

1) bug : 18343313, 18370420
2) FW will send failure log when we failed to connect the AP
   using WLC_E_TRACE event

Change-Id: Iecd3ccfbae20e5d933acbb7932af436d193ffae2
Signed-off-by: Ecco park <eccopark@broadcom.com>
net: wireless: bcmdhd  reduce kernel logging

Bug : 18226601
Signed-off-by: Ecco park <eccopark@broadcom.com>

Change-Id: Iec8172bf803b76517136d1a8903027b5ed162d31
net: wirelss: bcmdhd  fixed disconnect issue for connecting status

Sometimes Framework issues connect and disconnect rapidly and continuously
with different APs.  In this case, the timing gap between connect and
disconnect is less than 20ms.  For this scenario, FW doesn't do anything
when DHD executes dissasoc while state of FW is associating status.  In
order to cancel current assoc procedure correctly, we need to call
scan_abort function, not DISASSOC.  FW will clean up ongoing assoc
procedure if FW is associating status.

b/18470879 Device stop responding after conducting rapid fire testing
           for making connection

Change-Id: Ib440da06eb10313c478c004d1d73ed1b4e29a201
Signed-off-by: Ecco park <eccopark@broadcom.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
net: wirelss: bcmdhd fix roaming bug

1) Bug : 18541286 wifi stuck on connected to an AP when N6 was miles away
we should update BSSID in wl_bss_roaming_done, not wl_notify_status for roaming case
It causes out-of-sync between FW and DHD
Signed-off-by: Ecco park <eccopark@broadcom.com>

Change-Id: I75e706d63aa962c8c2640797e2af6811990c989d
net: wireless: bcmdhd abort ongoing-scan for disconnection

sometimes we cannot get WLC_E_DEAUTH due to ongoing-scan
We need to abort ongoing-scan for disconnection

Bug: 18634452
Signed-off-by: Ecco park <eccopark@broadcom.com>
Change-Id: I2c416738418ce4915dcfbaa57bb3d701269eecc8
net: wirelss:bcmdhd revert roaming patch

1) The patch was needed for roaming patch in the FW.
However, we need to revert this code because we revert
the roaming patch in new FW(7.35.79.49)
2) Bug : 18541286
Signed-off-by: Ecco park <eccopark@broadcom.com>

Change-Id: I66123f0911670a66e923353ae112d492a3b3869a
net: wireless: bcmdhd: clear DISCONNECTING status on timeout

b/18665486

Change-Id: I21bbb12f5ab4fe668646e7e82c8359ff50dea47d
Signed-off-by: Ecco park <eccopark@broadcom.com>
net: wireless: bcmdhd: Gscan improvement changes

1. Has changes to support adaptive Legacy PNO + Gscan
2. Gscan bug fixes - Correctly set batch results flag, do not filter
out dfs channels (if present) for gscan + Legacy PNO
3. generic fixes: Clean up fw if cfg fails for PNO/Gscan

Will need compatible FW for gscan to work (ver: 7.35.79.38 or greater)

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