mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacmn: Modify frag restitch param for frag based handling
Dont pass las_msdu as a param to restitch func for frag approach as it doesn't contain valid value and is not used in the restitch api. Change-Id: I974a8ae5e6ce4a9bf04985cbd37e103700f48301
This commit is contained in:
parent
d1f2d7a868
commit
5eb6324b3e
1 changed files with 2 additions and 5 deletions
|
|
@ -481,14 +481,13 @@ void dp_rx_msdus_set_payload(struct dp_soc *soc, qdf_nbuf_t msdu)
|
|||
#ifdef DP_RX_MON_MEM_FRAG
|
||||
/**
|
||||
* dp_rx_mon_frag_restitch_mpdu_from_msdus() - Restitch logic to
|
||||
* convert to dot3 header and adjust frag memory pointing to
|
||||
* convert to 802.3 header and adjust frag memory pointing to
|
||||
* dot3 header and payload in case of Non-Raw frame.
|
||||
*
|
||||
* @soc: struct dp_soc *
|
||||
* @mac_id: MAC id
|
||||
* @head_msdu: MPDU containing all MSDU as a frag
|
||||
* @rx_status: struct cdp_mon_status *
|
||||
* @pf_tag: Memory to store Protocol flow tag for every MSDU
|
||||
*
|
||||
* Return: Adjusted nbuf containing MPDU worth info.
|
||||
*/
|
||||
|
|
@ -496,7 +495,6 @@ static inline
|
|||
qdf_nbuf_t dp_rx_mon_frag_restitch_mpdu_from_msdus(struct dp_soc *soc,
|
||||
uint32_t mac_id,
|
||||
qdf_nbuf_t head_msdu,
|
||||
qdf_nbuf_t last_msdu,
|
||||
struct cdp_mon_status *rx_status)
|
||||
{
|
||||
uint32_t wifi_hdr_len, sec_hdr_len, msdu_llc_len,
|
||||
|
|
@ -1298,8 +1296,7 @@ qdf_nbuf_t dp_rx_mon_restitch_mpdu(struct dp_soc *soc, uint32_t mac_id,
|
|||
{
|
||||
if (qdf_nbuf_get_nr_frags(head_msdu))
|
||||
return dp_rx_mon_frag_restitch_mpdu_from_msdus(soc, mac_id,
|
||||
head_msdu,
|
||||
tail_msdu, rs);
|
||||
head_msdu, rs);
|
||||
else
|
||||
return dp_rx_mon_restitch_mpdu_from_msdus(soc, mac_id,
|
||||
head_msdu,
|
||||
|
|
|
|||
Loading…
Reference in a new issue