|
@@ -230,7 +230,7 @@ void ol_tx_desc_free(struct ol_txrx_pdev_t *pdev, struct ol_tx_desc_t *tx_desc)
|
|
|
{
|
|
|
qdf_spin_lock_bh(&pdev->tx_mutex);
|
|
|
|
|
|
- if (tx_desc->pkt_type == ol_tx_frm_tso) {
|
|
|
+ if (tx_desc->pkt_type == OL_TX_FRM_TSO) {
|
|
|
if (qdf_unlikely(tx_desc->tso_desc == NULL)) {
|
|
|
qdf_print("%s %d TSO desc is NULL!\n",
|
|
|
__func__, __LINE__);
|
|
@@ -259,7 +259,7 @@ void ol_tx_desc_free(struct ol_txrx_pdev_t *pdev, struct ol_tx_desc_t *tx_desc)
|
|
|
struct ol_tx_flow_pool_t *pool = tx_desc->pool;
|
|
|
|
|
|
#if defined(FEATURE_TSO)
|
|
|
- if (tx_desc->pkt_type == ol_tx_frm_tso) {
|
|
|
+ if (tx_desc->pkt_type == OL_TX_FRM_TSO) {
|
|
|
if (qdf_unlikely(tx_desc->tso_desc == NULL))
|
|
|
qdf_print("%s %d TSO desc is NULL!\n",
|
|
|
__func__, __LINE__);
|
|
@@ -359,10 +359,10 @@ struct ol_tx_desc_t *ol_tx_desc_ll(struct ol_txrx_pdev_t *pdev,
|
|
|
|
|
|
if (msdu_info->tso_info.is_tso) {
|
|
|
tx_desc->tso_desc = msdu_info->tso_info.curr_seg;
|
|
|
- tx_desc->pkt_type = ol_tx_frm_tso;
|
|
|
+ tx_desc->pkt_type = OL_TX_FRM_TSO;
|
|
|
TXRX_STATS_MSDU_INCR(pdev, tx.tso.tso_pkts, netbuf);
|
|
|
} else {
|
|
|
- tx_desc->pkt_type = ol_tx_frm_std;
|
|
|
+ tx_desc->pkt_type = OL_TX_FRM_STD;
|
|
|
}
|
|
|
|
|
|
|
|
@@ -472,7 +472,7 @@ void ol_tx_desc_frame_free_nonstd(struct ol_txrx_pdev_t *pdev,
|
|
|
#endif
|
|
|
trace_str = (had_error) ? "OT:C:F:" : "OT:C:S:";
|
|
|
qdf_nbuf_trace_update(tx_desc->netbuf, trace_str);
|
|
|
- if (tx_desc->pkt_type == ol_tx_frm_no_free) {
|
|
|
+ if (tx_desc->pkt_type == OL_TX_FRM_NO_FREE) {
|
|
|
|
|
|
if (pdev->tx_data_callback.func) {
|
|
|
qdf_nbuf_set_next(tx_desc->netbuf, NULL);
|