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

V2.6 branch #18882

Closed
wants to merge 92 commits into from
Closed

V2.6 branch #18882

wants to merge 92 commits into from

Commits on Mar 13, 2024

  1. ci: use forked branches of CI/Verification repositories

    * Jenkinsfile loads CI_LIB@v2.6-branch
    * 99-default-test-nrf.yml loads v2.6-branch of test-fw-nrfconnect-nrf
    
    Signed-off-by: Thomas Stilwell <Thomas.Stilwell@nordicsemi.no>
    thst-nordic committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    30f48a6 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

  1. applications: matter: Avoid provider duplicates on the recovery list

    We need to ensure that the BLE provider doesn't exist on the
    recovery list to avoid putting it there once again.
    
    Signed-off-by: Arkadiusz Balys <arkadiusz.balys@nordicsemi.no>
    ArekBalysNordic authored and rlubos committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    25f9940 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. manifest: matter: pull fix for insufficient resources

    This commit increases number of available packet buffers in the system.
    
    Signed-off-by: Łukasz Duda <lukasz.duda@nordicsemi.no>
    LuDuda authored and rlubos committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    9696753 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. modules: hostap: Fix band selection

    If user selects a band, then we should restrict scanning channels to
    that band, but using freq_list will only filter the results.
    
    Fixes SHEL-2626.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and rlubos committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    25e3625 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. manifest: sdk-nrfxlib: Pull nRF70 v2.6 patch update rev#352850030ab

    Update nRF70 release/v2.6 firmware patch.
    
    Signed-off-by: Karun Kumar Eagalapati <karun.kumar@nordicsemi.no>
    karun2796 authored and cvinayak committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    155d9c6 View commit details
    Browse the repository at this point in the history
  2. manifest: sdk-hostap: Pull new NW selection algorithm

    This algo is useful to choose the best RSSI network independent of band.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and cvinayak committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    b64f971 View commit details
    Browse the repository at this point in the history
  3. modules: hostap: Add configuration options for NW selection

    To cater for different needs add an configuration options for WPA
    supplicant network selection (scan results sorting). The default is
    still left unchanged.
    
    Fixes SHEL-2626 (when using "reliability" based NW selection).
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and cvinayak committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    6b3aa5d View commit details
    Browse the repository at this point in the history
  4. manifest: sdk-nrfxlib: Pull nRF70 v2.6 patch update rev#00fe781f839

    Updating nRF70 release/v2.6 firmware patch.
    
    Signed-off-by: Karun Kumar Eagalapati <karun.kumar@nordicsemi.no>
    karun2796 authored and cvinayak committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    10948b7 View commit details
    Browse the repository at this point in the history
  5. drivers: wifi: Fix MAC address set regression

    MAC address setting is a local operation i.e., doesn't need any FMAC
    interaction and is essential for bringing the up driver in case OTP has
    no programmed MAC address. This doesn't need any FMAC context checks.
    
    Fixes SHEL-2675.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and cvinayak committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    22dfb97 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. manifest: update Zephyr revision

    Pull a fix for PBKDF2 key generation API in OpenThread
    
    Signed-off-by: Maciej Baczmanski <maciej.baczmanski@nordicsemi.no>
    maciejbaczmanski authored and cvinayak committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    76da60e View commit details
    Browse the repository at this point in the history
  2. manifest: Update sdk-zephyr revision

    Update sdk-zephyr revision to include TCP fixes.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
    rlubos committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    9c7a573 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. modules: hostap: Increase the stack size for net_mgmt

    Due to recent changes in hostap to move few buffers from heap->stack (to
    improve the reliability of allocations) this has increased the stack
    size and with another recent change to increase the max polling sockets
    this puts over the 4096 stack size for net_mgmt causing stack overflow.
    
    Increase the stack size for net_mgmt to fix SHEL-2640 and SHEL-2676.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and rlubos committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    dda56d8 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2024

  1. drivers: wifi: Add a config option for AP dead detection timeout

    This is handy esp. in crowded channel environments to avoid false AP
    dead detections, the default is chosen accordingly.
    
    Implements SHEL-2689.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and cvinayak committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    1a03fa0 View commit details
    Browse the repository at this point in the history
  2. manifest: sdk-nrfxlib: Pull support for sending AP dead detection tim…

    …eout
    
    Pull sending AP dead detection timeout to UMAC.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and cvinayak committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    de49c37 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2024

  1. manifest: sdk-zephyr: Pull changes for auto security

    Pull in changes done for WPA Auto security support.
    
    Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
    rado17 authored and cvinayak committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    01609df View commit details
    Browse the repository at this point in the history
  2. modules: hostap: Support BSSID configuration for connect command

    Support BSSID configuration while setting up the network information
    as part of the connect command processing.
    
    Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
    rado17 authored and cvinayak committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    7dcfb77 View commit details
    Browse the repository at this point in the history
  3. modules: hostap: Add support for WPA Auto security

    Support WPA Auto security mode wherein supplicant can
    implicitly choose the highest security among WPA, WPA2
    and WPA3 for association with a network based on network support.
    
    Fixes SHEL-1131.
    
    Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
    rado17 authored and cvinayak committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    7ccdb32 View commit details
    Browse the repository at this point in the history
  4. doc: wifi: Update description for connect command

    The `connect` command has been updated to take key-value style
    arguments. Update the description to include this information.
    
    Fixes SHEL-2699.
    
    Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
    rado17 authored and cvinayak committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    3911a3a View commit details
    Browse the repository at this point in the history
  5. samples: Use defaults from hostap

    When WPA supplicant is enabled, use the default from hostap which sets
    the appropriate value rather than overriding it. This helps us maintain
    this setting.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and cvinayak committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    697494c View commit details
    Browse the repository at this point in the history
  6. matter: Increase default retry interval for Thread

    The current 800ms is not enough in real setups, where Thread
    routers must serve as intermediate hops for many parallel
    conversations. Bump this to 2s.
    
    Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
    Damian-Nordic authored and cvinayak committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    3ae80a7 View commit details
    Browse the repository at this point in the history
  7. snippets: nrf70-debug: Update shell stack size

    Shell stack size is now increased, but forgot to update the debug
    snippet.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and cvinayak committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    45683e9 View commit details
    Browse the repository at this point in the history
  8. samples: wifi: shell: Increase shell stack size

    Stack size was increased in 77cad23.
    But connecion attempts, when done from `conn_mgr` module, add
    a couple of levels of depth which causes the stack usage to exceed
    the allocated space. Increasing the stack size by 200 bytes takes
    care of this.
    
    Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
    rado17 authored and cvinayak committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    8cef1e9 View commit details
    Browse the repository at this point in the history
  9. manifest: Update zephyr revision

    Pull in a fix in pinctrl that prevents the nrf_qspi_nor driver from
    failing to initialize when the flash chip is configured to work in
    non-Quad mode.
    
    Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
    anangl authored and cvinayak committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    735bd02 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

  1. manifest: sdk-nrfxlib: Pull nRF70 v2.6 patch update rev#8fe7ff0425f

    Updating nRF70 release/v2.6 firmware patch.
    
    Signed-off-by: Karun Kumar Eagalapati <karun.kumar@nordicsemi.no>
    karun2796 authored and cvinayak committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    0dcd17e View commit details
    Browse the repository at this point in the history
  2. doc: Matter: doc fixes for v2.6.1

    Kconfig options that were application-specific had not been documented.
    This resulted in mentions in documentation not linking to anything.
    
    CSA has changed the structure of their website.
    This fixes the affected links in our documentation.
    
    Signed-off-by: Wille Backman <wille.backman@nordicsemi.no>
    wiba-nordic authored and cvinayak committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    689d651 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. doc: update docs for 2.6.1

    Updating and creating release-related doc files.
    
    Signed-off-by: Richa Pandey <richa.pandey@nordicsemi.no>
    richabp authored and cvinayak committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    9fd7375 View commit details
    Browse the repository at this point in the history
  2. samples: wifi: Enable flash for OpenThread

    OpenThread requires flash because it uses the Trusted Storage
    subsystem to store persistent keys in Internal Trusted Storage.
    
    Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
    Vge0rge authored and cvinayak committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    077acd5 View commit details
    Browse the repository at this point in the history
  3. nrf_security: Don't build the psa_its_file

    We don't suppor the psa_its_file implementation
    so don't include it in the build.
    
    Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
    Vge0rge authored and cvinayak committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    310bcb2 View commit details
    Browse the repository at this point in the history
  4. nrf_security: Don't use CC3XX define in wrappers

    Don't use the define from the CC3XX library in the
    PSA crypto driver wrappers file. There are is a corner
    case in which we will have to build this file without
    including the headers for CC3XX.
    
    Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
    Vge0rge authored and cvinayak committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    6b30418 View commit details
    Browse the repository at this point in the history
  5. nrf_security: Add experimental legacy and PSA

    Add experimental symbol for legacy and PSA crypto
    usage. This feature might be removed without notice
    and should not be used in production.
    
    Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
    Vge0rge authored and cvinayak committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    3ebf609 View commit details
    Browse the repository at this point in the history
  6. samples: wifi: Enable LTO for WIFI sample

    Enable LTO for the WIFI shell sample to fix
    flash overlfow issue. LTO is experimental but
    the same goes for using legacy crypto and PSA
    crypto at the same time and this sample does that
    as well.
    
    Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
    Vge0rge authored and cvinayak committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    d53d2b2 View commit details
    Browse the repository at this point in the history
  7. ext: oberon: Backport legacy + PSA fix

    This fixes an issue in nrf_security which allows
    to support PSA APIs with Oberon PSA core when
    legacy mbedTLS APIs are used.
    
    Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
    Vge0rge authored and cvinayak committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    b7d2405 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. doc: fix software maturity table 2.6.1

    Fixed software maturity table in 2.6.1 to match
    it with 2.6.0.
    
    Signed-off-by: Richa Pandey <richa.pandey@nordicsemi.no>
    richabp authored and cvinayak committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    c7d01f3 View commit details
    Browse the repository at this point in the history
  2. manifest: NCS 2.6.1

    Tagged repositories as required.
    
    Signed-off-by: Vinayak Kariappa Chettimada <vinayak.kariappa.chettimada@nordicsemi.no>
    cvinayak committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    d2c9c3d View commit details
    Browse the repository at this point in the history
  3. version: Update VERSION to 2.6.1

    NCS version has been set to 2.6.1.
    
    Signed-off-by: Vinayak Kariappa Chettimada <vinayak.kariappa.chettimada@nordicsemi.no>
    cvinayak committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    eef645c View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. samples: wifi: wfa_qt_app: Fix stack sizes

    Hostap now uses more stack, so, calibrate and increase stack sizes.
    
    Fixes SHEL-2754.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and rlubos committed May 31, 2024
    Configuration menu
    Copy the full SHA
    138be59 View commit details
    Browse the repository at this point in the history
  2. modules: wfa-qt: Fix memory leak

    The memory for format is leaked. Instead of fixing the leak, move away
    from malloc based implementation it is overkill for logging and also
    protect the prints using a mutex, this should have been done even with
    malloc/free for thread safety (apart from inherent malloc/free thread
    safety).
    
    Fixes SHEL-2274.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and rlubos committed May 31, 2024
    Configuration menu
    Copy the full SHA
    2815774 View commit details
    Browse the repository at this point in the history
  3. modules: wfa-qt: Fix handling failures

    The response handler doesn't check for failures and they will be
    ignored, add a check for failures and return failure.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and rlubos committed May 31, 2024
    Configuration menu
    Copy the full SHA
    e656657 View commit details
    Browse the repository at this point in the history
  4. samples: wifi: wfa_qt_app: Decrease the libc heap

    Now that the memory leak has been fixed, we don't need 100K heap for QT
    app.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and rlubos committed May 31, 2024
    Configuration menu
    Copy the full SHA
    7a6e01e View commit details
    Browse the repository at this point in the history
  5. manifest: sdk-wfa-qt: Pull fix for heap corruption

    Fixes heap corruption seen in SVD test suites.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and rlubos committed May 31, 2024
    Configuration menu
    Copy the full SHA
    aabae14 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. manifest: sdk-nrfxlib: Pull nRF70 v2.6 patch update rev#ff06137d3d7

    Updating nRF70 release/v2.6 firmware patch.
    
    Signed-off-by: Karun Kumar Eagalapati <karun.kumar@nordicsemi.no>
    karun2796 authored and rlubos committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    c7770a6 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. manifest: update sdk-zephyr with OpenThread fix

    Manifest update with fix for OpenThread.
    
    Signed-off-by: Eduardo Montoya <eduardo.montoya@nordicsemi.no>
    edmont authored and anangl committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    a0e609f View commit details
    Browse the repository at this point in the history
  2. manifest: sdk-nrfxlib: Pull nRF70 patch update rev#32c836f2a83

    Update nRF70 firmware patch.
    
    Signed-off-by: Prasun Sinha <Prasun.Sinha@nordicsemi.no>
    prsi98 authored and anangl committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    49104f5 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. drivers: wifi: Option for Qos NULL frame based power save

    [SHEL-2947] QoS null frame based legacy power save support.
    
    Signed-off-by: Ajay Parida <ajay.parida@nordicsemi.no>
    ajayparida authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    c9ecb6f View commit details
    Browse the repository at this point in the history
  2. drivers: wifi: Change mode to mechanism

    [SHEL-2947] Changing naming of power save mode
    to mechanism(Text change).
    
    Signed-off-by: Ajay Parida <ajay.parida@nordicsemi.no>
    ajayparida authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    2bb8bd0 View commit details
    Browse the repository at this point in the history
  3. drivers: wifi: Implement RPU recovery callbacks

    FMAC relies on these callbacks to perform a RPU recovery i.e., coldboot
    the device in a clean way, this is achieved by performing an interface
    down and then up, this properly cleans up the driver, performs a cold
    boot and either through NET_IF events (for scan only) or WPA_S events
    (for full Wi-Fi) notifies the applications.
    
    Implements SHEL-2726.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    4ce4465 View commit details
    Browse the repository at this point in the history
  4. drivers: wifi: Implement locking for recovery

    In case we get multiple watchdog timers in succession, we need to
    sequentialize the recovery.
    
    Implements SHEL-2726.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    3e956df View commit details
    Browse the repository at this point in the history
  5. drivers: wifi: Add a feature flag for RPU recovery

    In some scenarios esp. while debugging nRF70, this feature should be
    disabled, so, provide a feature flag and mark it as experimental.
    
    Implements SHEL-2726.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    b682ca6 View commit details
    Browse the repository at this point in the history
  6. drivers: wifi: Add configuration option for propagation delay

    This delay ensures that the applications have enough time to perform any
    cleanup and be prepared once the RPU is powered on again.
    
    Implements SHEL-2726.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    db2b9c4 View commit details
    Browse the repository at this point in the history
  7. drivers: wifi: Increase net management events

    This is necessary as recovery involves calling down and up in a rapid
    succession.
    
    Implements SHEL-2726.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    67587fc View commit details
    Browse the repository at this point in the history
  8. drivers: wifi: Add a test command for RPU recovery

    This helps us verify the recovery mechanism.
    
    Implements SHEL-2726.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    e43c507 View commit details
    Browse the repository at this point in the history
  9. drivers: wifi: Fix RPU recovery not being triggered

    During watchdog (or any) interrupt processing, RPU accesses are being
    made and they assert the wakeup_now flag this causes RPU recovery to not
    trigger.
    
    New false or true recovery detection algo:
    
     Check the time difference b/w last de-assert and assert, and if it
     exceeds minimum time needed for RPU to enter sleep, then not the
     timestamp. This timestamp will be used to compare when a watchdog
     interrupt is received and see if during the last window if host has
     given a chance for RPU to attempt sleep, if yes, then attempt recovery
     else ignore watchdog.
    
    Also, add a Kconfig for the 10s active time that triggers recovery, this
    needs to be passed to the FW (once we have enough patch memory).
    
    Also, add a Kconfig for the minimum time needed for RPU to attempt sleep
    in positive case.
    
    Also, add a new _ms API for time stamp fetch, this is to avoid
    precision loss when converting to and from ms to us and also makes code
    readable by avoiding *1000 and /1000.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    7bc596e View commit details
    Browse the repository at this point in the history
  10. drivers: wifi: nrf700x: Ignore all failures in iface down

    In case RPU is stuck and need a recovery, the failures in interface down
    should be ignored as they are expected and we should proceed with device
    removal that in turn removes power to the RPU.
    
    TODO: This works for single VIF, but needs more thought for multi-VIF.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    24338af View commit details
    Browse the repository at this point in the history
  11. drivers: wifi: Add a sanity check for RPU comms

    Before proceeding with RPU bringup, do a sanity check by reading a known
    signature to make sure the Host-RPU comms are operational.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    c0acde7 View commit details
    Browse the repository at this point in the history
  12. drivers: wifi: Add support for separate debugs for RPU recovery

    These are helpful for debugging RPU recovery only.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    66110e2 View commit details
    Browse the repository at this point in the history
  13. drivers: wifi: Increase the propogation delay

    In order for the interface down to propagate and cleanup it needs more
    time, using Shell 10ms was working due to human delay, but
    programatically this needs higher delay.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    f82e451 View commit details
    Browse the repository at this point in the history
  14. drivers: wifi: Remove per-interface extended capabilities

    RPU is only providing the per-wiphy (RPU) extended capabilities, so,
    remove storing of per-VIF extended capabilities.
    
    BTW, there is a memory leak here when doing interface down and up.
    
    Fixes SHEL-2738.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    a9b7f33 View commit details
    Browse the repository at this point in the history
  15. drivers: wifi: Fix memory leak

    The extended capabilities are not freed causing a leak on interface down
    and up.
    
    Fixes SHEL-2738.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    18bfd84 View commit details
    Browse the repository at this point in the history
  16. drivers: wifi: Ignore parallel recovery requests

    During recovery we might get further watchdog interrupts causing
    multiple recovery requests, ignore them if a recovery is already in
    progress.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    f4687fb View commit details
    Browse the repository at this point in the history
  17. drivers: wifi: Add quiet period for RPU recovery

    This is to avoid successive recoveries in case we get successive
    watchdog interrupts from the RPU.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    565ae50 View commit details
    Browse the repository at this point in the history
  18. drivers: wifi: Fix the NULL check

    Check for RPU context as well.
    
    To fix this properly we need more fixes to be backported, but this
    should suffice for now.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    eeeeb48 View commit details
    Browse the repository at this point in the history
  19. drivers: wifi: Add RPU recovery retry mechanism

    In case RPU is stuck in consecutive recovery over a time period then
    that means it's not recoverable through RPU recovery, only thing left to
    do is to trigger a system reboot. This feature is disabled by default,
    so, either application can do their own implementatio or enable this
    feature in the driver along with configurable retries and window period.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    6039f8e View commit details
    Browse the repository at this point in the history
  20. drivers: wifi: Add de-initialization for SPI

    Though this is no-op for now, it would lead to crash if BAL de-init is
    called which will be in the upcoming commits.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    3bbcb1f View commit details
    Browse the repository at this point in the history
  21. drivers: wifi: Assign de-initialization implementation ops

    BAL de-init was never called, so, these weren't caught. In upcoming
    commits BAL de-init will be used, so, assign here to avoid crashes.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    3738b8d View commit details
    Browse the repository at this point in the history
  22. drivers: wifi: Fix NULL check for FMAC context

    This can lead to crash in case driver initialization fails e.g.
    flashing wrong build (5340 on 7002) or if this API is called too early
    before the driver is initialized.
    
    Fixes SHEL-2576.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    c541415 View commit details
    Browse the repository at this point in the history
  23. drivers: wifi: Fix de-init handle extraction

    The QSPI dev context has it's own structure, so, need to be extract the
    QSPI dev ops from the context, this has been implemented improperly, but
    as it's not been used till date hadn't caused any problems.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    9a2b172 View commit details
    Browse the repository at this point in the history
  24. drivers: wifi: Fix RPU recovery disabled build failures

    Fix RPU recovery protection to solve build failures when RPU recovery is
    disabled.
    
    As recovery is primarily based on power-management, add a Kconfig
    dependency to enforce, this simplies the macros to protect the code.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    3d8ae60 View commit details
    Browse the repository at this point in the history
  25. drivers: wifi: Fix TX buffers leak

    During interface down in case TX has pending buffers in either TXQ or
    Pending_Q then they are not freed instead the Q itself is freed.
    
    Fix by traversing the Q and freeing all members.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    a60a1e5 View commit details
    Browse the repository at this point in the history
  26. net: lib: Add Wi-Fi ready lib

    This library should be used samples to manage Wi-Fi usage dynamically.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    6d57673 View commit details
    Browse the repository at this point in the history
  27. samples: wifi: sta: Use Wi-Fi ready lib

    Use Wi-Fi ready library to manage Wi-Fi.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    9caaf98 View commit details
    Browse the repository at this point in the history
  28. drivers: wifi: Add PS state debugs

    These are very frequent, so, a separate debug is added for debugging
    host RPU recovery logic.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    c5c00a0 View commit details
    Browse the repository at this point in the history
  29. drivers: wifi: Add command and event logging

    This is useful to understand the reason for comms trigger b/w host and
    RPU.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    0cde91a View commit details
    Browse the repository at this point in the history
  30. doc: changelog: Add an entry for RPU recovery

    Mention RPU recovery feature, there are no docs yet, so, no links.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    62c4577 View commit details
    Browse the repository at this point in the history
  31. drivers: wifi: Enable management buffers offload

    With this offload, host doesn't need to manage RX buffers for management
    frames, and this saves Host-RPU comms and thus giving RPU to sleep more
    often and is essential to test RPU recovery.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    b7190bf View commit details
    Browse the repository at this point in the history
  32. drivers: wifi: Increase default PS active timeout interval

    In crowded environments RPU is active for more than 10s due to too many
    retries and this triggers a false RPU recovery. To avoid this, increase
    the default to 50s to handle corner cases, as this will only impact the
    recovery triggered case, higher timeout doesn't have any impact in
    normal cases.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    5c020f6 View commit details
    Browse the repository at this point in the history
  33. drivers: wifi: Add support for keepalive

    To handle interoperability issue with few APs, add a feature to keep
    sending keepalive frames periodically to avoid AP disconnecting the STA.
    
    This is disabled by default to avoid unnecessary power consumption as
    it's only seen with few old APs.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    7ff21d7 View commit details
    Browse the repository at this point in the history
  34. manifest: nrfxlib: Pull latest fixes

    Pull latest fixes backported to 2.6 branch.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    49fec46 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. drivers: wifi: Fix shell hang

    Add a null check for HAL context in the interrupt handler, this was
    causing locking issue operating on null. The root cause of null is not
    known, but this solves the locking issue when data and control paths are
    excited in parallel.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and rlubos committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    fe39122 View commit details
    Browse the repository at this point in the history
  2. drivers: wifi: Use mutex for spinlock

    Ideally we should be using Zephyr spinlock APIs but that requires
    changes to shim API, so, for this maintenance release just replace with
    mutex to keep the context same and no API changes.
    
    This solves the locking issue that we see when control and data path are
    excited concurrently due to locking semantics of semaphores, the issue
    is not root caused but mutex enforce strict locking semantics for
    multiple threads and solve the issue.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and rlubos committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    576452b View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. drivers: wifi: Add PS exit strategy runtime configuration

    Dynamically set power save exit strategy runtime configuration that
    allows to switch b/w stratgies depending on conserving power and
    low-latency traffic download.
    
    Signed-off-by: Ajay Parida <ajay.parida@nordicsemi.no>
    ajayparida authored and rlubos committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    49a9b6c View commit details
    Browse the repository at this point in the history
  2. manifest: sdk-zephyr: Pull support for PS exit strategy

    Pull Wi-Fi management APIs for PS exit strategy configuration support.
    
    Signed-off-by: Ajay Parida <ajay.parida@nordicsemi.no>
    ajayparida authored and rlubos committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    b6710f0 View commit details
    Browse the repository at this point in the history
  3. drivers: wifi: Fix crash when recovery is triggered

    There is a race condition when recovery is in progress and in parallel
    Wi-Fi util commands are being executed (CTF), where the RPU context is
    de-initialized as part of recovery but no checks are present in the
    Wi-Fi util command processing causing a crash.
    
    This needs a proper fix for all commands, but for maintenance branch
    fix is added only for commonly used commands.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    85cffb5 View commit details
    Browse the repository at this point in the history
  4. manifest: zephyr: Pull fix for comments

    Fixes comments in public header file.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    f2cb0b5 View commit details
    Browse the repository at this point in the history
  5. manifest: zephyr: Update PR ref with SHA

    Mistakenly the PR ref was merged, so, update with the SHA of the merged
    Zephyr PR.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and carlescufi committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    ccee52e View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. drivers: wifi: Fix missing unlock for stats

    The RPU context lock is not unlocked this is causing recovery to be
    stuck waiting for the lock.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and rlubos committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    ac133af View commit details
    Browse the repository at this point in the history
  2. manifest: nrfxlib: Pull watch dog timer fixes

    Absorb Watchdog timer related fixes.
    
    Signed-off-by: Praveen Kankipati <Praveen.Kankipati@nordicsemi.no>
    kspraveeen authored and rlubos committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    09884d8 View commit details
    Browse the repository at this point in the history
  3. drivers: wifi: Fix mutex re-initialization

    The mutex is used to protect RPU zephyr context which gets modified for
    every interface down and up (including recovery), so, it was being
    re-initialized but also used to protect down and up which is a bug.
    
    Move the re-initialization to the driver entry so that it happens only
    once and we can properly use the mutext for down and up protection.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and rlubos committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    9a6c755 View commit details
    Browse the repository at this point in the history
  4. applcations/samples: Update VERSION to 2.6.2

    Set VERSION in applications and samples to 2.6.2 for NCS v2.6.2
    release.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and rlubos committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    4635c15 View commit details
    Browse the repository at this point in the history
  5. version: Update to 2.6.2

    For the 2.6.2 release.
    
    Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
    krish2718 authored and rlubos committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    53b287a View commit details
    Browse the repository at this point in the history
  6. doc: update docs for 2.6.2

    Update docs for 2.6.2 release
    
    Signed-off-by: Richa Pandey <richa.pandey@nordicsemi.no>
    richabp authored and rlubos committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    8af1d70 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. manifest: NCS 2.6.2

    Update the manifest file with NCS v2.6.2 tagged repositories.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
    rlubos committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    53200fd View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. CI: Upgrade artifact actions

    v3 of actions/upload-artifact and
    actions/download-artifact becomes obsolete
    
    Signed-off-by: Jakub Ciesla <jakub.ciesla@nordicsemi.no>
    jaci-nordic committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    8446061 View commit details
    Browse the repository at this point in the history