The wl1271 does not seem to observe the Tx buffer size parameter (HCI_VS_Write_SCO_Configuration) and always returns 120B of data. Do you know of any way to change this? Most headsets I have tried negotiate an MTU of 48B.
The HCI_VS_Write_SCO_Configuration command is written immediately after the hciattach call. This command also includes the “Connection type” field which sets the SCO routing to HCI (The default is PCM).
After programming, hciconfig shows the programmed TX packet length value in its SCO MTU field, but the buffers read from the device seem fixed at 120B.