Return-Path: MIME-Version: 1.0 In-Reply-To: <2DC28D85CE3B364AB56B408582B25C8E18E38E2A@DNCE04.ent.ti.com> References: <1341472848.1963.34.camel@aeonflux> <2DC28D85CE3B364AB56B408582B25C8E18E38E2A@DNCE04.ent.ti.com> Date: Thu, 5 Jul 2012 17:10:00 +0800 Message-ID: Subject: Re: BT LMP From: victor yeo To: "Keren, Doron" Cc: "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: On Thu, Jul 5, 2012 at 4:25 PM, Keren, Doron wrote: > Hi Victor, > > The LMP not_accepted event will lead to Authentication failure. > Some devices will then initiate disconnection with error code : > Authentication Failure error code (0x05). > > Thanks, > Doron Keren > Texas Instruments > >> -----Original Message----- >> From: linux-bluetooth-owner@vger.kernel.org [mailto:linux-bluetooth- >> owner@vger.kernel.org] On Behalf Of victor yeo >> Sent: Thursday, July 05, 2012 10:43 AM >> To: Marcel Holtmann >> Cc: linux-bluetooth@vger.kernel.org >> Subject: Re: BT LMP >> >> Hi Marcel, >> >> When LMP_not_accepted is received by Bluetooth Chip's firmware, it >> will send a HCI event to the linux kernel bluetooth portion. Do i >> understand correctly? What is the HCI event name? >> >> Thanks, >> Victor >> >> On Thu, Jul 5, 2012 at 3:20 PM, Marcel Holtmann >> wrote: >> > Hi Victor, >> > >> >> Anyone know which part of linux kernel processes the LMP au_rand and >> >> LMP not_accepted event? >> >> >> >> I want to modify the Bluetooth kernel code so that when it receives >> >> LMP not_accepted event, it will do re-pairing. >> > >> > LMP is implemented in the Bluetooth chip's firmware and not the kernel. >> > >> > Regards >> > >> > Marcel >> > >> > >> -- Hi Doron, Will the hci_auth_complete_evt() function in net/bluetooth/hci_event.c handle the hci error code? Thanks, Victor