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
このコミットが含まれているのは:
Ruchi, Agrawal
2018-05-10 11:19:17 +05:30
committed by nshrivas
コミット bd22540e0d

ファイルの表示

@@ -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(