Skip to content

Conversation

@karun2796
Copy link
Contributor

Updated manifest to include separate security type for EAP TLS SHA256 in display of scan results when APs have EAP and PMF enabled.

@zephyrbot zephyrbot added the size: XS A PR changing only a single line of code label Nov 18, 2024
@zephyrbot
Copy link

zephyrbot commented Nov 18, 2024

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
nrf_wifi zephyrproject-rtos/nrf_wifi@71261e2 zephyrproject-rtos/nrf_wifi@f6b950a (main) zephyrproject-rtos/[email protected]

Additional metadata changed:

Name URL Submodules West cmds module.yml
nrf_wifi

DNM label due to: 1 project with metadata changes

Note: This message is automatically posted and updated by the Manifest GitHub Action.

rlubos
rlubos previously approved these changes Nov 20, 2024
jukkar
jukkar previously approved these changes Nov 20, 2024
sachinthegreen
sachinthegreen previously approved these changes Nov 25, 2024
@karun2796 karun2796 dismissed stale reviews from sachinthegreen, jukkar, and rlubos via 982861f November 29, 2024 08:19
@karun2796 karun2796 changed the title manifest: Update hal_nordic manifest: Update nrf_wifi Nov 29, 2024
rado17 pushed a commit to rado17/sdk-zephyr that referenced this pull request Dec 3, 2024
Updated manifest to include separate security types for 802.1X
in display of scan results when APs have EAP and PMF enabled.
BSS display limit based on user-configured non-zero values
set via CMD_INIT, along with support for few other regulatory
domain updates in firmware.

Upstream PR: zephyrproject-rtos/zephyr#81514

Signed-off-by: Karun Kumar Eagalapati <[email protected]>
rado17 added a commit to rado17/sdk-zephyr that referenced this pull request Dec 3, 2024
EAP_TLS_SHA256 was being identified as EAP_TLS in display scan
results. Identify the security type in scan results sent by
RPU and display accordingly.

Upstream PR: zephyrproject-rtos/zephyr#81514

Signed-off-by: Ravi Dondaputi <[email protected]>
rado17 added a commit to rado17/sdk-zephyr that referenced this pull request Dec 3, 2024
Expand the security modes identified in the display-scan
results. Add appropriate strings for corresponding
enumerations.

Upstream PR: zephyrproject-rtos/zephyr#81514

Signed-off-by: Ravi Dondaputi <[email protected]>
krish2718
krish2718 previously approved these changes Dec 4, 2024
karun2796 and others added 3 commits December 4, 2024 22:19
Updated manifest to include separate security types for 802.1X
in display of scan results when APs have EAP and PMF enabled.
BSS display limit based on user-configured non-zero values
set via CMD_INIT, along with support for few other regulatory
domain updates in firmware.

Signed-off-by: Karun Kumar Eagalapati <[email protected]>
EAP_TLS_SHA256 was being identified as EAP_TLS in display scan
results. Identify the security type in scan results sent by
RPU and display accordingly.

Signed-off-by: Ravi Dondaputi <[email protected]>
Expand the security modes identified in the display-scan
results. Add appropriate strings for corresponding
enumerations.

Signed-off-by: Ravi Dondaputi <[email protected]>
Comment on lines +285 to +295
case NRF_WIFI_OPEN:
case NRF_WIFI_WEP:
case NRF_WIFI_WPA:
case NRF_WIFI_WPA2:
case NRF_WIFI_WPA2_256:
case NRF_WIFI_WPA3:
case NRF_WIFI_WAPI:
case NRF_WIFI_FT_EAP_SHA384:
case NRF_WIFI_FT_PSK_SHA384:
case NRF_WIFI_PSK_SHA384:
return WIFI_CIPHER_SUITE_B_NA;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These can be removed as default is NA

extern "C" {
#endif

/** @brief IEEE 802.11 SUITE-B */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/** @brief IEEE 802.11 SUITE-B */
/** @brief NSA SUITE-B crypto suites */

const char *wifi_security_txt(enum wifi_security_type security)
{
if (is_enterprise_security(security)) {
return "IEEE_8021_x";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return "IEEE_8021_x";
return "8021.x";

@MaochenWang1
Copy link
Contributor

FYI @Rex-Chen-NXP

#endif

/** @brief IEEE 802.11 SUITE-B */
enum wifi_cipher_suite_b {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you make it align with 'enum wifi_suiteb_type', then remove one of those to avoid duplicate implementation.

static struct wifi_roaming_params roaming_params;
#endif

const bool is_enterprise_security(enum wifi_security_type security)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

similar with function is_eap_valid_security, pls move one of them to avoid duplicate impl

return "WPA/WPA2/WPA3 PSK";
case WIFI_SECURITY_TYPE_DPP:
return "DPP";
case WIFI_SECURITY_TYPE_EAP_PEAP_MSCHAPV2:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why delete those types?

case NRF_WIFI_EAP:
case NRF_WIFI_EAP_TLS_SHA256:
case NRF_WIFI_FT_EAP:
return WIFI_CIPHER_SUITE_B_NONE;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How to distinguish WIFI_CIPHER_SUITE_B_NA and WIFI_CIPHER_SUITE_B_NONE?
Why NRF_WIFI_FT_EAP_SHA384 belongs to WIFI_CIPHER_SUITE_B_NA?

@github-actions
Copy link

github-actions bot commented Feb 4, 2025

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label Feb 4, 2025
@fabiobaltieri fabiobaltieri added DNM (manifest) This PR should not be merged (controlled by action-manifest) and removed DNM This PR should not be merged (Do Not Merge) labels Feb 4, 2025
@github-actions github-actions bot removed the Stale label Feb 5, 2025
@github-actions
Copy link

github-actions bot commented Apr 6, 2025

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label Apr 6, 2025
@karun2796 karun2796 closed this Apr 17, 2025
@karun2796
Copy link
Contributor Author

Closing this as it's merged to ncs through another PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Networking area: Wi-Fi Wi-Fi DNM (manifest) This PR should not be merged (controlled by action-manifest) manifest manifest-hal_nordic manifest-nrf_wifi size: XS A PR changing only a single line of code Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants