qcacld-3.0: TDLS sta_id cleanup for hdd_update_dp_vdev_flags
hdd_update_dp_vdev_flags takes sta_id as input and as a part of clean up of sta_id, replace it by peer mac address. Change-Id: Id9a8c132546d312f5b048485de48535807e2db4b CRs-Fixed: 2506497
This commit is contained in:

committed by
nshrivas

parent
a93de1c382
commit
3199046f44
@@ -1171,7 +1171,7 @@ QDF_STATUS tdls_process_del_peer(struct tdls_oper_request *req)
|
|||||||
|
|
||||||
if (soc_obj->tdls_dp_vdev_update)
|
if (soc_obj->tdls_dp_vdev_update)
|
||||||
soc_obj->tdls_dp_vdev_update(&soc_obj->soc,
|
soc_obj->tdls_dp_vdev_update(&soc_obj->soc,
|
||||||
peer->sta_id,
|
&peer->peer_mac,
|
||||||
soc_obj->tdls_update_dp_vdev_flags,
|
soc_obj->tdls_update_dp_vdev_flags,
|
||||||
false);
|
false);
|
||||||
|
|
||||||
@@ -1718,7 +1718,7 @@ QDF_STATUS tdls_process_enable_link(struct tdls_oper_request *req)
|
|||||||
|
|
||||||
if (soc_obj->tdls_dp_vdev_update)
|
if (soc_obj->tdls_dp_vdev_update)
|
||||||
soc_obj->tdls_dp_vdev_update(&soc_obj->soc,
|
soc_obj->tdls_dp_vdev_update(&soc_obj->soc,
|
||||||
peer->sta_id,
|
&peer->peer_mac,
|
||||||
soc_obj->tdls_update_dp_vdev_flags,
|
soc_obj->tdls_update_dp_vdev_flags,
|
||||||
((peer->link_status ==
|
((peer->link_status ==
|
||||||
TDLS_LINK_CONNECTED) ? true : false));
|
TDLS_LINK_CONNECTED) ? true : false));
|
||||||
@@ -1939,7 +1939,7 @@ QDF_STATUS tdls_process_remove_force_peer(struct tdls_oper_request *req)
|
|||||||
|
|
||||||
if (soc_obj->tdls_dp_vdev_update)
|
if (soc_obj->tdls_dp_vdev_update)
|
||||||
soc_obj->tdls_dp_vdev_update(&soc_obj->soc,
|
soc_obj->tdls_dp_vdev_update(&soc_obj->soc,
|
||||||
peer->sta_id,
|
&peer->peer_mac,
|
||||||
soc_obj->tdls_update_dp_vdev_flags,
|
soc_obj->tdls_update_dp_vdev_flags,
|
||||||
false);
|
false);
|
||||||
|
|
||||||
|
@@ -532,7 +532,7 @@ void tdls_indicate_teardown(struct tdls_vdev_priv_obj *tdls_vdev,
|
|||||||
|
|
||||||
if (tdls_soc->tdls_dp_vdev_update)
|
if (tdls_soc->tdls_dp_vdev_update)
|
||||||
tdls_soc->tdls_dp_vdev_update(&tdls_soc->soc,
|
tdls_soc->tdls_dp_vdev_update(&tdls_soc->soc,
|
||||||
curr_peer->sta_id,
|
&curr_peer->peer_mac,
|
||||||
tdls_soc->tdls_update_dp_vdev_flags,
|
tdls_soc->tdls_update_dp_vdev_flags,
|
||||||
false);
|
false);
|
||||||
|
|
||||||
|
@@ -603,7 +603,7 @@ typedef QDF_STATUS
|
|||||||
/* This callback is used to update datapath vdev flags */
|
/* This callback is used to update datapath vdev flags */
|
||||||
typedef QDF_STATUS
|
typedef QDF_STATUS
|
||||||
(*tdls_dp_vdev_update_flags_callback)(void *cbk_data,
|
(*tdls_dp_vdev_update_flags_callback)(void *cbk_data,
|
||||||
uint8_t sta_id,
|
struct qdf_mac_addr *peer_mac,
|
||||||
uint32_t vdev_param,
|
uint32_t vdev_param,
|
||||||
bool is_link_up);
|
bool is_link_up);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user