diff options
author | Thomson Kang <thomson.kang@broadcom.corp-partner.google.com> | 2020-08-18 22:17:54 +0900 |
---|---|---|
committer | Ahmed ElArabawy <arabawy@google.com> | 2020-08-21 00:29:35 +0000 |
commit | 2d9f191ede4c6bb03be4f6d5fa148c20e851f788 (patch) | |
tree | ed60029d63cd90fce669404fcbabb842077ca87c | |
parent | 2c9abd7da3a09079a05f20a63f4bef6411fc7921 (diff) | |
download | bcm43752-2d9f191ede4c6bb03be4f6d5fa148c20e851f788.tar.gz |
bcmdhd: Fixed the packet fate type 10 issue.
issues)
The TX_PKT_FATE_FW_PKT_FREE type was added for a different project.
When packet is freed by the dongle after its real status is sent to host.
This status is not applicable to Android project.
fix)
This commit ignores this packet fate type.
Then, if WLFC_CTL_PKTFLAG_MKTFREE of txstatus happen,
then the sent fate type is TX_PKT_FATE_FW_DROP_OTHER.
Bug: 162393066
Test: Manual
Time usec Walltime Direction Fate Protocol Type Result
191127565 06:43:31.857 TX firmware dropped (other) ICMPv6 MLDv2 report N/A
Signed-off-by: Thomson Kang <thomson.kang@broadcom.corp-partner.google.com>
Change-Id: I59bab864307068b055b18060d0f0af8353447e7b
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
-rwxr-xr-x | dhd_debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dhd_debug.c b/dhd_debug.c index b2d7435..764cad0 100755 --- a/dhd_debug.c +++ b/dhd_debug.c @@ -1526,9 +1526,11 @@ __dhd_dbg_map_tx_status_to_pkt_fate(uint16 status) case WLFC_CTL_PKTFLAG_EXPIRED: pkt_fate = TX_PKT_FATE_FW_DROP_EXPTIME; break; +#ifndef OEM_ANDROID case WLFC_CTL_PKTFLAG_MKTFREE: pkt_fate = TX_PKT_FATE_FW_PKT_FREE; break; +#endif /* !OEM_ANDROID */ default: pkt_fate = TX_PKT_FATE_FW_DROP_OTHER; break; |