diff options
author | Michael-CY Lee <michael-cy.lee@mediatek.com> | 2025-01-14 18:10:25 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2025-01-14 13:42:30 +0100 |
commit | 57ccb37a906fed786055f045918abda724117aab (patch) | |
tree | 87da6d17688d4f320a079502dd7b6d2a43cbf752 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | da8352da1e4f476fdbf549a4efce4f3c618fde3b (diff) |
wifi: mt76: mt7996: fix beacon command during disabling
When stopping AP, mac80211 frees beacon template before it calls
driver's stop_ap operation. In other words, on the path of stopping
AP, ieee80211_beacon_get_template() must returns NULL in
mt7996_mcu_add_beacon(). In such case mt7996 immediately returns
-EINVAL without telling FW to disable the beacon.
This commit refactors mt7996_mcu_add_beacon() so that FW can be
correctly informed when disabling AP interface.
Co-developed-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Michael-CY Lee <michael-cy.lee@mediatek.com>
Link: https://patch.msgid.link/20250114101026.3587702-8-shayne.chen@mediatek.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions