lorawan-stack icon indicating copy to clipboard operation
lorawan-stack copied to clipboard

Setting antenna gain doesnt take immediate affect

Open virtualguy opened this issue 5 months ago • 5 comments

Summary

When changing the antenna gain on a gateway it has no affect until a gateway disconnects. It takes a full disconnection timeout until messages start being scheduled with the new TX power

Steps to Reproduce

  1. Gateway connected with antenna.gain set to 0
  2. Using ttn-lw-cli set antenna gain to 10
  3. Observe downlinks still being scheduled at the same tx power (i.e. 30dBm for AU915)

Current Result

Transmit power doesnt change until gateway disconnects

Expected Result

Gain takes affect immediately and transmit power changes

Relevant Logs

No response

URL

No response

Deployment

The Things Stack Open Source (self-hosted)

The Things Stack Version

3.28.0

Client Name and Version

No response

Other Information

No response

Proposed Fix

Compare changes to the antenna properties and require a gateway disconnect here

Contributing

  • [X] I can help by doing more research.
  • [X] I can help by implementing a fix after the proposal above is approved.
  • [X] I can help by testing the fix before it's released.

Code of Conduct

virtualguy avatar Mar 07 '24 21:03 virtualguy