1
0

qcacmn: cmn_ops changes in umac, tgt_if for umac-dp decoupling

umac and tgt_if module changes due to umac-dp decoupling changes in
cmn_ops APIs.

Change-Id: If8a7bdb879660f1d15a067ce9c76f96e6dfb7140
Este cometimento está contido em:
Pavankumar Nandeshwar
2019-12-18 23:23:14 +05:30
cometido por nshrivas
ascendente a234716d1d
cometimento 61392d0275
3 ficheiros modificados com 7 adições e 18 eliminações

Ver ficheiro

@@ -138,7 +138,6 @@ static QDF_STATUS mlme_vdev_obj_destroy_handler(struct wlan_objmgr_vdev *vdev,
struct vdev_mlme_obj *vdev_mlme;
struct wlan_objmgr_psoc *psoc;
struct cdp_soc_t *soc_txrx_handle;
struct cdp_vdev *vdev_txrx_handle;
if (!vdev) {
mlme_err(" VDEV is NULL");
@@ -153,10 +152,9 @@ static QDF_STATUS mlme_vdev_obj_destroy_handler(struct wlan_objmgr_vdev *vdev,
psoc = wlan_vdev_get_psoc(vdev);
soc_txrx_handle = (struct cdp_soc_t *)wlan_psoc_get_dp_handle(psoc);
vdev_txrx_handle = wlan_vdev_get_dp_handle(vdev);
if (soc_txrx_handle && vdev_txrx_handle) {
if (soc_txrx_handle) {
wlan_vdev_set_dp_handle(vdev, NULL);
cdp_vdev_detach(soc_txrx_handle, vdev_txrx_handle,
cdp_vdev_detach(soc_txrx_handle, wlan_vdev_get_id(vdev),
NULL, NULL);
}

Ver ficheiro

@@ -57,7 +57,6 @@ QDF_STATUS tgt_vdev_mgr_create_send(
struct wlan_objmgr_pdev *pdev;
struct wlan_objmgr_vdev *vdev;
ol_txrx_soc_handle soc_txrx_handle;
struct cdp_pdev *pdev_txrx_handle;
struct cdp_vdev *vdev_txrx_handle;
enum wlan_op_mode cdp_txrx_opmode;
enum wlan_op_subtype cdp_txrx_subtype;
@@ -95,12 +94,11 @@ QDF_STATUS tgt_vdev_mgr_create_send(
vdev_addr = wlan_vdev_mlme_get_macaddr(vdev);
pdev = wlan_vdev_get_pdev(vdev);
soc_txrx_handle = wlan_psoc_get_dp_handle(psoc);
pdev_txrx_handle = wlan_pdev_get_dp_handle(pdev);
if (!soc_txrx_handle || !pdev_txrx_handle)
if (!soc_txrx_handle)
return QDF_STATUS_E_FAILURE;
vdev_txrx_handle = cdp_vdev_attach(soc_txrx_handle,
pdev_txrx_handle,
wlan_objmgr_pdev_get_pdev_id(pdev),
vdev_addr, vdev_id,
cdp_txrx_opmode,
cdp_txrx_subtype);