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

nrf_wifi: Fix TX de-init crash #1277

Merged
merged 5 commits into from
Jun 3, 2024
Merged

Commits on Jun 2, 2024

  1. nrf_wifi: Move interrupt de-registration to de-init

    Interrupts should be disabled early to avoid further events coming up
    the driver.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and Krishna T committed Jun 2, 2024
    Configuration menu
    Copy the full SHA
    278cb31 View commit details
    Browse the repository at this point in the history
  2. nrf_wifi: Pluging the newly added API

    The HAL status is used internally, but the API was never called, so,
    hook up the API to dev init/deinit.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and Krishna T committed Jun 2, 2024
    Configuration menu
    Copy the full SHA
    03251d5 View commit details
    Browse the repository at this point in the history
  3. nrf_wifi: Move draining of event queue to deinit

    Draining should be done early to avoid any event handlers being called
    after, also, remove the check for HAL status, as drain doesn't invoke
    the event handlers, this fixes the memory leak.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and Krishna T committed Jun 2, 2024
    Configuration menu
    Copy the full SHA
    3824ed4 View commit details
    Browse the repository at this point in the history
  4. nrf_wifi: Fix de-initialization of HAL

    Use the unused HAL de-init API before proceeding with FMAC de-init, this
    way we can move the entire logic and locking to HAL de-init, so, remove
    the HAL locks in FMAC.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and Krishna T committed Jun 2, 2024
    Configuration menu
    Copy the full SHA
    bdc1484 View commit details
    Browse the repository at this point in the history
  5. nrf_wifi: Fix VIF type count update

    In current SAP implementation based on a single VIF, we modify the VIF
    type from STA->AP and vice-versa, so, call the API to update the counts
    properly.
    
    The counts are crucial to remove the RPU during interface down.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and Krishna T committed Jun 2, 2024
    Configuration menu
    Copy the full SHA
    f4ec455 View commit details
    Browse the repository at this point in the history