Commit graph

263 commits

Author SHA1 Message Date
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
Kalle Valo
64a3e2aabf ath11k-check: support multiline checkpatch warnings
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2022-02-08 16:53:40 +02:00
Kalle Valo
ae8de256db Remove obsolete qca-wireless-regdb.txt 2022-01-24 21:21:19 +02:00
Kalle Valo
8e32e24877 Update ath10k-fwencoder
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2022-01-24 21:00:55 +02:00
Kalle Valo
3c1f22bdc4 Merge branch 'py3' of https://github.com/lumag/qca-swiss-army-knife 2022-01-24 20:11:22 +02:00
Kalle Valo
fe60d963b2 Update ath10k-bdencoder
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2022-01-24 20:05:53 +02:00
Kalle Valo
df3e162316 Merge branch 'python3-bdencoder' of https://github.com/ecsv/qca-swiss-army-knife into pull-3 2022-01-24 19:54:39 +02:00
Kalle Valo
f85b165960 Update ath10k-fwencoder
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
2022-01-24 19:25:59 +02:00
Kalle Valo
b8f89c13d0 Merge branch 'python3-fixes' of https://github.com/erstrom/qca-swiss-army-knife into pull-2 2022-01-24 19:08:23 +02:00
Kalle Valo
ec8783694c scripts: move ath11k-bdencoder under ath11k directory
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2021-03-02 16:44:13 +02:00
Kalle Valo
5be8c832f5 Add ath11k-bdencoder
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2021-03-01 14:06:56 +02:00
Kalle Valo
4b2b0e0c16 Update ath11k-fw-repo
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2021-03-01 14:06:56 +02:00
Kalle Valo
8633532930 Update ath10k-fw-repo
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2021-03-01 14:06:56 +02:00
Dmitry Baryshkov
26ca6eff75 scripts: port to python3
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
2020-12-17 01:37:58 +03:00
Dmitry Baryshkov
3d23932fd8 ath10k-fwencoder: port to python3
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
2020-12-17 01:37:58 +03:00
Dmitry Baryshkov
4ffa07ff68 read-powers: port to python3
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
2020-12-17 01:37:58 +03:00
Kalle Valo
5ede3cc07e Add ath11k-fw-repo
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2020-10-21 19:45:53 +03:00