-
-
Save momu/d4790534c23305e49178545dd34dbe85 to your computer and use it in GitHub Desktop.
diff -w reghack.c reghack2.c
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
1,2c1 | |
< /* | |
< * reghack - Utility to binary-patch the embedded mac80211 regulatory rules. | |
--- | |
> /* reghack - Utility to binary-patch the embedded mac80211 regulatory rules. | |
123a123,126 | |
> }, { | |
> /* March 2016 addition */ | |
> .desc = "core world8(?) regdomain in cfg80211/reg.o (new rule)", | |
> .reg = REG_MATCH("00", 8, NL80211_DFS_UNSET, REG_RULE(2402, 2472, 40, 6, 20, 0)) | |
126c129 | |
< /* regdb.txt matches (new) */ | |
--- | |
> /* regdb.txt matches */ | |
132a136,139 | |
> }, { | |
> /* March 2016 addition */ | |
> .desc = "embedded US regdomain in cfg80211/regdb.o (new rule)", | |
> .reg = REG_MATCH("US", 6, NL80211_DFS_FCC, REG_RULE(2402, 2472, 40, 0, 30, 0)) | |
239a247 | |
> /* This is what the rules above get replaced with */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment