projects
/
open-ath9k-htc-firmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0207fd
)
Packet injection bug fixing
163/head
author
Clouds Wei
<cloudswei@gmail.com>
Thu, 23 Jul 2020 07:18:12 +0000
(
00:18
-0700)
committer
Clouds Wei
<cloudswei@gmail.com>
Thu, 23 Jul 2020 07:18:12 +0000
(
00:18
-0700)
Fix issue: Packet injection bugs for control frames #162
Signed-off-by: Clouds Wei <cloudswei@gmail.com>
target_firmware/wlan/if_owl.c
patch
|
blob
|
history
diff --git
a/target_firmware/wlan/if_owl.c
b/target_firmware/wlan/if_owl.c
index 6dda78cef6b11c340fada4b4b900a118bed2ee50..919a4784f9e0c4339f751b7ff0666b0938cc4068 100755
(executable)
--- a/
target_firmware/wlan/if_owl.c
+++ b/
target_firmware/wlan/if_owl.c
@@
-1108,7
+1108,6
@@
ath_tgt_send_mgt(struct ath_softc_tgt *sc,adf_nbuf_t hdr_buf, adf_nbuf_t skb,
hdrlen = ieee80211_anyhdrsize(wh);
pktlen = len;
keyix = HAL_TXKEYIX_INVALID;
- pktlen -= (hdrlen & 3);
pktlen += IEEE80211_CRC_LEN;
if (iswep)
@@
-1142,6
+1141,8
@@
ath_tgt_send_mgt(struct ath_softc_tgt *sc,adf_nbuf_t hdr_buf, adf_nbuf_t skb,
atype = HAL_PKT_TYPE_NORMAL;
break;
+ case IEEE80211_FC0_TYPE_CTL:
+ flags |= HAL_TXDESC_NOACK;
default:
atype = HAL_PKT_TYPE_NORMAL;
break;