21 Oct, 2015

1 commit


24 Sep, 2015

1 commit

  • rx_lock spinlock is only used in hci_uart_tty_receive() which is the
    receive_buf ldisc callback.

    hci_uart_tty_receive() is protected from re-entrance by its only
    caller (flush_to_ldisc() in drivers/tty/tty_buffer.c) which held a
    mutex (buf->lock) for this section.
    This lock allows "safe use of the line discipline's receive_buf()
    method by excluding the buffer work and any pending flush from using
    the flip buffer." (comments from tty_buffer_lock_exclusive() in
    drivers/tty/tty_buffer.c)

    So, no need to double protect this resource with rx_lock.

    Signed-off-by: Frederic Danis
    Signed-off-by: Marcel Holtmann

    Frederic Danis
     

11 Aug, 2015

1 commit


23 Jul, 2015

1 commit

  • The Intel Lightning Peak devices do not come with Bluetooth firmware
    loaded and thus require a full download of the operational Bluetooth
    firmware when the device is attached via the Bluetooth line discipline.

    Lightning Peak devices start with a bootloader mode that only accepts
    a very limited set of HCI commands. The supported commands are enough
    to identify the hardware and select the right firmware to load.

    Signed-off-by: Loic Poulain
    Signed-off-by: Marcel Holtmann

    Loic Poulain
     

18 Jun, 2015

1 commit


06 Jun, 2015

1 commit


08 Apr, 2015

12 commits


26 Mar, 2015

1 commit

  • Some Bluetooth controllers require initialization before being
    used (vendor config, firmware download). Add possibility for a
    HCI UART proto to implement this early init via the setup callback.

    Signed-off-by: Loic Poulain
    Signed-off-by: Marcel Holtmann

    Loic Poulain
     

11 Jul, 2014

1 commit


25 Apr, 2014

1 commit

  • LDISCs shouldn't call tty->ops->write() from within
    ->write_wakeup().

    ->write_wakeup() is called with port lock taken and
    IRQs disabled, tty->ops->write() will try to acquire
    the same port lock and we will deadlock.

    Acked-by: Marcel Holtmann
    Reviewed-by: Peter Hurley
    Reported-by: Huang Shijie
    Signed-off-by: Felipe Balbi
    Tested-by: Andreas Bießmann
    Cc: stable
    Signed-off-by: Greg Kroah-Hartman

    Felipe Balbi
     

18 Jul, 2012

2 commits


25 Feb, 2012

2 commits


22 Jul, 2010

2 commits

  • Implements Atheros AR300x serial HCI protocol.

    This protocol extends H4 serial protocol to implement enhanced power
    management features supported by Atheros AR300x serial Bluetooth chipsets.

    Signed-off-by: Suraj Sumangala
    Signed-off-by: Marcel Holtmann

    Suraj Sumangala
     
  • This patch introduces two new ioctls: HCIUARTSETFLAGS and
    HCIUARTGETFLAGS. The only flag available for now is HCI_UART_RAW_DEVICE
    which allows to initialize a UART device into RAW mode from userspace.
    This is particularly useful for experimenting with Bluetooth controllers
    that don't yet have proper support in BlueZ.

    Signed-off-by: Johan Hedberg
    Signed-off-by: Marcel Holtmann

    Johan Hedberg
     

22 Oct, 2007

1 commit


11 May, 2007

1 commit


29 Oct, 2005

1 commit


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds