lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <80ca0fd6-b666-4e84-a3eb-d3f6d9bfdc05@molgen.mpg.de>
Date: Mon, 17 Jun 2024 09:14:39 +0200
From: Paul Menzel <pmenzel@...gen.mpg.de>
To: Janaki Ramaiah Thota <quic_janathot@...cinc.com>
Cc: Marcel Holtmann <marcel@...tmann.org>,
 Luiz Augusto von Dentz <luiz.dentz@...il.com>, quic_mohamull@...cinc.com,
 quic_hbandi@...cinc.com, linux-bluetooth@...r.kernel.org,
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1] Bluetooth: hci_qca: Increase settling time for
 baudrate change VSC

Dear Janaki,


Thank you for your patch. Please be more specific in the summary/title:

> Increase settling time for baudrate change VSC to 30 ms


Am 17.06.24 um 09:00 schrieb Janaki Ramaiah Thota:
> This change is done to align the settling time and
> synchronization for baudrate VSC for WCN6750.
> 
> In logging disabled builds and few devices
> baudrate change and flow control is taking time
> so increasing the wait time to controller and uart
> to handle baudrate change request properly.

Is the 30 ms documented in some datasheet?

Please use 75 characters per line.

Please document the test system.

> Signed-off-by: Janaki Ramaiah Thota <quic_janathot@...cinc.com>
> ---
>   drivers/bluetooth/hci_qca.c | 5 ++++-
>   1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
> index 0c9c9ee56592..667687835306 100644
> --- a/drivers/bluetooth/hci_qca.c
> +++ b/drivers/bluetooth/hci_qca.c
> @@ -1356,12 +1356,15 @@ static int qca_set_baudrate(struct hci_dev *hdev, uint8_t baudrate)
>   	case QCA_WCN3990:
>   	case QCA_WCN3991:
>   	case QCA_WCN3998:
> -	case QCA_WCN6750:
>   	case QCA_WCN6855:
>   	case QCA_WCN7850:
>   		usleep_range(1000, 10000);
>   		break;
>   
> +	case QCA_WCN6750:
> +		msleep(30);

Why not usleep_range?

> +		break;
> +
>   	default:
>   		msleep(300);
>   	}


Kind regards,

Paul

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ