From 7c191e5530d32391105653b276ab587d2af9e02a Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Tue, 3 Jun 2025 10:37:03 -0700 Subject: [PATCH] Update ath11k-fw-repo Signed-off-by: Jeff Johnson --- tools/scripts/ath11k/ath11k-fw-repo | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tools/scripts/ath11k/ath11k-fw-repo b/tools/scripts/ath11k/ath11k-fw-repo index 90e9334..15c7b9b 100755 --- a/tools/scripts/ath11k/ath11k-fw-repo +++ b/tools/scripts/ath11k/ath11k-fw-repo @@ -31,6 +31,7 @@ logger = None BRANCH_DEFAULT_PRIORITY = 1000 BRANCH_PRIORITY_FILE = '.priority' +BRANCH_IGNORE_FILE = '.ignore' WHENCE_FILE = 'WHENCE' NOTICE_FILE = 'Notice.txt' NOTICE_FILE_LEN_MIN = 5000 @@ -352,7 +353,17 @@ def scan_hw_ver(args, hw): files = os.listdir(path) files.sort() + if os.path.exists(os.path.join(path, BRANCH_IGNORE_FILE)): + logger.debug('Ignoring hardware version: %s' % (path)) + return + for fw_branch in files: + fw_branch_path = os.path.join(path, fw_branch) + + if os.path.exists(os.path.join(fw_branch_path, BRANCH_IGNORE_FILE)): + logger.debug('Ignoring firmware branch: %s' % (fw_branch)) + continue + if fw_branch == TESTING_BRANCH: # scan all directories under testing branch, eg. testing/1.2.3.4 dirs = os.listdir(os.path.join(path, fw_branch))