qcacmn: In WBM err process read peer_id from peer_meta_data
In WBM error processing read peer_id from peer_meta_data instead of sw_peer_id. This changes is needed because we need to process Rx packet on ML peer. But in MLO case sw_peer_id field contains link_peer_id where as peer_meta_data has ml_peer_id. Change-Id: I3f469adfdf7efa88cb081e94fa9fe0c54c1fb078
This commit is contained in:

committed by
Madan Koyyalamudi

parent
0edc443d5a
commit
41fda10bc5
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -950,6 +951,22 @@ hal_rx_mpdu_start_sw_peer_id_get(hal_soc_handle_t hal_soc_hdl,
|
||||
return hal_soc->ops->hal_rx_mpdu_start_sw_peer_id_get(buf);
|
||||
}
|
||||
|
||||
/**
|
||||
* hal_rx_mpdu_peer_meta_data_get() - Retrieve PEER_META_DATA
|
||||
* @hal_soc_hdl: hal soc handle
|
||||
* @buf: pointer to rx pkt TLV.
|
||||
*
|
||||
* Return: peer meta data
|
||||
*/
|
||||
static inline uint32_t
|
||||
hal_rx_mpdu_peer_meta_data_get(hal_soc_handle_t hal_soc_hdl,
|
||||
uint8_t *buf)
|
||||
{
|
||||
struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl;
|
||||
|
||||
return hal_soc->ops->hal_rx_mpdu_peer_meta_data_get(buf);
|
||||
}
|
||||
|
||||
/*
|
||||
* hal_rx_mpdu_get_tods(): API to get the tods info
|
||||
* from rx_mpdu_start
|
||||
|
Reference in New Issue
Block a user