Wireless-Innovation-Forum / 6-GHz-AFC

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

Closed AEgbert closed 1 year ago

AEgbert commented 1 year ago

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:

  1. Provide a SUCCESS response with availability provided only for the portions of the spectrum under AFC control
  2. 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: