From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751736AbaLITHx (ORCPT ); Tue, 9 Dec 2014 14:07:53 -0500 Received: from senator.holtmann.net ([87.106.208.187]:44773 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751252AbaLITHw convert rfc822-to-8bit (ORCPT ); Tue, 9 Dec 2014 14:07:52 -0500 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Subject: Re: __hci_cmd_sync() not suitable for nokia h4p From: Marcel Holtmann In-Reply-To: <20141209190210.GA15641@amd> Date: Tue, 9 Dec 2014 20:07:45 +0100 Cc: =?utf-8?Q?Pali_Roh=C3=A1r?= , sre@debian.org, Sebastian Reichel , kernel list , linux-arm-kernel , Linux OMAP Mailing List , tony@atomide.com, khilman@kernel.org, Aaro Koskinen , =?utf-8?B?0JjQstCw0LnQu9C+INCU0LjQvNC40YLRgNC+0LI=?= , "Gustavo F. Padovan" , Johan Hedberg , linux-bluetooth@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: <304050AD-DB11-4A2B-A1F7-8B1BBB5F04F0@holtmann.org> References: <20141209190210.GA15641@amd> To: Pavel Machek X-Mailer: Apple Mail (2.1993) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pavel, > Major problem with Nokia H4P driver was, that it uses custom functions > instead of __hci_cmd_sync(). the __hci_cmd_sync is for sending HCI commands and not low-level protocol transports like H:4 or similar. So you want to separate the actual transport of HCI from the firmware loading. Regards Marcel