Python script to extract/update internal regdb and remove regdomain in ath10k/ath11k BDF files.
Board files with actual regdb can be found on this repository: https://git.codelinaro.org/clo/qsdk/oss/ath11k-bdf/-/tree/NHSS.QSDK.12.4.5
They must be extracted first using ath11k-bdencoder
: https://github.com/qca/qca-swiss-army-knife
usage: ath10k_bdf_tool.py [-h] -r BDF [-o FILE]
ath10k BDF tool
options:
-h, --help show this help message and exit
-r BDF, --remove-regdomain BDF
remove regdomain from ath10k BDF
-o FILE, --output FILE
output file name
usage: ath11k_bdf_tool.py [-h] (-e BDF | -u BDF REGDB | -r BDF) [-o FILE]
ath11k BDF tool
options:
-h, --help show this help message and exit
-e BDF, --extract-regdb BDF
extract regdb from ath11k BDF
-u BDF REGDB, --update-regdb BDF REGDB
update regdb in ath11k BDF
-r BDF, --remove-regdomain BDF
remove regdomain from ath11k BDF
-p BDF ADDR VAL, --patch-bdf BDF ADDR VAL
patch ath11k BDF
-o FILE, --output FILE
output file name
Contributions are welcome. Please submit a pull request with any improvements.
This project is licensed under the terms of the MIT license.