Skip to content
Commit c4f07558 authored by Rany Hany's avatar Rany Hany Committed by Felix Fietkau
Browse files

wifi: mt76: mt7915: fix command timeout in AP stop period



Due to AP stop improperly, mt7915 driver would face random command timeout
by chip fw problem. Migrate AP start/stop process to .start_ap/.stop_ap and
congiure BSS network settings in both hooks.

The new flow is shown below.
* AP start
    .start_ap()
      configure BSS network resource
      set BSS to connected state
    .bss_info_changed()
      enable fw beacon offload

* AP stop
    .bss_info_changed()
      disable fw beacon offload (skip this command)
    .stop_ap()
      set BSS to disconnected state (beacon offload disabled automatically)
      destroy BSS network resource

Based on "mt76: mt7921: fix command timeout in AP stop period"

Signed-off-by: default avatarRany Hany <rany_hany@riseup.net>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 0dde9c11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment