-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qualcommax: ipq807x: use ath11k_patch_mac and ath11k_remove_regdomain for MX4200 and RAX120v2 #14512
Merged
Merged
qualcommax: ipq807x: use ath11k_patch_mac and ath11k_remove_regdomain for MX4200 and RAX120v2 #14512
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change breaks caldata at least on zyxel,nbg7815 I tested this without using any of the auxiliary functions like caldata_patch etc. purely using caldata_extract
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the output for this two commands?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can confirm that it breaks sth. for nbg7815. I've tried it yesterday with 6.6 (vanilla, just pulling your 3 commits). I didn't look into it further. So I cannot confirm its this specific line. The output for both commands on my device is identical:
01 00 04 04 00 00 00 00 00 80
I just observed that within dmesg there was a line complaining "firmware not found". I'll try to make a new build in a few hours and try to collect more information if possible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Run this bash script and compare checksum:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sth. is wrong in this for-loop. It get stuck forever. $reversed is filled.
I've dumped the hexdump into a file:
https://0x0.st/s/S2y3XX3Ui44ZS34PuHJFxQ/Xirw.bin
In case you don't want to change/wait for reanswer.
Both files are identical (checked via md5sum). So one is enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pwned-pixel Can you check if these commands give you correct MAC addresses?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
O. K. Forget about the written. Its now loading reliable with the following MAC's
But the MAC's showing up in LuCI respectivley:
are random.
Despite the last one didn't get changed how would I force an update? /sbin/wifi reload is doing nothing. Removing and reloading the driver isn't doing anything.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MAC ids used in function starts from
1
not0
. That's why third MAC is not set.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Y, that what I thought already. I've tried several combinations. But all the same. Then I realized this file is meant to not change across reboots. So editing the config file did nothing. Oh dear. ;D
Made a "normal" build now with all my settings and applications. Everything is working now. Thank you very much for your endurance in guiding me.
Final settings I've use are:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the interfaces are numbered from 0, I changed the parameters for function from 0 to 5.