From: Patrick Daume <patrick.daume@dedrone.com>
To: "kvalo@codeaurora.org" <kvalo@codeaurora.org>
Cc: "ath10k@lists.infradead.org" <ath10k@lists.infradead.org>
Subject: Re: Qualcomm Atheros QCA6174 monitoring mode receiving no data
Date: Thu, 13 Jun 2019 09:03:22 +0000 [thread overview]
Message-ID: <1560416602.23005.13.camel@dedrone.com> (raw)
In-Reply-To: <1560416049.23005.9.camel@dedrone.com>
I have a solution for this issue,
please find out if its the right way
htt.h:2226
/*
* Should be: sizeof(struct htt_host_rx_desc) + max rx MSDU size,
>> * sizeof(struct htt_host_rx_desc) 360 bytes + max MPDU/~MDSU size
802.11AC 16.384 bytes (2^14) + (2^9)
* rounded up to a cache line size.
*/
>> #define HTT_RX_BUF_SIZE 16896
#define HTT_RX_MSDU_SIZE (HTT_RX_BUF_SIZE - (int)sizeof(struct
htt_rx_desc))
htt_rx.c:1390, ath10k_htt_rx_h_undecap_raw
if (WARN_ON_ONCE(!(is_first && is_last) && !msdu_limit_err))
return;
/* We see zero length msdus and greater max lenght msdus,
* not sure why. At least don't try to trim it further.
*/
>> if (unlikely(msdu->len < FCS_LEN || msdu->len > HTT_RX_MSDU_SIZE))
>> return;
skb_trim(msdu, msdu->len - FCS_LEN);
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
prev parent reply other threads:[~2019-06-13 9:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-31 9:57 Qualcomm Atheros QCA6174 monitoring mode receiving no data Patrick Daume
2019-06-03 9:25 ` Kalle Valo
2019-06-03 12:50 ` Patrick Daume
2019-06-05 5:09 ` Kalle Valo
2019-06-05 7:18 ` Patrick Daume
2019-06-05 15:38 ` Patrick Daume
2019-06-13 8:54 ` Patrick Daume
2019-06-13 9:03 ` Patrick Daume [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1560416602.23005.13.camel@dedrone.com \
--to=patrick.daume@dedrone.com \
--cc=ath10k@lists.infradead.org \
--cc=kvalo@codeaurora.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.