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
channelCfi and maxEirp should permit empty arrays in responses, response masks #21
Currently, the harness assumes that "empty" AvailableChannelInfo objects will be excluded from the response message. However, the SDI specification does not require this, and placeholder objects with empty channelCfi and maxEirp arrays may or may not be included instead.
Tasks:
Remove length checks should be removed from response_validator.py (carries over to response_mask_validator.py).
Ensure that the remaining checks in response_mask_validator correctly handle empty arrays.
Modify the GOC length match case for 0 to pass if subarrays are empty (allows GOC to be missing from response mask and not fail) [~line 160 of response_mask_runner]
Ensure zip/list comprehension on empty arrays (~lines 175-176) does not error or fail
Currently, the harness assumes that "empty" AvailableChannelInfo objects will be excluded from the response message. However, the SDI specification does not require this, and placeholder objects with empty channelCfi and maxEirp arrays may or may not be included instead.
Tasks: