qcacmn: Use new APIs to get dp handles

SON and DP modules use new APIs to get dp handles,

Change-Id: I1639b946f1660fcaa21b76688909451dcc0f94cc
CRs-Fixed: 2177109
此提交包含在:
Srinivas Pitla
2018-01-24 12:30:51 +05:30
提交者 snandini
父節點 cc75651c34
當前提交 f6b4bc8f02
共有 3 個檔案被更改,包括 33 行新增17 行删除

查看文件

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2016 The Linux Foundation. All rights reserved.
* Copyright (c) 2011-2016,2018 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -72,8 +72,10 @@ void ol_ll_pdev_tx_unlock(void *);
qdf_spin_unlock_bh(&((_x)->peer_lock[_id]))
#else
#define OSIF_VAP_TX_LOCK(_x) ol_ll_pdev_tx_lock((_x)->iv_txrx_handle)
#define OSIF_VAP_TX_UNLOCK(_x) ol_ll_pdev_tx_unlock((_x)->iv_txrx_handle)
#define OSIF_VAP_TX_LOCK(_x) ol_ll_pdev_tx_lock( \
wlan_vdev_get_dp_handle((_x)->os_if_vdev))
#define OSIF_VAP_TX_UNLOCK(_x) ol_ll_pdev_tx_unlock( \
wlan_vdev_get_dp_handle((_x)->os_if_vdev))
#define OL_TX_FLOW_CTRL_LOCK(_x)
#define OL_TX_FLOW_CTRL_UNLOCK(_x)