From: Ben Greear <greearb@candelatech.com>
To: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Cc: ath10k@lists.infradead.org
Subject: How to make software re-calc received frames with bad FCS?
Date: Wed, 08 Jan 2014 10:36:31 -0800 [thread overview]
Message-ID: <52CD9AAF.1040407@candelatech.com> (raw)
I'm back to trying to get multiple stations working to same AP
with WPA2 on ath10k.
I tried doing 'nohwcrypt', but I had no luck with that. I think
the firmware would require a fair bit of changes to make that happen.
So, a second plan is to just tell the firmware to use hardware crypt
for the VIFs. This would have a good benefit of offloading the tx
path, at least.
This seems to work for transmit, but on receive, the hardware hash
collides since 2+ stations have same peer (ie, the AP).
I do receive packets, but they are flagged with FCS errors (and I think
there is no re-assembly of ampdu, but I'm not sure how much that matters).
My thought is to somehow flag these packets as needing to be decrypted
by software instead, similar to how the normal nohwcrypt logic works.
Any suggestions for how to go about attempting this? Maybe
just force remove the CRC failure bit from the status before
passing up the stack?
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
WARNING: multiple messages have this Message-ID (diff)
From: Ben Greear <greearb@candelatech.com>
To: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Cc: ath10k@lists.infradead.org
Subject: How to make software re-calc received frames with bad FCS?
Date: Wed, 08 Jan 2014 10:36:31 -0800 [thread overview]
Message-ID: <52CD9AAF.1040407@candelatech.com> (raw)
I'm back to trying to get multiple stations working to same AP
with WPA2 on ath10k.
I tried doing 'nohwcrypt', but I had no luck with that. I think
the firmware would require a fair bit of changes to make that happen.
So, a second plan is to just tell the firmware to use hardware crypt
for the VIFs. This would have a good benefit of offloading the tx
path, at least.
This seems to work for transmit, but on receive, the hardware hash
collides since 2+ stations have same peer (ie, the AP).
I do receive packets, but they are flagged with FCS errors (and I think
there is no re-assembly of ampdu, but I'm not sure how much that matters).
My thought is to somehow flag these packets as needing to be decrypted
by software instead, similar to how the normal nohwcrypt logic works.
Any suggestions for how to go about attempting this? Maybe
just force remove the CRC failure bit from the status before
passing up the stack?
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next reply other threads:[~2014-01-08 18:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-08 18:36 Ben Greear [this message]
2014-01-08 18:36 ` How to make software re-calc received frames with bad FCS? Ben Greear
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=52CD9AAF.1040407@candelatech.com \
--to=greearb@candelatech.com \
--cc=ath10k@lists.infradead.org \
--cc=linux-wireless@vger.kernel.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.