gd/hci: enable erroneous data reporting in controller
This patch enables the erroneous data reporting when an adapter is
initialized if it is supported. This is useful in enhancing the
audio quality when the audio processing is done in the stack.
Bug: 270652267
Tag: #floss
Test: atest bluetooth_test_gd_unit
Test: Manual testing. Connect a brya host to a headphone and watch
the erroneous data reporting flag when using HFP. When walking
far from the host, some broken SCO data packets were observed in
the btsnoop log as below:
> SCO Data RX: Handle 513 flags 0x01 dlen 60
> SCO Data RX: Handle 513 flags 0x03 dlen 60
The meanings of the flags values above:
- 00: data received correctly
- 01: possibly invalid data
- 10: no data received. All data from the baseband are marked as
lost data.
- 11: Data partially lost.
Change-Id: I4ce7ef9a18e876252232fb2191dcec9484420cb8
Loading
Please register or sign in to comment