diff options
author | Rongjun Chen <rongjun.chen@amlogic.com> | 2019-01-14 15:28:11 +0800 |
---|---|---|
committer | Rongjun Chen <rongjun.chen@amlogic.com> | 2019-01-14 15:28:11 +0800 |
commit | 697de701753949874a319dc7f7bc391e4557d6e2 (patch) | |
tree | d2b3b056138a74a853ce8a923d42c8e63ed9b0b5 | |
parent | 491c73a45089f92748fd46d0294b03ac30b33085 (diff) | |
download | dhd-driver-697de701753949874a319dc7f7bc391e4557d6e2.tar.gz |
wifi: debug wifi auto close issue [1/1]
PD#SWPL-4058
Problem:
wifi auto close
Solution:
add debug for wifi close
Verify:
franklin
Change-Id: Ie0b547f0e79949303ec323ef972a860e2694e64c
-rwxr-xr-x[-rw-r--r--] | bcmdhd.1.363.59.144.x.cn/Makefile | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | bcmdhd.1.579.77.41.1.cn/dhd_sdio.c | 4 | ||||
-rwxr-xr-x[-rw-r--r--] | bcmdhd.100.10.315.x/dhd_sdio.c | 4 | ||||
-rwxr-xr-x[-rw-r--r--] | bcmdhd_1_201_59_x/Makefile | 1 |
4 files changed, 6 insertions, 4 deletions
diff --git a/bcmdhd.1.363.59.144.x.cn/Makefile b/bcmdhd.1.363.59.144.x.cn/Makefile index c0dadf7..9dd3b0a 100644..100755 --- a/bcmdhd.1.363.59.144.x.cn/Makefile +++ b/bcmdhd.1.363.59.144.x.cn/Makefile @@ -14,6 +14,7 @@ export CONFIG_BCMDHD = m export CONFIG_BCMDHD_OOB = y DHDCFLAGS = -Wall -Wstrict-prototypes -Dlinux -DBCMDRIVER -DSDTEST \ + -Wno-maybe-uninitialized \ -DBCMDONGLEHOST -DUNRELEASEDCHIP -DBCMDMA32 -DBCMFILEIMAGE \ -DDHDTHREAD -DDHD_DEBUG -DSHOW_EVENTS -DBCMDBG -DGET_OTP_MAC_ENABLE \ -DWIFI_ACT_FRAME -DARP_OFFLOAD_SUPPORT -DSUPPORT_PM2_ONLY \ diff --git a/bcmdhd.1.579.77.41.1.cn/dhd_sdio.c b/bcmdhd.1.579.77.41.1.cn/dhd_sdio.c index 53e9eaf..3d2dec9 100644..100755 --- a/bcmdhd.1.579.77.41.1.cn/dhd_sdio.c +++ b/bcmdhd.1.579.77.41.1.cn/dhd_sdio.c @@ -2843,8 +2843,8 @@ dhd_bus_txctl(struct dhd_bus *bus, uchar *msg, uint msglen) DHD_TRACE_HW4(("%s : tx_max : %d, tx_seq : %d, clkstate : %d \n", __FUNCTION__, bus->tx_max, bus->tx_seq, bus->clkstate)); #endif /* CUSTOMER_HW4_DEBUG */ - DHD_ERROR(("%s: ctrl_frame_stat == TRUE txcnt_timeout=%d\n", - __FUNCTION__, bus->dhd->txcnt_timeout)); + DHD_ERROR(("%s: ctrl_frame_stat == TRUE txcnt_timeout=%d, bus->tx_max %d, bus->tx_seq %d\n", + __FUNCTION__, bus->dhd->txcnt_timeout, bus->tx_max, bus->tx_seq)); } #ifdef DHD_FW_COREDUMP /* Collect socram dump */ diff --git a/bcmdhd.100.10.315.x/dhd_sdio.c b/bcmdhd.100.10.315.x/dhd_sdio.c index 4a52e87..6833114 100644..100755 --- a/bcmdhd.100.10.315.x/dhd_sdio.c +++ b/bcmdhd.100.10.315.x/dhd_sdio.c @@ -2882,8 +2882,8 @@ dhd_bus_txctl(struct dhd_bus *bus, uchar *msg, uint msglen) } else { bus->dhd->txcnt_timeout++; if (!bus->dhd->hang_was_sent) { - DHD_ERROR(("%s: ctrl_frame_stat == TRUE txcnt_timeout=%d\n", - __FUNCTION__, bus->dhd->txcnt_timeout)); + DHD_ERROR(("%s: ctrl_frame_stat == TRUE txcnt_timeout=%d, bus->tx_max %d, bus->tx_seq %d\n", + __FUNCTION__, bus->dhd->txcnt_timeout, bus->tx_max, bus->tx_seq)); } #ifdef DHD_FW_COREDUMP /* Collect socram dump */ diff --git a/bcmdhd_1_201_59_x/Makefile b/bcmdhd_1_201_59_x/Makefile index 230d8ed..142fc6f 100644..100755 --- a/bcmdhd_1_201_59_x/Makefile +++ b/bcmdhd_1_201_59_x/Makefile @@ -9,6 +9,7 @@ export CONFIG_BCM6359 = m export CONFIG_BCMDHD_OOB = y DHDCFLAGS = -Wall -Wstrict-prototypes -Dlinux -DBCMDRIVER -DSDTEST \ + -Wno-maybe-uninitialized \ -DBCMDONGLEHOST -DUNRELEASEDCHIP -DBCMDMA32 -DBCMFILEIMAGE \ -DDHDTHREAD -DDHD_DEBUG -DSHOW_EVENTS -DBCMDBG -DGET_OTP_MAC_ENABLE \ -DWIFI_ACT_FRAME -DARP_OFFLOAD_SUPPORT -DSUPPORT_PM2_ONLY \ |