Skip to content

Constrain allowed operations for the active configuration mode. (5/n) - #1803

Draft
antoinevg wants to merge 19 commits into
mainfrom
antoinevg/bitstream-supported-operations
Draft

Constrain allowed operations for the active configuration mode. (5/n)#1803
antoinevg wants to merge 19 commits into
mainfrom
antoinevg/bitstream-supported-operations

Conversation

@antoinevg

@antoinevg antoinevg commented Jul 28, 2026

Copy link
Copy Markdown
Member

Depends on: #1806


This PR adds checks to the HackRF firmware and host tools to disallow unsupported operations depending on the currently active bitstream:

  • New firmware methods: radio_config_supports_opmode(), radio_config_supports_register()
  • Firmware check: Only allow setting of transceiver modes supported by the currently active bitstream.
  • hackrf_transfer: Only allow send & receive operations if the currently active bitstream supports it.
  • hackrf_sweep: Only allow sweep operation if the currently active bitstream supports it.

@antoinevg
antoinevg force-pushed the antoinevg/bitstream-supported-operations branch 4 times, most recently from cc70587 to f1852fb Compare July 28, 2026 11:55
@antoinevg
antoinevg marked this pull request as draft July 28, 2026 13:03
@antoinevg
antoinevg force-pushed the antoinevg/bitstream-supported-operations branch from f1852fb to b427f7f Compare August 4, 2026 09:33
@antoinevg
antoinevg force-pushed the antoinevg/bitstream-supported-operations branch 4 times, most recently from 0fcd71f to d873199 Compare August 21, 2026 09:54
@antoinevg antoinevg changed the title Constrain allowed firmware operations for the active configuration mode. (5/n) Constrain allowed operations for the active configuration mode. (5/n) Aug 21, 2026
@antoinevg
antoinevg force-pushed the antoinevg/bitstream-supported-operations branch from af38c64 to 6391d4d Compare September 8, 2026 09:15
@antoinevg
antoinevg force-pushed the antoinevg/bitstream-supported-operations branch from 6391d4d to ee60b82 Compare September 10, 2026 09:14
@antoinevg
antoinevg force-pushed the antoinevg/bitstream-supported-operations branch from ee60b82 to 0f7e417 Compare September 10, 2026 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant