|
@@ -917,13 +917,17 @@ dp_rx_construct_fraglist(struct dp_peer *peer, int tid, qdf_nbuf_t head,
|
|
int out_of_order = 0;
|
|
int out_of_order = 0;
|
|
int index;
|
|
int index;
|
|
int needs_pn_check = 0;
|
|
int needs_pn_check = 0;
|
|
|
|
+ enum cdp_sec_type sec_type;
|
|
|
|
|
|
prev_pn128[0] = rx_tid->pn128[0];
|
|
prev_pn128[0] = rx_tid->pn128[0];
|
|
prev_pn128[1] = rx_tid->pn128[1];
|
|
prev_pn128[1] = rx_tid->pn128[1];
|
|
|
|
|
|
index = hal_rx_msdu_is_wlan_mcast(soc->hal_soc, msdu) ? dp_sec_mcast :
|
|
index = hal_rx_msdu_is_wlan_mcast(soc->hal_soc, msdu) ? dp_sec_mcast :
|
|
dp_sec_ucast;
|
|
dp_sec_ucast;
|
|
- if (qdf_likely(peer->security[index].sec_type != cdp_sec_type_none))
|
|
|
|
|
|
+ sec_type = peer->security[index].sec_type;
|
|
|
|
+
|
|
|
|
+ if (!(sec_type == cdp_sec_type_none || sec_type == cdp_sec_type_wep128 ||
|
|
|
|
+ sec_type == cdp_sec_type_wep104 || sec_type == cdp_sec_type_wep40))
|
|
needs_pn_check = 1;
|
|
needs_pn_check = 1;
|
|
|
|
|
|
while (msdu) {
|
|
while (msdu) {
|