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
This commit is contained in:
Radha krishna Simha Jiguru 2018-09-10 17:14:52 +05:30 • committed by nshrivas
commit 91f9949832
2 changed files with 3 additions and 2 deletions

View file

@ -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);

View file

@ -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,