Skip to content

Commit be93a49

Browse files
bgodavarholtmann
authored andcommitted
Bluetooth: hci_qca: Enable 3.2 Mbps operating speed.
Enable Qualcomm chips to operate at 3.2Mbps. Signed-off-by: Balakrishna Godavarthi <[email protected]> Reviewed-by: Matthias Kaehlcke <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
1 parent 83d9c5e commit be93a49

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/bluetooth/hci_qca.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,8 @@ static uint8_t qca_get_baudrate_value(int speed)
877877
return QCA_BAUDRATE_2000000;
878878
case 3000000:
879879
return QCA_BAUDRATE_3000000;
880+
case 3200000:
881+
return QCA_BAUDRATE_3200000;
880882
case 3500000:
881883
return QCA_BAUDRATE_3500000;
882884
default:
@@ -891,7 +893,7 @@ static int qca_set_baudrate(struct hci_dev *hdev, uint8_t baudrate)
891893
struct sk_buff *skb;
892894
u8 cmd[] = { 0x01, 0x48, 0xFC, 0x01, 0x00 };
893895

894-
if (baudrate > QCA_BAUDRATE_3000000)
896+
if (baudrate > QCA_BAUDRATE_3200000)
895897
return -EINVAL;
896898

897899
cmd[4] = baudrate;

0 commit comments

Comments
 (0)