-
Notifications
You must be signed in to change notification settings - Fork 8.2k
wifi: airoc: misc update of airoc wifi driver #74203
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
wifi: airoc: misc update of airoc wifi driver #74203
Conversation
|
Hello @morihisa-momona, and thank you very much for your first pull request to the Zephyr project! |
8f2dc5b to
6aca76b
Compare
|
Hi @jukkar, @carlescufi those changes as well as #72859 are critical to be present in 3.7 releases. Could you help with review? |
drivers/wifi/infineon/airoc_wifi.c
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am confused by the commit log, the existing code defaulted to WPA2-PSK is a passphrase is given, so, new code should check the user requested algo and reject with appropriate error, but I only see mapping here, am I missing something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry. I don't get your point well.
When I configured WPA3-SAE, original code configures WPA2-PSK since it check if pks_length is 0 or not.
Then, I modified to check security type in order to use WPA3-SAE. Am I missing anything.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I understand that, but I was reading the commit log and it was matching older implementation. IIUC, the limitation in the chip is now gone and it supports all security algos? If yes, the fix is good, commit log can be re-worded.
6aca76b to
29f21c6
Compare
drivers/wifi/infineon/airoc_wifi.c
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here for this if statement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
STA fails to connect AP, of which security is open. Signed-off-by: Morihisa Momona <[email protected]>
Updated security modes verification in ap_enable. SoftAP supports following modes: - No security (WHD\_SECURITY\_OPEN) - WPA2-PSK security (WHD_SECURITY_WPA2_AES_PSK) - WPA3-SAE security (WHD_SECURITY_WPA3_SAE) Signed-off-by: Morihisa Momona <[email protected]>
When creating softap, interface is not recognized as up. Signed-off-by: Morihisa Momona <[email protected]>
4e38836 to
e2b6eac
Compare
drivers/wifi/infineon/airoc_wifi.c
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation is wrong
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
Add the support of join and leave of multicast address group. Signed-off-by: Morihisa Momona <[email protected]>
e2b6eac to
8c77c33
Compare
|
@krish2718 can you review comments and approve if ok? |
|
Hi @morihisa-momona! To celebrate this milestone and showcase your contribution, we'd love to award you the Zephyr Technical Contributor badge. If you're interested, please claim your badge by filling out this form: Claim Your Zephyr Badge. Thank you for your valuable input, and we look forward to seeing more of your contributions in the future! 🪁 |
Signed-off-by: Morihisa Momona [email protected]