Android t beta 1 release 0.4
bcmdhd: Add RING_DUMP feature to avoid overrun socket buffer
When dhd_mem_dump() ocrrus, DHD sends bulky data to HAL through netlink socket for debugging.
This sometimes overruns the socket buffer and drops important events.
To avoid this, replace socket event-based communication with memcpy-based(copy_to_user) for vulky data
Test on Pixel
- FW trap case
- wl bus:disconnect 99
- adb bugreport
- Normal case
- adb bugreport
BUG: 205673231
Signed-off-by: Dennis Jeon <dennis.jeon@broadcom.corp-partner.google.com>
Change-Id: I56ef4c629194dd87a2b5b19a4475231e8a80b8a5
9 files changed