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:
@@ -931,6 +931,9 @@ static bool dp_cce_classify(struct dp_vdev *vdev, qdf_nbuf_t nbuf)
|
|||||||
sizeof(struct ether_header));
|
sizeof(struct ether_header));
|
||||||
} else {
|
} else {
|
||||||
qos_wh = (qdf_dot3_qosframe_t *) nbuf->data;
|
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(qos_wh->i_fc[0] & QDF_IEEE80211_FC0_SUBTYPE_QOS)) {
|
||||||
if (qdf_unlikely(
|
if (qdf_unlikely(
|
||||||
|
Reference in New Issue
Block a user