Commit graph

295 commits

Author SHA1 Message Date
Jeff Johnson
6e3ee2446a ath10k-bdencoder: update ATH10K_FIRMWARE_URL to point to CLO
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
2025-12-02 16:54:27 -08:00
Jeff Johnson
61d85e04cf Update ath12k-fw-repo
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
2025-12-02 16:37:08 -08:00
Jeff Johnson
03252af2fe Update ath11k-fw-repo
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
2025-12-02 16:37:08 -08:00
Jeff Johnson
c1e4ca6032 ath12k-check: Override ath12k_wifi7_dp_mon_*() long lines
The ath12k next generation refactoring resulted in some long function
names, which it turn resulted in some long lines in ath12k/wifi7
reported by checkpatch. Suppress those new warnings.

Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
2025-11-10 09:02:29 -08:00
Jeff Johnson
852bd62202 ath12k-check: ignore sparse "context imbalance" warnings
Sparse does not fully understand the guard cleanup feature, and can
produce warnings of the form:

warning: context imbalance in '<function>' - wrong count at exit

These are false positives when guard() is being used, so ignore
them.

Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
2025-10-31 09:20:09 -07:00
Jeff Johnson
c66ae81c34 ath11k-check: ignore sparse "context imbalance" warnings
Sparse does not fully understand the guard cleanup feature, and can
produce warnings of the form:

warning: context imbalance in '<function>' - wrong count at exit

These are false positives when guard() is being used, so ignore
them.

Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
2025-10-23 11:17:35 -07:00
Jeff Johnson
a87e8e4971 ath12k-check: update checkpatch commit to 99b70ece33d87500ef7bee8e32cb99772c45ce14
Update to the latest checkpatch.

Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
2025-10-21 15:57:29 -07:00
Jeff Johnson
e81a60303e ath11k-check: update checkpatch commit to 99b70ece33d87500ef7bee8e32cb99772c45ce14
Update to the latest checkpatch.

With this version there is a new warning that is tricky to fix
cleanly, so add that warning to the checkpatch_filter list.

Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
2025-10-21 15:48:05 -07:00
Jeff Johnson
0ff2f11365 ath10k-check: update checkpatch commit to 99b70ece33d87500ef7bee8e32cb99772c45ce14
Update to the latest checkpatch.

With this version there is a new warning that is tricky to fix
cleanly, so add that warning to the checkpatch_filter list.

Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
2025-10-21 15:36:44 -07:00
Jeff Johnson
7c191e5530 Update ath11k-fw-repo
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
2025-06-03 10:37:03 -07:00
Jeff Johnson
34ba9a417a Update ath12k-bdencoder
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
2025-06-03 10:31:00 -07:00
Jeff Johnson
0c0ecdde8d Update ath12k-fw-repo
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
2025-06-03 10:31:00 -07:00
Jeff Johnson
e53ea71655 ath12k-check: Support subdirectories
The ath12k-ng refactoring of ath12k introduces subdirectories.
Update ath12k-check to properly handle the subdirectories.

Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
2025-05-08 16:00:56 -07:00
Jeff Johnson
3349c9cfbd ath12k-check: ignore PREFER_PR_LEVEL warning
A new ath12k patch [1] triggers a PREFER_PR_LEVEL checkpatch warning:

drivers/net/wireless/ath/ath12k/debug.c:69: Prefer [subsystem eg: netdev]_dbg([subsystem]dev, ... then dev_dbg(dev, ... then pr_debug(...  to printk(KERN_DEBUG ...

Add a rule to ignore it.

Link: https://lore.kernel.org/all/20250204-unlink_link_arvif_from_chanctx-v2-2-764fb5973c1a@oss.qualcomm.com/
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
2025-02-07 09:10:34 -08:00
Jeff Johnson
8adc4981da ath12k-check: fix long line comment check for copyright
Fix the check for long line copyright comments.

Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
2025-01-21 10:27:18 -08:00
Jeff Johnson
4883953301 ath12k-check: ignore long line comment warnings for copyrights
Filter the warnings about copyright statements exceeding the max line
length. Since the global tool won't associate these with a symbol
name, filter on the literal "Copyright (c)" itself.

Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
2025-01-14 10:52:02 -08:00
Kalle Valo
7a1463a442 Update ath12k-fwencoder
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2024-10-01 10:38:35 +03:00
Kalle Valo
4af5153126 Update ath12k-fw-repo
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2024-08-13 19:47:58 +03:00
Kalle Valo
a5ef12e166 Update ath12k-fw-repo
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2024-08-13 18:50:30 +03:00
Kalle Valo
06cbf01a58 Update ath11k-fw-repo
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2024-08-13 18:50:30 +03:00
Kalle Valo
583eed7e66 ath12k-check: ignore macro reuse warnings about for_each_ar()
Filter the warnings about the upcoming for_each_ar() macro's variable reuse. As
the global tool apparently doesn't create symbol names for macro. Add a hack
for those cases where we check if the actual line in the file contains the tag
name.

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2024-03-28 17:28:14 +02:00
Kalle Valo
e9a0327f3f Add ath12k-fw-repo
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2024-03-04 19:13:01 +02:00
Kalle Valo
741a9f6d27 Update ath11k-fw-repo
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2024-03-04 19:12:39 +02:00
Kalle Valo
d23aaaec6e Update ath10k-fw-repo
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2024-03-04 19:12:39 +02:00
Kalle Valo
8ec3e5dbb8 Add ath12k-fwencoder
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2024-02-12 12:10:45 +02:00
Kalle Valo
88724401e4 ath11k-check: update checkpatch commit to 296455ade1fdcf5f8f8c033201633b60946c589a
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2024-01-26 18:40:24 +02:00
Kalle Valo
0982c0f22e ath12k-check: update checkpatch commit to 296455ade1fdcf5f8f8c033201633b60946c589a
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2024-01-26 18:38:33 +02:00
Kalle Valo
ef11ea4c7a ath12k-check: run kernel-doc
Idea and example from Jeff Johnson.

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2024-01-26 18:31:11 +02:00
Kalle Valo
0a556ac040 ath12k-check: get_commited_files(): use --name-only
No need to use cut as git ls-tree has --name-only. No functional changes.

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2024-01-26 18:20:54 +02:00
Kalle Valo
02efab2e3e ath12k-check: refactor code to get_commited_files()
This function is needed also elsewhere.

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2024-01-26 18:17:26 +02:00
Kalle Valo
f216408592 Update ath12k-bdencoder
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-12-21 01:53:49 +02:00
Kalle Valo
60d4be5e42 Add ath11k-fwencoder
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-12-21 01:53:49 +02:00
Kalle Valo
6209ad4248 Update ath11k-bdencoder
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-12-21 01:53:49 +02:00
Kalle Valo
0df6dcf34f Update ath10k-fw-repo
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-12-21 01:53:49 +02:00
Kalle Valo
b011424559 Update ath10k-bdencoder
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-12-21 01:53:49 +02:00
Kalle Valo
32f41c2db0 ath12k-check: ignore PREFER_DEV_LEVEL warning
Needed for patch:

wifi: ath12k: fix debug messages

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-10-04 18:27:09 +03:00
Kalle Valo
779e51b9de ath12k-check: improve installation instructions in the help text
As people have had problems setting ath12k-check improve the instructions how
to set up everything. Hopefully we get more consistent results that way. The
instructions are visible --help switch.

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-10-04 11:53:29 +03:00
Kalle Valo
8aafad4337 ath12k-check: print compiler version specified in kernel .config file
As the compiler used to compile the kernel can be different from the default
host compiler, print both the host GCC and the compiler specified in .config
file.

Screenshot:

ath12k-check (md5sum a143ac447ffce2545530c2b4ad96a2e8)

python:		3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0]
host gcc:	gcc (Debian 12.2.0-14) 12.2.0
config cc:	x86_64-linux-gcc (GCC) 13.2.0
sparse:		v0.6.4-39-gce1a6720f69e
checkpatch.pl:	Version: 0.32 (md5sum 47ef327d772c156e53a36597723fc781)
gtags:		gtags (Global) 6.6.9

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-10-03 20:56:51 +03:00
Kalle Valo
d0f69db447 ath12k-check: add location of sparse git repository
Latest sparse is needed for testing the kernel, document where to
install it from.

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-09-27 15:22:53 +03:00
Kalle Valo
cc349436fe ath11k-check: print python version in --version
Hopefully makes it easier to debug reported problems.

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-09-27 10:04:04 +03:00
Kalle Valo
e5372e1524 ath11k-check: use shutil.which()
Distutils module is deprecated so use shutil.which() instead.
    
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-09-27 10:02:00 +03:00
Kalle Valo
d5ebee489e ath12k-check: print python version in --version
Screenshot:

$ ath12k-check --version
ath12k-check (md5sum 5da1780d8e06bb2db43abce01dda1ca8)

python:		3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0]
gcc:		gcc (Debian 12.2.0-14) 12.2.0
sparse:		v0.6.4-39-gce1a6720f69e
checkpatch.pl:	Version: 0.32 (md5sum 47ef327d772c156e53a36597723fc781)
gtags:		gtags (Global) 6.6.9

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-09-27 09:58:29 +03:00
Kalle Valo
2bd53768fa ath12k-check: using shutil.which()
Distutils module is deprecated so use shutil.which() instead.

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-09-27 09:52:49 +03:00
Kalle Valo
9a16a4abec ath11k-check: verify checkpatch.pl md5sum
Print a warning if checkpatch.pl md5sum doesn't match. This way it's easier to
make sure that correct version of checkpatch is used.

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-09-06 16:55:49 +03:00
Kalle Valo
c880314adb ath12k-check: verify checkpatch.pl md5sum
Print a warning if checkpatch.pl md5sum doesn't match. This way it's easier to
make sure that correct version of checkpatch is used.

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-09-06 16:46:46 +03:00
Kalle Valo
27d9574ce6 ath1[0-2]-check: update checkpatch commit id to 362173572a40
Document the checkpatch.pl version I'm using at the moment:

362173572a40 checkpatch: improve EMBEDDED_FILENAME test

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-09-06 15:48:39 +03:00
Kalle Valo
a163e2363f Update ath10k-bdencoder
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-03-20 19:59:55 +02:00
Kalle Valo
b0e7d9c976 Update ath10k-bdencoder
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-03-17 14:12:54 +02:00
Kalle Valo
69808f48c1 Update ath10k_pktlog.py
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-01-10 15:08:10 +02:00
Kalle Valo
1a320ce216 Update ath10k.py
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-01-10 15:08:10 +02:00