From 22434e5ebd4e17977c0e89efd20e5850f3c8b337 Mon Sep 17 00:00:00 2001 From: Subhranil Choudhury Date: Mon, 13 Jan 2020 16:21:34 +0530 Subject: [PATCH] qcacmn: Add ast-type in wds_add Add ast-type as argument in wds peer create command. This helps to identify the ast entry from the time when ast add is done. Change-Id: Ia0c073cf8f2573608e6a84410dffee6edf9b064b --- dp/inc/cdp_txrx_ops.h | 3 ++- dp/wifi3.0/dp_peer.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dp/inc/cdp_txrx_ops.h b/dp/inc/cdp_txrx_ops.h index 774205408d93..85005fdab59d 100644 --- a/dp/inc/cdp_txrx_ops.h +++ b/dp/inc/cdp_txrx_ops.h @@ -954,7 +954,8 @@ struct ol_if_ops { uint8_t *peer_macaddr, const uint8_t *dest_macaddr, uint8_t *next_node_mac, - uint32_t flags); + uint32_t flags, + uint8_t type); int (*peer_update_wds_entry)(struct cdp_ctrl_objmgr_psoc *soc, uint8_t vdev_id, uint8_t *dest_macaddr, diff --git a/dp/wifi3.0/dp_peer.c b/dp/wifi3.0/dp_peer.c index 242e88c83278..6d729659dd18 100644 --- a/dp/wifi3.0/dp_peer.c +++ b/dp/wifi3.0/dp_peer.c @@ -826,7 +826,8 @@ add_ast_entry: peer->mac_addr.raw, mac_addr, next_node_mac, - flags)) { + flags, + ast_entry->type)) { qdf_spin_unlock_bh(&soc->ast_lock); return 0; }