qcacmn: desc na change

Part of base changes, move due to dependency on
other changes.

Change-Id: I7d640d2976c4c2c2c156a5223683dc4b28559577
CRs-Fixed: 2283286
This commit is contained in:
Ruchi, Agrawal
2018-07-16 16:45:34 +05:30
committed by nshrivas
vanhempi 253053fe2e
commit c3e68bc67d
3 muutettua tiedostoa jossa 8 lisäystä ja 8 poistoa

Näytä tiedosto

@@ -506,7 +506,7 @@ struct dp_tx_ext_desc_elem_s *dp_tx_prepare_ext_desc(struct dp_vdev *vdev,
qdf_mem_zero(&cached_ext_desc[0], HAL_TX_EXT_DESC_WITH_META_DATA);
if (!msdu_ext_desc) {
DP_STATS_INC(vdev, tx_i.dropped.desc_na, 1);
DP_STATS_INC(vdev, tx_i.dropped.desc_na.num, 1);
return NULL;
}
@@ -609,7 +609,7 @@ struct dp_tx_desc_s *dp_tx_prepare_desc_single(struct dp_vdev *vdev,
/* Allocate software Tx descriptor */
tx_desc = dp_tx_desc_alloc(soc, desc_pool_id);
if (qdf_unlikely(!tx_desc)) {
DP_STATS_INC(vdev, tx_i.dropped.desc_na, 1);
DP_STATS_INC(vdev, tx_i.dropped.desc_na.num, 1);
return NULL;
}
@@ -737,7 +737,7 @@ static struct dp_tx_desc_s *dp_tx_prepare_desc(struct dp_vdev *vdev,
/* Allocate software Tx descriptor */
tx_desc = dp_tx_desc_alloc(soc, desc_pool_id);
if (!tx_desc) {
DP_STATS_INC(vdev, tx_i.dropped.desc_na, 1);
DP_STATS_INC(vdev, tx_i.dropped.desc_na.num, 1);
return NULL;
}