magma / domain-proxy

A Domain proxy for Magma
BSD 3-Clause "New" or "Revised" License
1 stars 6 forks source link

Implement unsetting available frequency on failed Grant or Hearbeat #473

Closed jkmar closed 2 years ago

jkmar commented 2 years ago

Configuration controller should unset available frequency when Grant request failed or when Grant was terminated. The unseating should work in the following way: given grant (or grant request) on frequency F hz (midpoint) and bandwidth B hz, CC should unset (F - 3550 10^6) / (5 10^6)-th bit of 4 - (B / (5 * 10^6))-th element in available frequencies array. For example if F is 3600MHz and B is 20MHz, CC should unset 10th bit (2^10) of the first element (index 0) in available frequencies array.