Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ath9k_htc: support mixed hw and sw crypto #40

Open
twpedersen opened this issue Jan 25, 2014 · 7 comments
Open

ath9k_htc: support mixed hw and sw crypto #40

twpedersen opened this issue Jan 25, 2014 · 7 comments

Comments

@twpedersen
Copy link
Contributor

Right now mesh security only works with ath9k_htc with the nohwcrypt=1 parameter. This disables the hardware crypto engine entirely, and all crypto work is done by mac80211. The only reason we have to do this is so broadcast frames can be properly decrypted (I think, maybe it was management frames). Therefore it would be useful to do regular data crypto in hardware, but management or other "unusual" encryption in software.

@sritam2
Copy link

sritam2 commented Apr 30, 2017

Hi,
Is the security that you are using for the MESH is authsae?? How to configure the "nohwcrypt" parameter. Is it the parameter setting for ath9k_htc device driver in linux kernel ??

@chunyeow
Copy link
Contributor

chunyeow commented May 2, 2017 via email

@sritam2
Copy link

sritam2 commented May 2, 2017

Hi Chun-Yeow,

Thank you for the valuable suggestion.

My doubt is when we make the mesh secure, are the beacons (management frames) encrypted or in plain text. The data frames will always be encrypted in a secure mesh. But are the management frames and control frames also encrypted or are they in plain text. Will "nohwcrypt" parameter play any role in this context ??

Thanks and Regards,
Sritam Paltasingh.

@bcopeland
Copy link
Contributor

bcopeland commented May 2, 2017 via email

@chunyeow
Copy link
Contributor

chunyeow commented May 3, 2017 via email

@sritam2
Copy link

sritam2 commented May 3, 2017

Dear All,

Today after proper experimentation I found out that the TL-WN823N wifi adapter used by me has a real-tek chipset in it and it needs rtl8912eu driver. I installed everything and using "iw list" i discovered that this driver does not support MESH mode. But this WNIC is version2 of TL-WN823N. There is also version1 of TL-WN823N which uses the rtl8912cu device driver which supports the mesh mode.

In wiki/HOWTO page of open80211s it is written that non-mesh enabled mac80211 drivers may require minimal code changes in order to support open80211s.

Does anyone know what can be the code change in order to make rtl8912eu driver to support mesh mode. rtl8912cu chipset already supports mesh mode.

ath9k_htc chipsets in TP-Link WNICs are not commonly available in market nowadays. Another reason i want to stick to TL-WN82XN series is that they support IEEE 802.1X authentication in addition to mesh mode. My bad luck is that the driver (rtl8912eu) for the latest version2 of TL-WN823N does not support mesh mode.

Do you guys know any ath9k chipsets available in market which supports both mesh mode and IEEE 802.1X authentication ??

@sritam2
Copy link

sritam2 commented May 15, 2017

I am using WNIC chipset from realtek which has support for MESH. The kernel module name is rtl8192cu.ko. In order to load it i am using the following command:
"modprobe rtl8192cu nohwcrypt=1"

Is this the correct command to load the kernel module with hardware crypto disabled. As I am facing difficulty in setting up a secured mesh, I am trying to load it with HW crypto disabled.

The real issue is that I am not able to ping between laptops forming the secured mesh network. The secured network gets formed but after formation I am not able to ping.

Please advise.

Thanks and Regards,
Sritam Paltasingh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants