Commit Graph

279 Commits

Author SHA1 Message Date
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
Kalle Valo
1b7c9fb32c Add ath12k-bdencoder
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-01-10 15:08:10 +02:00
Kalle Valo
df3a159d34 Update ath11k-bdencoder
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-01-10 15:08:10 +02:00
Kalle Valo
c3dde80180 Update ath10k-fw-repo
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2023-01-10 15:08:10 +02:00
Kalle Valo
b0e905ff7b ath12k-check: don't filter dubious warnings
They are not seen with ath12k anymore, most likely switch to u32_get_bits()
fixed those.

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2022-08-11 16:55:08 +03:00
Kalle Valo
1b102ba512 ath12k-check: enable more checkpatch warnings
Most of the disabled warnings are now fixed so can enable more warnings.

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2022-07-01 12:24:48 +03:00
Kalle Valo
581c684881 ath12k-check: enable more checkpatch warnings
As these warnings are now fixed in ath12k it's possible to enable them.

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2022-06-27 21:02:04 +03:00
Kalle Valo
16978c25c8 ath12k-check: ignore more long lines from qmi commands
Had to do one workaround due to gtags working strangely.

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2022-06-11 15:03:45 +03:00
Kalle Valo
29b0a2607f Update ath11k-fw-repo
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2022-05-27 17:22:41 +03:00
Kalle Valo
014bb0c6ac Update ath10k-fw-repo
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2022-05-27 17:22:40 +03:00
Kalle Valo
d2fb7b932a Update ath11k-bdencoder
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2022-04-13 11:16:54 +03:00
Kalle Valo
4661dc4994 Add ath12k-check
This is a copy from ath11k-check with minor modifications:

e471454ac6 ath11k-check: port to python3

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2022-02-08 17:43:54 +02:00
Kalle Valo
e471454ac6 ath11k-check: port to python3
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2022-02-08 17:31:16 +02:00
Kalle Valo
25a662da8a ath10k-check: port to python3
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2022-02-08 17:20:32 +02:00
Kalle Valo
105e81816d ath10k-check: support multiline checkpatch warnings
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2022-02-08 17:13:36 +02:00
Kalle Valo
52d3a2f0fc ath10k-check: don't use global with Kconfig and Makefile
Starting from Debian 10 global returns an error with Kconfig and
Makefile, add a workaround for that.

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2022-02-08 17:05:47 +02:00
Kalle Valo
9983705ee8 ath11k-check: don't use global with Kconfig and Makefile
Starting from Debian 10 global returns an error with Kconfig and
Makefile, add a workaround for that.

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2022-02-08 17:05:47 +02:00