aboutsummaryrefslogtreecommitdiffstats
path: root/util/scan/atsc
diff options
context:
space:
mode:
authoretobi <git@e-tobi.net>2013-09-03 09:48:40 +0200
committeretobi <git@e-tobi.net>2013-09-03 09:48:40 +0200
commit6b350466c4902c5b137e0efaf1d189128a7f18f5 (patch)
treea7cf91f9896c0f8c9d8b291114e51f1373940c70 /util/scan/atsc
parent6e40287e2f39a80fc72bd8d0fbc1a8334d688c2d (diff)
downloadlinux-dvb-apps-upstream/1.1.1.tar.gz
Imported Upstream version 1.1.1upstream/1.1.1
Diffstat (limited to '')
-rw-r--r--util/scan/atsc/us-ATSC-center-frequencies-8VSB71
-rw-r--r--util/scan/atsc/us-CA-SF-Bay-Area16
-rw-r--r--util/scan/atsc/us-Cable-EIA-542-HRC-center-frequencies-QAM256142
-rw-r--r--util/scan/atsc/us-Cable-EIA-542-IRC-center_frequencies-QAM256142
-rw-r--r--util/scan/atsc/us-Cable-HRC-center-frequencies-QAM256142
-rw-r--r--util/scan/atsc/us-Cable-IRC-center-frequencies-QAM256142
-rw-r--r--util/scan/atsc/us-Cable-Standard-center-frequencies-QAM256140
-rw-r--r--util/scan/atsc/us-ID-Boise8
-rw-r--r--util/scan/atsc/us-MA-Boston13
-rw-r--r--util/scan/atsc/us-MI-Lansing7
-rw-r--r--util/scan/atsc/us-NTSC-center-frequencies-8VSB71
-rw-r--r--util/scan/atsc/us-NY-TWC-NYC53
-rw-r--r--util/scan/atsc/us-PA-Philadelphia16
-rw-r--r--util/scan/atsc_psip_section.c62
-rw-r--r--util/scan/atsc_psip_section.h60
15 files changed, 1085 insertions, 0 deletions
diff --git a/util/scan/atsc/us-ATSC-center-frequencies-8VSB b/util/scan/atsc/us-ATSC-center-frequencies-8VSB
new file mode 100644
index 0000000..ffd0b02
--- /dev/null
+++ b/util/scan/atsc/us-ATSC-center-frequencies-8VSB
@@ -0,0 +1,71 @@
+# US ATSC center frequencies, use if in doubt
+
+A 57028615 8VSB
+A 63028615 8VSB
+A 69028615 8VSB
+A 79028615 8VSB
+A 85028615 8VSB
+A 177028615 8VSB
+A 183028615 8VSB
+A 189028615 8VSB
+A 195028615 8VSB
+A 201028615 8VSB
+A 207028615 8VSB
+A 213028615 8VSB
+A 473028615 8VSB
+A 479028615 8VSB
+A 485028615 8VSB
+A 491028615 8VSB
+A 497028615 8VSB
+A 503028615 8VSB
+A 509028615 8VSB
+A 515028615 8VSB
+A 521028615 8VSB
+A 527028615 8VSB
+A 533028615 8VSB
+A 539028615 8VSB
+A 545028615 8VSB
+A 551028615 8VSB
+A 557028615 8VSB
+A 563028615 8VSB
+A 569028615 8VSB
+A 575028615 8VSB
+A 581028615 8VSB
+A 587028615 8VSB
+A 593028615 8VSB
+A 599028615 8VSB
+A 605028615 8VSB
+A 611028615 8VSB
+A 617028615 8VSB
+A 623028615 8VSB
+A 629028615 8VSB
+A 635028615 8VSB
+A 641028615 8VSB
+A 647028615 8VSB
+A 653028615 8VSB
+A 659028615 8VSB
+A 665028615 8VSB
+A 671028615 8VSB
+A 677028615 8VSB
+A 683028615 8VSB
+A 689028615 8VSB
+A 695028615 8VSB
+A 701028615 8VSB
+A 707028615 8VSB
+A 713028615 8VSB
+A 719028615 8VSB
+A 725028615 8VSB
+A 731028615 8VSB
+A 737028615 8VSB
+A 743028615 8VSB
+A 749028615 8VSB
+A 755028615 8VSB
+A 761028615 8VSB
+A 767028615 8VSB
+A 773028615 8VSB
+A 779028615 8VSB
+A 785028615 8VSB
+A 791028615 8VSB
+A 797028615 8VSB
+A 803028615 8VSB
+
diff --git a/util/scan/atsc/us-CA-SF-Bay-Area b/util/scan/atsc/us-CA-SF-Bay-Area
new file mode 100644
index 0000000..8cca4e0
--- /dev/null
+++ b/util/scan/atsc/us-CA-SF-Bay-Area
@@ -0,0 +1,16 @@
+# initial tuning data for some frequencies of for the San Francisco Bay Area
+# includes San Francisco, San Jose, Oakland...
+
+A 503000000 8VSB
+A 551000000 8VSB
+A 563000000 8VSB
+A 593000000 8VSB
+A 623000000 8VSB
+A 635000000 8VSB
+A 647000000 8VSB
+A 659000000 8VSB
+A 683000000 8VSB
+A 689000000 8VSB
+A 701000000 8VSB
+A 725000000 8VSB
+A 731000000 8VSB
diff --git a/util/scan/atsc/us-Cable-EIA-542-HRC-center-frequencies-QAM256 b/util/scan/atsc/us-Cable-EIA-542-HRC-center-frequencies-QAM256
new file mode 100644
index 0000000..c0afed9
--- /dev/null
+++ b/util/scan/atsc/us-Cable-EIA-542-HRC-center-frequencies-QAM256
@@ -0,0 +1,142 @@
+# US EIA-542 Cable center frequencies
+# Harmonically Related Carriers (HRC)
+# Channels 1 to 125 are in ascending EIA/NCTA channel designation order
+
+#1
+A 73753600 QAM256
+A 55752700 QAM256
+A 61753000 QAM256
+A 67753300 QAM256
+A 77753900 QAM256
+A 83754200 QAM256
+A 175758700 QAM256
+A 181759000 QAM256
+A 187759300 QAM256
+#10
+A 193759600 QAM256
+A 199759900 QAM256
+A 205760200 QAM256
+A 211760500 QAM256
+A 121756000 QAM256
+A 127756300 QAM256
+A 133756600 QAM256
+A 139756900 QAM256
+A 145757200 QAM256
+A 151757500 QAM256
+#20
+A 157757800 QAM256
+A 163758100 QAM256
+A 169758400 QAM256
+A 217760800 QAM256
+A 223761100 QAM256
+A 229761400 QAM256
+A 235761700 QAM256
+A 241762000 QAM256
+A 247762300 QAM256
+A 253762600 QAM256
+#30
+A 259762900 QAM256
+A 265763200 QAM256
+A 271763500 QAM256
+A 277763800 QAM256
+A 283764100 QAM256
+A 289764400 QAM256
+A 295764700 QAM256
+A 301765000 QAM256
+A 307765300 QAM256
+A 313765600 QAM256
+#40
+A 319765900 QAM256
+A 325766200 QAM256
+A 331766500 QAM256
+A 337766800 QAM256
+A 343767100 QAM256
+A 349767400 QAM256
+A 355767700 QAM256
+A 361768000 QAM256
+A 367768300 QAM256
+A 373768600 QAM256
+#50
+A 379768900 QAM256
+A 385769200 QAM256
+A 391769500 QAM256
+A 397769800 QAM256
+A 403770100 QAM256
+A 409770400 QAM256
+A 415770700 QAM256
+A 421771000 QAM256
+A 427771300 QAM256
+A 433771600 QAM256
+#60
+A 439771900 QAM256
+A 445772200 QAM256
+A 451772500 QAM256
+A 457772800 QAM256
+A 463773100 QAM256
+A 469773400 QAM256
+A 475773700 QAM256
+A 481774000 QAM256
+A 487774300 QAM256
+A 493774600 QAM256
+#70
+A 499774900 QAM256
+A 505775200 QAM256
+A 511775500 QAM256
+A 517775800 QAM256
+A 523776100 QAM256
+A 529776400 QAM256
+A 535776700 QAM256
+A 541777000 QAM256
+A 547777300 QAM256
+A 553777600 QAM256
+#80
+A 559777900 QAM256
+A 565778200 QAM256
+A 571778500 QAM256
+A 577778800 QAM256
+A 583779100 QAM256
+A 589779400 QAM256
+A 595779700 QAM256
+A 601780000 QAM256
+A 607780300 QAM256
+A 613780600 QAM256
+#90
+A 619780900 QAM256
+A 625781200 QAM256
+A 631781500 QAM256
+A 637781800 QAM256
+A 643782100 QAM256
+A 91754500 QAM256
+A 97754800 QAM256
+A 103755100 QAM256
+A 109775000 QAM256
+A 115775000 QAM256
+#100
+A 649782400 QAM256
+A 655782700 QAM256
+A 661783000 QAM256
+A 667783300 QAM256
+A 673783600 QAM256
+A 679783900 QAM256
+A 685784200 QAM256
+A 691784500 QAM256
+A 697784800 QAM256
+A 703785100 QAM256
+#110
+A 709785400 QAM256
+A 715785700 QAM256
+A 721786000 QAM256
+A 727786300 QAM256
+A 733786600 QAM256
+A 739786900 QAM256
+A 745787200 QAM256
+A 751787500 QAM256
+A 757787800 QAM256
+A 763788100 QAM256
+#120
+A 769788400 QAM256
+A 775788700 QAM256
+A 781789000 QAM256
+A 787789300 QAM256
+A 793789600 QAM256
+A 799789900 QAM256
diff --git a/util/scan/atsc/us-Cable-EIA-542-IRC-center_frequencies-QAM256 b/util/scan/atsc/us-Cable-EIA-542-IRC-center_frequencies-QAM256
new file mode 100644
index 0000000..f18d5e5
--- /dev/null
+++ b/util/scan/atsc/us-Cable-EIA-542-IRC-center_frequencies-QAM256
@@ -0,0 +1,142 @@
+# US Cable EIA-542 center frequencies
+# Incrementally Related Carriers (IRC)
+# Channels 1-125 are in ascending EIA/NCTA channel designation order
+
+#1
+A 75012500 QAM256
+A 57025000 QAM256
+A 63012500 QAM256
+A 69012500 QAM256
+A 79012500 QAM256
+A 85012500 QAM256
+A 177012500 QAM256
+A 183012500 QAM256
+A 189012500 QAM256
+#10
+A 195012500 QAM256
+A 201012500 QAM256
+A 207012500 QAM256
+A 213012500 QAM256
+A 123012500 QAM256
+A 129012500 QAM256
+A 135012500 QAM256
+A 141012500 QAM256
+A 147012500 QAM256
+A 153012500 QAM256
+#20
+A 159012500 QAM256
+A 165012500 QAM256
+A 171012500 QAM256
+A 219012500 QAM256
+A 225012500 QAM256
+A 231012500 QAM256
+A 237012500 QAM256
+A 243012500 QAM256
+A 249012500 QAM256
+A 255012500 QAM256
+#30
+A 261012500 QAM256
+A 267012500 QAM256
+A 273012500 QAM256
+A 279012500 QAM256
+A 285012500 QAM256
+A 291012500 QAM256
+A 297012500 QAM256
+A 303012500 QAM256
+A 309012500 QAM256
+A 315012500 QAM256
+#40
+A 321012500 QAM256
+A 327012500 QAM256
+A 333025000 QAM256
+A 339012500 QAM256
+A 345012500 QAM256
+A 351012500 QAM256
+A 357012500 QAM256
+A 363012500 QAM256
+A 369012500 QAM256
+A 375012500 QAM256
+#50
+A 381012500 QAM256
+A 387012500 QAM256
+A 393012500 QAM256
+A 399012500 QAM256
+A 405012500 QAM256
+A 411012500 QAM256
+A 417012500 QAM256
+A 423012500 QAM256
+A 429012500 QAM256
+A 435012500 QAM256
+#60
+A 441012500 QAM256
+A 447012500 QAM256
+A 453012500 QAM256
+A 459012500 QAM256
+A 465012500 QAM256
+A 471012500 QAM256
+A 477012500 QAM256
+A 483012500 QAM256
+A 489012500 QAM256
+A 495012500 QAM256
+#70
+A 501012500 QAM256
+A 507012500 QAM256
+A 513012500 QAM256
+A 519012500 QAM256
+A 525012500 QAM256
+A 531012500 QAM256
+A 537012500 QAM256
+A 543012500 QAM256
+A 549012500 QAM256
+A 555012500 QAM256
+#80
+A 561012500 QAM256
+A 567012500 QAM256
+A 573012500 QAM256
+A 579012500 QAM256
+A 585012500 QAM256
+A 591012500 QAM256
+A 597012500 QAM256
+A 603012500 QAM256
+A 609012500 QAM256
+A 615012500 QAM256
+#90
+A 621012500 QAM256
+A 627012500 QAM256
+A 633012500 QAM256
+A 639012500 QAM256
+A 645012500 QAM256
+A 93012500 QAM256
+A 99012500 QAM256
+A 105012500 QAM256
+A 111012500 QAM256
+A 117012500 QAM256
+#100
+A 651012500 QAM256
+A 657012500 QAM256
+A 663012500 QAM256
+A 669012500 QAM256
+A 675012500 QAM256
+A 681012500 QAM256
+A 687012500 QAM256
+A 693012500 QAM256
+A 699012500 QAM256
+A 705012500 QAM256
+#110
+A 711012500 QAM256
+A 717012500 QAM256
+A 723012500 QAM256
+A 729012500 QAM256
+A 735012500 QAM256
+A 741012500 QAM256
+A 747012500 QAM256
+A 753012500 QAM256
+A 759012500 QAM256
+A 765012500 QAM256
+#120
+A 771012500 QAM256
+A 777012500 QAM256
+A 783012500 QAM256
+A 789012500 QAM256
+A 795012500 QAM256
+A 801012500 QAM256
diff --git a/util/scan/atsc/us-Cable-HRC-center-frequencies-QAM256 b/util/scan/atsc/us-Cable-HRC-center-frequencies-QAM256
new file mode 100644
index 0000000..2bc3838
--- /dev/null
+++ b/util/scan/atsc/us-Cable-HRC-center-frequencies-QAM256
@@ -0,0 +1,142 @@
+# US Cable center frequencies
+# Harmonically Related Carriers (HRC)
+# Channels are in ascending EIA/NCTA channel designation order
+
+#1
+A 73753600 QAM256
+A 55752700 QAM256
+A 61753000 QAM256
+A 67753300 QAM256
+A 77753900 QAM256
+A 83754200 QAM256
+A 175758700 QAM256
+A 181759000 QAM256
+A 187759300 QAM256
+#10
+A 193759600 QAM256
+A 199759900 QAM256
+A 205760200 QAM256
+A 211760500 QAM256
+A 121756000 QAM256
+A 127756300 QAM256
+A 133756600 QAM256
+A 139756900 QAM256
+A 145757200 QAM256
+A 151757500 QAM256
+#20
+A 157757800 QAM256
+A 163758100 QAM256
+A 169758400 QAM256
+A 217760800 QAM256
+A 223761100 QAM256
+A 229761400 QAM256
+A 235761700 QAM256
+A 241762000 QAM256
+A 247762300 QAM256
+A 253762600 QAM256
+#30
+A 259762900 QAM256
+A 265763200 QAM256
+A 271763500 QAM256
+A 277763800 QAM256
+A 283764100 QAM256
+A 289764400 QAM256
+A 295764700 QAM256
+A 301765000 QAM256
+A 307765300 QAM256
+A 313765600 QAM256
+#40
+A 319765900 QAM256
+A 325766200 QAM256
+A 331766500 QAM256
+A 337766800 QAM256
+A 343767100 QAM256
+A 349767400 QAM256
+A 355767700 QAM256
+A 361768000 QAM256
+A 367768300 QAM256
+A 373768600 QAM256
+#50
+A 379768900 QAM256
+A 385769200 QAM256
+A 391769500 QAM256
+A 397769800 QAM256
+A 403770100 QAM256
+A 409770400 QAM256
+A 415770700 QAM256
+A 421771000 QAM256
+A 427771300 QAM256
+A 433771600 QAM256
+#60
+A 439771900 QAM256
+A 445772200 QAM256
+A 451772500 QAM256
+A 457772800 QAM256
+A 463773100 QAM256
+A 469773400 QAM256
+A 475773700 QAM256
+A 481774000 QAM256
+A 487774300 QAM256
+A 493774600 QAM256
+#70
+A 499774900 QAM256
+A 505775200 QAM256
+A 511775500 QAM256
+A 517775800 QAM256
+A 523776100 QAM256
+A 529776400 QAM256
+A 535776700 QAM256
+A 541777000 QAM256
+A 547777300 QAM256
+A 553777600 QAM256
+#80
+A 559777900 QAM256
+A 565778200 QAM256
+A 571778500 QAM256
+A 577778800 QAM256
+A 583779100 QAM256
+A 589779400 QAM256
+A 595779700 QAM256
+A 601780000 QAM256
+A 607780300 QAM256
+A 613780600 QAM256
+#90
+A 619780900 QAM256
+A 625781200 QAM256
+A 631781500 QAM256
+A 637781800 QAM256
+A 643782100 QAM256
+A 91754500 QAM256
+A 97754800 QAM256
+A 103755100 QAM256
+A 109755400 QAM256
+A 115755700 QAM256
+#100
+A 649782400 QAM256
+A 655782700 QAM256
+A 661783000 QAM256
+A 667783300 QAM256
+A 673783600 QAM256
+A 679783900 QAM256
+A 685784200 QAM256
+A 691784500 QAM256
+A 697784800 QAM256
+A 703785100 QAM256
+#110
+A 709785400 QAM256
+A 715785700 QAM256
+A 721786000 QAM256
+A 727786300 QAM256
+A 733786600 QAM256
+A 739786900 QAM256
+A 745787200 QAM256
+A 751787500 QAM256
+A 757787800 QAM256
+A 763788100 QAM256
+#120
+A 769788400 QAM256
+A 775788700 QAM256
+A 781789000 QAM256
+A 787789300 QAM256
+A 793789600 QAM256
+A 799789900 QAM256
diff --git a/util/scan/atsc/us-Cable-IRC-center-frequencies-QAM256 b/util/scan/atsc/us-Cable-IRC-center-frequencies-QAM256
new file mode 100644
index 0000000..72842e0
--- /dev/null
+++ b/util/scan/atsc/us-Cable-IRC-center-frequencies-QAM256
@@ -0,0 +1,142 @@
+# US Cable center frequencies
+# Incrementally Related Carriers (IRC)
+# Channels are in ascending EIA/NCTA channel designation order
+
+#1
+A 75000000 QAM256
+A 57000000 QAM256
+A 63000000 QAM256
+A 69000000 QAM256
+A 79000000 QAM256
+A 85000000 QAM256
+A 177000000 QAM256
+A 183000000 QAM256
+A 189000000 QAM256
+#10
+A 195000000 QAM256
+A 201000000 QAM256
+A 207000000 QAM256
+A 213000000 QAM256
+A 123000000 QAM256
+A 129000000 QAM256
+A 135000000 QAM256
+A 141000000 QAM256
+A 147000000 QAM256
+A 153000000 QAM256
+#20
+A 159000000 QAM256
+A 165000000 QAM256
+A 171000000 QAM256
+A 219000000 QAM256
+A 225000000 QAM256
+A 231000000 QAM256
+A 237000000 QAM256
+A 243000000 QAM256
+A 249000000 QAM256
+A 255000000 QAM256
+#30
+A 261000000 QAM256
+A 267000000 QAM256
+A 273000000 QAM256
+A 279000000 QAM256
+A 285000000 QAM256
+A 291000000 QAM256
+A 297000000 QAM256
+A 303000000 QAM256
+A 309000000 QAM256
+A 315000000 QAM256
+#40
+A 321000000 QAM256
+A 327000000 QAM256
+A 333000000 QAM256
+A 339000000 QAM256
+A 345000000 QAM256
+A 351000000 QAM256
+A 357000000 QAM256
+A 363000000 QAM256
+A 369000000 QAM256
+A 375000000 QAM256
+#50
+A 381000000 QAM256
+A 387000000 QAM256
+A 393000000 QAM256
+A 399000000 QAM256
+A 405000000 QAM256
+A 411000000 QAM256
+A 417000000 QAM256
+A 423000000 QAM256
+A 429000000 QAM256
+A 435000000 QAM256
+#60
+A 441000000 QAM256
+A 447000000 QAM256
+A 453000000 QAM256
+A 459000000 QAM256
+A 465000000 QAM256
+A 471000000 QAM256
+A 477000000 QAM256
+A 483000000 QAM256
+A 489000000 QAM256
+A 495000000 QAM256
+#70
+A 501000000 QAM256
+A 507000000 QAM256
+A 513000000 QAM256
+A 519000000 QAM256
+A 525000000 QAM256
+A 531000000 QAM256
+A 537000000 QAM256
+A 543000000 QAM256
+A 549000000 QAM256
+A 555000000 QAM256
+#80
+A 561000000 QAM256
+A 567000000 QAM256
+A 573000000 QAM256
+A 579000000 QAM256
+A 585000000 QAM256
+A 591000000 QAM256
+A 597000000 QAM256
+A 603000000 QAM256
+A 609000000 QAM256
+A 615000000 QAM256
+#90
+A 621000000 QAM256
+A 627000000 QAM256
+A 633000000 QAM256
+A 639000000 QAM256
+A 645000000 QAM256
+A 93000000 QAM256
+A 99000000 QAM256
+A 105000000 QAM256
+A 111000000 QAM256
+A 117000000 QAM256
+#100
+A 651000000 QAM256
+A 657000000 QAM256
+A 663000000 QAM256
+A 669000000 QAM256
+A 675000000 QAM256
+A 681000000 QAM256
+A 687000000 QAM256
+A 693000000 QAM256
+A 699000000 QAM256
+A 705000000 QAM256
+#110
+A 711000000 QAM256
+A 717000000 QAM256
+A 723000000 QAM256
+A 729000000 QAM256
+A 735000000 QAM256
+A 741000000 QAM256
+A 747000000 QAM256
+A 753000000 QAM256
+A 759000000 QAM256
+A 765000000 QAM256
+#120
+A 771000000 QAM256
+A 777000000 QAM256
+A 783000000 QAM256
+A 789000000 QAM256
+A 795000000 QAM256
+A 801000000 QAM256
diff --git a/util/scan/atsc/us-Cable-Standard-center-frequencies-QAM256 b/util/scan/atsc/us-Cable-Standard-center-frequencies-QAM256
new file mode 100644
index 0000000..4367e7a
--- /dev/null
+++ b/util/scan/atsc/us-Cable-Standard-center-frequencies-QAM256
@@ -0,0 +1,140 @@
+# US EIA/NCTA Standard Cable center frequencies
+# Channels are in ascending EIA/NCTA channel designation order
+
+#2
+A 57000000 QAM256
+A 63000000 QAM256
+A 69000000 QAM256
+A 79000000 QAM256
+A 85000000 QAM256
+A 177000000 QAM256
+A 183000000 QAM256
+A 189000000 QAM256
+#10
+A 195000000 QAM256
+A 201000000 QAM256
+A 207000000 QAM256
+A 213000000 QAM256
+A 123012500 QAM256
+A 129012500 QAM256
+A 135012500 QAM256
+A 141000000 QAM256
+A 147000000 QAM256
+A 153000000 QAM256
+#20
+A 159000000 QAM256
+A 165000000 QAM256
+A 171000000 QAM256
+A 219000000 QAM256
+A 225000000 QAM256
+A 231012500 QAM256
+A 237012500 QAM256
+A 243012500 QAM256
+A 249012500 QAM256
+A 255012500 QAM256
+#30
+A 261012500 QAM256
+A 267012500 QAM256
+A 273012500 QAM256
+A 279012500 QAM256
+A 285012500 QAM256
+A 291012500 QAM256
+A 297012500 QAM256
+A 303012500 QAM256
+A 309012500 QAM256
+A 315012500 QAM256
+#40
+A 321012500 QAM256
+A 327012500 QAM256
+A 333025000 QAM256
+A 339012500 QAM256
+A 345012500 QAM256
+A 351012500 QAM256
+A 357012500 QAM256
+A 363012500 QAM256
+A 369012500 QAM256
+A 375012500 QAM256
+#50
+A 381012500 QAM256
+A 387012500 QAM256
+A 393012500 QAM256
+A 399012500 QAM256
+A 405000000 QAM256
+A 411000000 QAM256
+A 417000000 QAM256
+A 423000000 QAM256
+A 429000000 QAM256
+A 435000000 QAM256
+#60
+A 441000000 QAM256
+A 447000000 QAM256
+A 453000000 QAM256
+A 459000000 QAM256
+A 465000000 QAM256
+A 471000000 QAM256
+A 477000000 QAM256
+A 483000000 QAM256
+A 489000000 QAM256
+A 495000000 QAM256
+#70
+A 501000000 QAM256
+A 507000000 QAM256
+A 513000000 QAM256
+A 519000000 QAM256
+A 525000000 QAM256
+A 531000000 QAM256
+A 537000000 QAM256
+A 543000000 QAM256
+A 549000000 QAM256
+A 555000000 QAM256
+#80
+A 561000000 QAM256
+A 567000000 QAM256
+A 573000000 QAM256
+A 579000000 QAM256
+A 585000000 QAM256
+A 591000000 QAM256
+A 597000000 QAM256
+A 603000000 QAM256
+A 609000000 QAM256
+A 615000000 QAM256
+#90
+A 621000000 QAM256
+A 627000000 QAM256
+A 633000000 QAM256
+A 639000000 QAM256
+A 645000000 QAM256
+A 93000000 QAM256
+A 99000000 QAM256
+A 105000000 QAM256
+A 111025000 QAM256
+A 117025000 QAM256
+#100
+A 651000000 QAM256
+A 657000000 QAM256
+A 663000000 QAM256
+A 669000000 QAM256
+A 675000000 QAM256
+A 681000000 QAM256
+A 687000000 QAM256
+A 693000000 QAM256
+A 699000000 QAM256
+A 705000000 QAM256
+#110
+A 711000000 QAM256
+A 717000000 QAM256
+A 723000000 QAM256
+A 729000000 QAM256
+A 735000000 QAM256
+A 741000000 QAM256
+A 747000000 QAM256
+A 753000000 QAM256
+A 759000000 QAM256
+A 765000000 QAM256
+#120
+A 771000000 QAM256
+A 777000000 QAM256
+A 783000000 QAM256
+A 789000000 QAM256
+A 795000000 QAM256
+A 801000000 QAM256
diff --git a/util/scan/atsc/us-ID-Boise b/util/scan/atsc/us-ID-Boise
new file mode 100644
index 0000000..9fe7cd2
--- /dev/null
+++ b/util/scan/atsc/us-ID-Boise
@@ -0,0 +1,8 @@
+# Boise, ID, USA
+# A freq mod
+A 195000000 8VSB
+A 213000000 8VSB
+A 515000000 8VSB
+A 533000000 8VSB
+A 545000000 8VSB
+A 557000000 8VSB
diff --git a/util/scan/atsc/us-MA-Boston b/util/scan/atsc/us-MA-Boston
new file mode 100644
index 0000000..05f170a
--- /dev/null
+++ b/util/scan/atsc/us-MA-Boston
@@ -0,0 +1,13 @@
+# initial tuning data for Boston, MA
+
+A 503000000 8VSB
+A 509000000 8VSB
+A 527000000 8VSB
+A 563000000 8VSB
+A 569000000 8VSB
+A 575000000 8VSB
+A 581000000 8VSB
+A 623000000 8VSB
+A 635000000 8VSB
+A 641000000 8VSB
+A 647000000 8VSB
diff --git a/util/scan/atsc/us-MI-Lansing b/util/scan/atsc/us-MI-Lansing
new file mode 100644
index 0000000..167555f
--- /dev/null
+++ b/util/scan/atsc/us-MI-Lansing
@@ -0,0 +1,7 @@
+# initial tuning data for Lansing, MI
+
+A 617000000 8VSB
+A 695000000 8VSB
+A 719000000 8VSB
+A 731000000 8VSB
+A 743000000 8VSB
diff --git a/util/scan/atsc/us-NTSC-center-frequencies-8VSB b/util/scan/atsc/us-NTSC-center-frequencies-8VSB
new file mode 100644
index 0000000..d21f9ae
--- /dev/null
+++ b/util/scan/atsc/us-NTSC-center-frequencies-8VSB
@@ -0,0 +1,71 @@
+# US NTSC center frequencies, use if in doubt
+
+A 57000000 8VSB
+A 63000000 8VSB
+A 69000000 8VSB
+A 79000000 8VSB
+A 85000000 8VSB
+A 177000000 8VSB
+A 183000000 8VSB
+A 189000000 8VSB
+A 195000000 8VSB
+A 201000000 8VSB
+A 207000000 8VSB
+A 213000000 8VSB
+A 473000000 8VSB
+A 479000000 8VSB
+A 485000000 8VSB
+A 491000000 8VSB
+A 497000000 8VSB
+A 503000000 8VSB
+A 509000000 8VSB
+A 515000000 8VSB
+A 521000000 8VSB
+A 527000000 8VSB
+A 533000000 8VSB
+A 539000000 8VSB
+A 545000000 8VSB
+A 551000000 8VSB
+A 557000000 8VSB
+A 563000000 8VSB
+A 569000000 8VSB
+A 575000000 8VSB
+A 581000000 8VSB
+A 587000000 8VSB
+A 593000000 8VSB
+A 599000000 8VSB
+A 605000000 8VSB
+A 611000000 8VSB
+A 617000000 8VSB
+A 623000000 8VSB
+A 629000000 8VSB
+A 635000000 8VSB
+A 641000000 8VSB
+A 647000000 8VSB
+A 653000000 8VSB
+A 659000000 8VSB
+A 665000000 8VSB
+A 671000000 8VSB
+A 677000000 8VSB
+A 683000000 8VSB
+A 689000000 8VSB
+A 695000000 8VSB
+A 701000000 8VSB
+A 707000000 8VSB
+A 713000000 8VSB
+A 719000000 8VSB
+A 725000000 8VSB
+A 731000000 8VSB
+A 737000000 8VSB
+A 743000000 8VSB
+A 749000000 8VSB
+A 755000000 8VSB
+A 761000000 8VSB
+A 767000000 8VSB
+A 773000000 8VSB
+A 779000000 8VSB
+A 785000000 8VSB
+A 791000000 8VSB
+A 797000000 8VSB
+A 803000000 8VSB
+
diff --git a/util/scan/atsc/us-NY-TWC-NYC b/util/scan/atsc/us-NY-TWC-NYC
new file mode 100644
index 0000000..0ad6e48
--- /dev/null
+++ b/util/scan/atsc/us-NY-TWC-NYC
@@ -0,0 +1,53 @@
+#initial tuning data for Time Warner Cable in New York City
+
+#80
+A 561000000 QAM256
+A 567000000 QAM256
+A 573000000 QAM256
+A 579000000 QAM256
+A 585000000 QAM256
+A 591000000 QAM256
+A 597000000 QAM256
+A 603000000 QAM256
+A 609000000 QAM256
+A 615000000 QAM256
+#90
+A 621000000 QAM256
+A 627000000 QAM256
+A 633000000 QAM256
+A 639000000 QAM256
+A 645000000 QAM256
+A 93000000 QAM256
+A 99000000 QAM256
+A 105000000 QAM256
+A 111025000 QAM256
+A 117025000 QAM256
+#100
+A 651000000 QAM256
+A 657000000 QAM256
+A 663000000 QAM256
+A 669000000 QAM256
+A 675000000 QAM256
+A 681000000 QAM256
+A 687000000 QAM256
+A 693000000 QAM256
+A 699000000 QAM256
+A 705000000 QAM256
+#110
+A 711000000 QAM256
+A 717000000 QAM256
+A 723000000 QAM256
+A 729000000 QAM256
+A 735000000 QAM256
+A 741000000 QAM256
+A 747000000 QAM256
+A 753000000 QAM256
+A 759000000 QAM256
+A 765000000 QAM256
+#120
+A 771000000 QAM256
+A 777000000 QAM256
+A 783000000 QAM256
+A 789000000 QAM256
+A 795000000 QAM256
+A 801000000 QAM256
diff --git a/util/scan/atsc/us-PA-Philadelphia b/util/scan/atsc/us-PA-Philadelphia
new file mode 100644
index 0000000..eea9685
--- /dev/null
+++ b/util/scan/atsc/us-PA-Philadelphia
@@ -0,0 +1,16 @@
+# US NY state
+
+#A 183000000 8VSB
+#A 515000000 8VSB
+#A 545000000 8VSB
+#A 551000000 8VSB
+A 575000000 8VSB
+A 581000000 8VSB
+A 593000000 8VSB
+#A 641000000 8VSB
+A 647000000 8VSB
+A 713000000 8VSB
+#A 719000000 8VSB
+A 773000000 8VSB
+A 785000000 8VSB
+A 791000000 8VSB
diff --git a/util/scan/atsc_psip_section.c b/util/scan/atsc_psip_section.c
new file mode 100644
index 0000000..0c50014
--- /dev/null
+++ b/util/scan/atsc_psip_section.c
@@ -0,0 +1,62 @@
+#include "atsc_psip_section.h"
+
+struct ATSC_extended_channel_name_descriptor read_ATSC_extended_channel_name_descriptor(const u8 *b)
+{
+ struct ATSC_extended_channel_name_descriptor v;
+ v.descriptor_tag = getBits(b, 0, 8);
+ v.descriptor_length = getBits(b, 8, 8);
+ v.TODO = getBits(b, 16, 1);
+ return v;
+}
+
+struct ATSC_service_location_descriptor read_ATSC_service_location_descriptor(const u8 *b)
+{
+ struct ATSC_service_location_descriptor v;
+ v.descriptor_tag = getBits(b, 0, 8);
+ v.descriptor_length = getBits(b, 8, 8);
+ v.reserved = getBits(b, 16, 3);
+ v.PCR_PID = getBits(b, 19,13);
+ v.number_elements = getBits(b, 32, 8);
+ return v;
+}
+
+struct ATSC_service_location_element read_ATSC_service_location_element(const u8 *b)
+{
+ struct ATSC_service_location_element v;
+ v.stream_type = getBits(b, 0, 8);
+ v.reserved = getBits(b, 8, 3);
+ v.elementary_PID = getBits(b, 11,13);
+ v.ISO_639_language_code = getBits(b, 24,24);
+ return v;
+}
+
+struct tvct_channel read_tvct_channel(const u8 *b)
+{
+ struct tvct_channel v;
+ v.short_name0 = getBits(b, 0,16);
+ v.short_name1 = getBits(b, 16,16);
+ v.short_name2 = getBits(b, 32,16);
+ v.short_name3 = getBits(b, 48,16);
+ v.short_name4 = getBits(b, 64,16);
+ v.short_name5 = getBits(b, 80,16);
+ v.short_name6 = getBits(b, 96,16);
+ v.reserved0 = getBits(b,112, 4);
+ v.major_channel_number = getBits(b,116,10);
+ v.minor_channel_number = getBits(b,126,10);
+ v.modulation_mode = getBits(b,136, 8);
+ v.carrier_frequency = getBits(b,144,32);
+ v.channel_TSID = getBits(b,176,16);
+ v.program_number = getBits(b,192,16);
+ v.ETM_location = getBits(b,208, 2);
+ v.access_controlled = getBits(b,210, 1);
+ v.hidden = getBits(b,211, 1);
+ v.reserved1 = getBits(b,212, 2);
+ v.hide_guide = getBits(b,214, 1);
+ v.reserved2 = getBits(b,215, 3);
+ v.service_type = getBits(b,218, 6);
+ v.source_id = getBits(b,224,16);
+ v.reserved3 = getBits(b,240, 6);
+ v.descriptors_length = getBits(b,246,10);
+ return v;
+}
+
diff --git a/util/scan/atsc_psip_section.h b/util/scan/atsc_psip_section.h
new file mode 100644
index 0000000..c76bce7
--- /dev/null
+++ b/util/scan/atsc_psip_section.h
@@ -0,0 +1,60 @@
+#ifndef __ATSC_PSIP_SECTION_H_
+#define __ATSC_PSIP_SECTION_H_
+
+#include "section.h"
+
+#define ATSC_EXTENDED_CHANNEL_NAME_DESCRIPTOR_ID 0xA0
+struct ATSC_extended_channel_name_descriptor {
+ u8 descriptor_tag : 8;
+ u8 descriptor_length : 8;
+ u8 TODO : 1;
+} PACKED;
+struct ATSC_extended_channel_name_descriptor read_ATSC_extended_channel_name_descriptor(const u8 *);
+
+#define ATSC_SERVICE_LOCATION_DESCRIPTOR_ID 0xA1
+struct ATSC_service_location_descriptor {
+ u8 descriptor_tag : 8;
+ u8 descriptor_length : 8;
+ u8 reserved : 3;
+ u16 PCR_PID :13;
+ u8 number_elements : 8;
+} PACKED;
+struct ATSC_service_location_descriptor read_ATSC_service_location_descriptor(const u8 *);
+
+struct ATSC_service_location_element {
+ u8 stream_type : 8;
+ u8 reserved : 3;
+ u16 elementary_PID :13;
+ u32 ISO_639_language_code :24;
+} PACKED;
+struct ATSC_service_location_element read_ATSC_service_location_element(const u8 *);
+
+struct tvct_channel {
+ u16 short_name0 :16;
+ u16 short_name1 :16;
+ u16 short_name2 :16;
+ u16 short_name3 :16;
+ u16 short_name4 :16;
+ u16 short_name5 :16;
+ u16 short_name6 :16;
+ u8 reserved0 : 4;
+ u16 major_channel_number :10;
+ u16 minor_channel_number :10;
+ u8 modulation_mode : 8;
+ u32 carrier_frequency :32;
+ u16 channel_TSID :16;
+ u16 program_number :16;
+ u8 ETM_location : 2;
+ u8 access_controlled : 1;
+ u8 hidden : 1;
+ u8 reserved1 : 2;
+ u8 hide_guide : 1;
+ u8 reserved2 : 3;
+ u8 service_type : 6;
+ u16 source_id :16;
+ u8 reserved3 : 6;
+ u16 descriptors_length :10;
+} PACKED;
+struct tvct_channel read_tvct_channel(const u8 *);
+
+#endif