Browse Source

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
Subhranil Choudhury 5 năm trước cách đây
mục cha
commit
22434e5ebd
2 tập tin đã thay đổi với 4 bổ sung2 xóa
  1. 2 1
      dp/inc/cdp_txrx_ops.h
  2. 2 1
      dp/wifi3.0/dp_peer.c

+ 2 - 1
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,

+ 2 - 1
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;
 		}