profiles: qca_ipq95xx: hostapd-qca: UPSTREAM:PROTOCOL:hostapd:nl80211: fix AP bring-up failure during HT-SCAN

When 5GHz HT_SCAN is failed due to any error, we try to convert 5GHz
interface to STATION mode for scan to succeed. As part of this, interface
is removed from bridge and brought DOWN to perform the mode change and
scan post that.

Currently due to ongoing 2GHz 40MHz HT_SCAN, we always get -EBUSY (-16) error
for 5GHz HT_SCAN and above STA mode change also fails leaving the interface in
DOWN state without recovery. Eventually beacon set fails with -100 (DOWN) error
to deinit and exit hostapd.

Fix this behavior with upstream implementation of mode change to STATION
only when AP scan is not supported (-EOPNOTSUPP, -95) and allow scan with
existing retry logic for HT_SCAN. Extend the same for MLO links as well.

Feature: MLD

Fixes: https://prplfoundationcloud.atlassian.net/browse/PCF-2455

Signed-off-by: Marvin Lu <marvin.lu@wnc.com.tw>
This commit is contained in:
Marvin Lu 2026-04-14 17:18:37 +08:00 committed by Hela Saadani
parent 0ea9d2edc9
commit ce1942e6bc

View File

@ -8,7 +8,7 @@ description: Build image for prpl Foundation Freedom board
feeds:
- name: feed_qca
uri: https://gitlab.com/prpl-foundation/prplOS/feed-qca.git
revision: latest-24.10/ath13.1@b3ed3cde21a29c4a16b348f1bfc4258c183715eb
revision: latest-24.10/ath13.1@2eb6ef20879a204f159741258e98593af46f880d
packages:
- ipq95xx