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

wifi: Add full AP mode support (using hostapd) #75224

Merged
merged 6 commits into from
Aug 28, 2024

Commits on Aug 27, 2024

  1. modules: hostap: Add support of setting up softAP with hostapd

    Added new flag CONFIG_WIFI_NM_HOSTAPD_AP for hostapd support. Once this
    flag is enabled, softAP will be setup by hostapd. Both wpa_supplicant
    and hostapd uses same task and eloop.
    Included necessary hostapd files when compiling wifi samples if
    CONFIG_WIFI_NM_HOSTAPD_AP is enabled. Added hostapd support for all
    softAP command of L2 wifi shell commands.
    
    Signed-off-by: Hui Bai <[email protected]>
    nxf58150 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    936eae1 View commit details
    Browse the repository at this point in the history
  2. modules: hostap: Enable CONFIG_IEEE80211AC flag for hostapd support.

    Enable CONFIG_IEEE80211AC flag for 11AC support when setting up
    AP with hostapd.
    
    Signed-off-by: Hui Bai <[email protected]>
    nxf58150 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    23c3ca7 View commit details
    Browse the repository at this point in the history
  3. net: l2: wifi: Increase max count of connected STA

    Increase max count of CONFIG_WIFI_SHELL_MAX_AP_STA from 5 to 8. The
    SoftAP of NXP wifi chip can support up to 8 stations.
    
    Signed-off-by: Hui Bai <[email protected]>
    nxf58150 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    2c381f1 View commit details
    Browse the repository at this point in the history
  4. modules: hostap: Supports link mode of legacy STA.

    Link mode shows unknown when legacy (A or bg only) device connects to
    APUT. Set the link mode to WIFI_2 when the host freq over 4000 and set
    link mode to WIFI_3 when the host freq over 2000.
    
    Signed-off-by: Hui Bai <[email protected]>
    nxf58150 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    8e14d72 View commit details
    Browse the repository at this point in the history
  5. net: l2: wifi: Fix issue command wifi connect fail.

    Increase wifi connect input parameters max count to 13. Previous count
    7 is not enough if other security type is supported.
    When enabling softAP, the parameter cnx_params in cmd_wifi_ap_enable()
    is with static key word. Then the parameter will always save
    configurations of last time. Remove static keyword to eliminate effects
    of configs from last tim and do memset before setting up softAP.
    
    Signed-off-by: Hui Bai <[email protected]>
    nxf58150 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    e0fc74a View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. manifest: Update hostap to latest

    Update hostap repo to latest in west.yml
    
    Signed-off-by: Hui Bai <[email protected]>
    nxf58150 committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    b7256b5 View commit details
    Browse the repository at this point in the history