qcacmn: move some hal functions to hal_generic_api.h
Functions hal_rx_wbm_err_info_get, hal_tx_comp_get_release_reason, hal_rx_dump_mpdu_start_tlv uses some hardware macros directly and the value differs between qca8074v1 and qca8074v2 targets. Move these functions to generic api file and compile it per target. Change-Id: Ib78fb6e69238577aac64da3f60f38a72cee316b0
This commit is contained in:

committed by
nshrivas

parent
fa1d9c7098
commit
764219e1a8
@@ -1191,7 +1191,7 @@ dp_rx_wbm_err_process(struct dp_soc *soc, void *hal_ring, uint32_t quota)
|
||||
* save the wbm desc info in nbuf TLV. We will need this
|
||||
* info when we do the actual nbuf processing
|
||||
*/
|
||||
hal_rx_wbm_err_info_get(ring_desc, &wbm_err_info);
|
||||
hal_rx_wbm_err_info_get(ring_desc, &wbm_err_info, hal_soc);
|
||||
wbm_err_info.pool_id = rx_desc->pool_id;
|
||||
hal_rx_wbm_err_info_set_in_tlv(qdf_nbuf_data(nbuf),
|
||||
&wbm_err_info);
|
||||
|
Reference in New Issue
Block a user