Przeglądaj źródła

qcacmn: Send ast_hash for peer create in nss

Add support to send ast hash during peer create.
This value will be used for packet enqueue to transmit block.

Change-Id: Iea188a4b60f96d7770037265d12e534ee2b55bba
Radha krishna Simha Jiguru 6 lat temu
rodzic
commit
91f9949832
2 zmienionych plików z 3 dodań i 2 usunięć
  1. 2 1
      dp/inc/cdp_txrx_ops.h
  2. 1 1
      dp/wifi3.0/dp_peer.c

+ 2 - 1
dp/inc/cdp_txrx_ops.h

@@ -814,7 +814,8 @@ struct ol_if_ops {
 #endif
 	int  (*peer_map_event)(void *ol_soc_handle, uint16_t peer_id, uint16_t hw_peer_id,
 			uint8_t vdev_id, uint8_t *peer_mac_addr,
-			enum cdp_txrx_ast_entry_type peer_type);
+			enum cdp_txrx_ast_entry_type peer_type,
+			uint32_t tx_ast_hashidx);
 	int (*peer_unmap_event)(void *ol_soc_handle, uint16_t peer_id);
 
 	int (*get_dp_cfg_param)(void *ol_soc_handle, enum cdp_cfg_param_type param_num);

+ 1 - 1
dp/wifi3.0/dp_peer.c

@@ -380,7 +380,7 @@ static inline void dp_peer_map_ast(struct dp_soc *soc,
 			soc->cdp_soc.ol_ops->peer_map_event(
 			soc->ctrl_psoc, peer->peer_ids[0],
 			hw_peer_id, vdev_id,
-			mac_addr, peer_type);
+			mac_addr, peer_type, 0);
 		}
 	} else {
 		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,