This repository contains code and data for testing the compliance of Automated Frequency Coordinator (AFC) software. The AFC is defined by the FCC in proceeding 18-295 on Unlicensed Use of the 6 GHz Band. This repository contains procedures, documentation, and tests for such software, and for the devices authorized by it. To contribute, please first read the CONTRIBUTING file in the repository for instructions.
14
stars
3
forks
source link
Update Test Harness to support SDI Protocol v1.4 #35
This PR updates the SUT test harness to support SDI Protocol v1.4 (as defined in the SDI standard document v1.5).
Major changes include:
Refactor and completion of the request validator
Request validator now uses the geopy package for some geographic polygon operations (e.g., distance calculations). Geopy is added as an optional module--if not present, the harness will skip any request validations that require Geopy.
Refactor of request message classes to dataclass implementation (matches rest of test harness)
Bump harness support from SDI v1.3 to SDI v1.4
Updates to test vector inquiries and addition of test vector expected responses (masks). Closes #33
Inquiries and expected responses are from Wi-Fi Alliance SUT Test Vectors v1.2, with some minor differences required for testing.
The JSON versions in this repository also permit the required GENERAL_FAILURE response code (in addition to the more specific, optional error response codes in the original test vectors.
AFCS.SRS.1 has a generated expected response that allows the FCC maximum values for the relevant frequency band and Wi-Fi channels, to achieve the SRS test intent of not explicitly testing the AFC System's frequency/channel response.
(Blank or missing availability fields [as used by the Test Vector document] have specific meaning in the response mask format [no availability] that differs from the test vector intent [do not check availability])
Other minor changes are included (various refactoring, typo fixing, etc.) as described in the individual commit messages.
This PR updates the SUT test harness to support SDI Protocol v1.4 (as defined in the SDI standard document v1.5).
Major changes include:
Other minor changes are included (various refactoring, typo fixing, etc.) as described in the individual commit messages.