mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
qcacmn: CCE Classify only for non encrypted packets
Enable raw mode cce classification only for packets for which WEP bit is not set Change-Id: I5249f197d5a3e00c73c6866011ba5f3a36868c0f CRs-Fixed: 2132317
This commit is contained in:
parent
b901c80874
commit
bd22540e0d
1 changed files with 3 additions and 0 deletions
|
|
@ -931,6 +931,9 @@ static bool dp_cce_classify(struct dp_vdev *vdev, qdf_nbuf_t nbuf)
|
|||
sizeof(struct ether_header));
|
||||
} else {
|
||||
qos_wh = (qdf_dot3_qosframe_t *) nbuf->data;
|
||||
/* For encrypted packets don't do any classification */
|
||||
if (qdf_unlikely(qos_wh->i_fc[1] & IEEE80211_FC1_WEP))
|
||||
return false;
|
||||
|
||||
if (qdf_unlikely(qos_wh->i_fc[0] & QDF_IEEE80211_FC0_SUBTYPE_QOS)) {
|
||||
if (qdf_unlikely(
|
||||
|
|
|
|||
Loading…
Reference in a new issue