Message ID | 20241008144712.403893-1-prestwoj@gmail.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
Series | band: add "GB" as a valid alpha2 code | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
prestwoj/iwd-alpine-ci-fetch | success | Fetch PR |
prestwoj/iwd-ci-gitlint | fail | band: add "GB" as a valid alpha2 code 8: B1 Line exceeds max length (119>80): "src/station.c:parse_neighbor_report() Neighbor report received for xx:xx:xx:xx:xx:xx: ch 136 (oper class 3), MD not set" 9: B1 Line exceeds max length (81>80): "Failed to find band with country string 'GB 32' and oper class 3, trying fallback" 10: B1 Line exceeds max length (81>80): "src/station.c:station_add_neighbor_report_freqs() Ignored: unsupported oper class" |
prestwoj/iwd-ci-fetch | success | Fetch PR |
prestwoj/iwd-alpine-ci-setupell | success | Prep - Setup ELL |
prestwoj/iwd-ci-setupell | success | Prep - Setup ELL |
prestwoj/iwd-ci-incremental_build | success | Incremental build not run PASS |
prestwoj/iwd-alpine-ci-makedistcheck | success | Make Distcheck |
prestwoj/iwd-alpine-ci-incremental_build | success | Incremental build not run PASS |
prestwoj/iwd-alpine-ci-build | success | Build - Configure |
prestwoj/iwd-ci-build | success | Build - Configure |
prestwoj/iwd-alpine-ci-makecheckvalgrind | success | Make Check w/Valgrind |
prestwoj/iwd-alpine-ci-makecheck | success | Make Check |
prestwoj/iwd-ci-clang | success | clang PASS |
prestwoj/iwd-ci-makecheckvalgrind | success | Make Check w/Valgrind |
prestwoj/iwd-ci-makecheck | success | Make Check |
prestwoj/iwd-ci-makedistcheck | success | Make Distcheck |
prestwoj/iwd-ci-testrunner | success | test-runner PASS |
Hi James, On 10/8/24 9:47 AM, James Prestwood wrote: > The "UK" alpha2 code is not the official code for the United Kingdom > but is a "reserved" code for compatibility. The official alpha2 is > "GB" which is being added to the EU list. This fixes issues parsing > neighbor reports, for example: > > src/station.c:parse_neighbor_report() Neighbor report received for xx:xx:xx:xx:xx:xx: ch 136 (oper class 3), MD not set > Failed to find band with country string 'GB 32' and oper class 3, trying fallback > src/station.c:station_add_neighbor_report_freqs() Ignored: unsupported oper class > --- > src/band.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Applied, thanks. Regards, -Denis
diff --git a/src/band.c b/src/band.c index 6891d06c..14daeb37 100644 --- a/src/band.c +++ b/src/band.c @@ -1426,7 +1426,7 @@ static const char *const oper_class_eu_codes[] = { "AL", "AM", "AT", "AZ", "BA", "BE", "BG", "BY", "CH", "CY", "CZ", "DE", "DK", "EE", "EL", "ES", "FI", "FR", "GE", "HR", "HU", "IE", "IS", "IT", "LI", "LT", "LU", "LV", "MD", "ME", "MK", "MT", "NL", "NO", "PL", "PT", - "RO", "RS", "RU", "SE", "SI", "SK", "TR", "UA", "UK" + "RO", "RS", "RU", "SE", "SI", "SK", "TR", "UA", "UK", "GB" }; /* Annex E, table E-1 */