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
Relax restriction on allowed mask response codes #30
In the WFA SDI v1.4 (and some earlier) specs, the response code definition table includes a note under "UNSUPPORTED_SPECTRUM" addressing the case when some requested frequencies or channels lie outside the controlled spectrum.
This note permits an AFC to take two courses of action:
Provide a SUCCESS response with availability provided only for the portions of the spectrum under AFC control
Provide an INVALID_VALUE response with no availability info
At the moment, the response mask validator does not permit other error codes to be expected at the same time as a SUCCESS code. To permit potential test vectors that may trigger this AFC behavior, this restriction must be relaxed. This also permits masks that expect a non-success code, but still include availability information. However, the latter change breaks enforcing the response requirement that availability info is only provided when the response code is SUCCESS (previously implied by the lack of availability info in the response mask). This can be fixed by including explicit checks against this behavior.
Proposed changes:
[x] Remove exclusive check for SUCCESS in mask validator (lines 201-204)
[x] In response mask runner, ensure that availability info is only provided if the response code is success
Need separate checks for both frequency and channel based (lines 111, 148)
In the WFA SDI v1.4 (and some earlier) specs, the response code definition table includes a note under "UNSUPPORTED_SPECTRUM" addressing the case when some requested frequencies or channels lie outside the controlled spectrum.
This note permits an AFC to take two courses of action:
At the moment, the response mask validator does not permit other error codes to be expected at the same time as a SUCCESS code. To permit potential test vectors that may trigger this AFC behavior, this restriction must be relaxed. This also permits masks that expect a non-success code, but still include availability information. However, the latter change breaks enforcing the response requirement that availability info is only provided when the response code is SUCCESS (previously implied by the lack of availability info in the response mask). This can be fixed by including explicit checks against this behavior.
Proposed changes: