pull request: bluetooth-next 2021-02-11

2021-02-11 Thread Johan Hedberg
Hi Dave, Jakub,

Here's the main bluetooth-next pull request for 5.12:

 - Add support for advertising monitor offliading using Microsoft
   vendor extensions
 - Add firmware download support for MediaTek MT7921U USB devices
 - Suspend-related fixes for Qualcomm devices
 - Add support for Intel GarfieldPeak controller
 - Various other smaller fixes & cleanups

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 3db1a3fa98808aa90f95ec3e0fa2fc7abf28f5c9:

  Merge tag 'staging-5.11-rc1' of 
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging (2020-12-15 
14:18:40 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 55c0bd77479b60ea29fd390faf4545cfb3a1d79e:

  Bluetooth: hci_qca: Fixed issue during suspend (2021-02-08 14:54:07 +0100)


Abhishek Pandit-Subedi (4):
  Bluetooth: Remove hci_req_le_suspend_config
  Bluetooth: Pause service discovery for suspend
  Bluetooth: btrtl: Enable central-peripheral role
  Bluetooth: btrtl: Add null check in setup

Archie Pusaka (6):
  Bluetooth: advmon offload MSFT add rssi support
  Bluetooth: advmon offload MSFT add monitor
  Bluetooth: advmon offload MSFT remove monitor
  Bluetooth: advmon offload MSFT handle controller reset
  Bluetooth: advmon offload MSFT handle filter enablement
  Bluetooth: advmon offload MSFT interleave scanning integration

Ard Biesheuvel (1):
  Bluetooth: avoid u128_xor() on potentially misaligned inputs

Arnd Bergmann (1):
  Bluetooth: btusb: fix excessive stack usage

Bastien Nocera (1):
  Bluetooth: L2CAP: Try harder to accept device not knowing options

Christophe JAILLET (1):
  Bluetooth: btqcomsmd: Fix a resource leak in error handling paths in the 
probe function

Christopher William Snowhill (1):
  Bluetooth: Fix initializing response id after clearing struct

Claire Chang (2):
  Bluetooth: hci_uart: Fix a race for write_work scheduling
  Bluetooth: hci_h5: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for btrtl

Dinghao Liu (1):
  Bluetooth: hci_qca: Fix memleak in qca_controller_memdump

Geert Uytterhoeven (1):
  dt-bindings: net: btusb: DT fix s/interrupt-name/interrupt-names/

Gopal Tiwari (1):
  Bluetooth: Fix null pointer dereference in amp_read_loc_assoc_final_data

Hans de Goede (1):
  Bluetooth: Add new HCI_QUIRK_NO_SUSPEND_NOTIFIER quirk

Howard Chung (2):
  Bluetooth: disable advertisement filters during suspend
  Bluetooth: Fix crash in mgmt_add_adv_patterns_monitor_complete

Hui Wang (2):
  Bluetooth: btusb: Fix the autosuspend enable and disable
  Bluetooth: btusb: Some Qualcomm Bluetooth adapters stop working

Jagdish Tirumala (1):
  Bluetooth: btmtksdio: Fixed switch and case should be at the same indent

Jakub Pawlowski (1):
  Bluetooth: hci_bcm: Add support for ISO packets

Jiapeng Zhong (1):
  Bluetooth: fix coccicheck warnings debugfs

Joe Perches (1):
  Bluetooth: btusb: Remove duplicate newlines from logging

John-Eric Kamps (1):
  Bluetooth: hci_h5: Add support for binding RTL8723DS with device tree

Jupeng Zhong (2):
  Bluetooth: btusb: Fix memory leak in btusb_mtk_wmt_recv
  Bluetooth: btusb: Fix typo and correct the log print

Kiran K (2):
  Revert "Bluetooth: btintel: Fix endianness issue for TLV version 
information"
  Bluetooth: btusb: Add support for GarfieldPeak controller

Luiz Augusto von Dentz (1):
  Bluetooth: L2CAP: Fix handling fragmented length

Mark Chen (2):
  Bluetooth: btusb: Fine-tune mt7663 mechanism.
  Bluetooth: btusb: Add protocol support for MediaTek MT7921U USB devices

Max Chou (1):
  Bluetooth: btrtl: Enable WBS for the specific Realtek devices

Miao-chen Chou (3):
  Bluetooth: btqca: Enable MSFT extension for Qualcomm WCN399x
  Bluetooth: btusb: Enable MSFT extension for Intel controllers
  Bluetooth: btrtl: Enable MSFT extension for RTL8822CE controller

Pan Bian (2):
  Bluetooth: drop HCI device reference before return
  Bluetooth: Put HCI device if inquiry procedure interrupts

Sonny Sasaka (1):
  Bluetooth: Cancel Inquiry before Create Connection

Tim Jiang (1):
  Bluetooth: btusb: add shutdown function for wcn6855

Tomoyuki Matsushita (1):
  Bluetooth: fix indentation and alignment reported by checkpatch

Trent Piepho (1):
  Bluetooth: btusb: Always fallback to alt 1 for WBS

Vamshi K Sthambamkadi (1):
  Bluetooth: btusb: fix memory leak on suspend and resume

Venkata Lakshmi Narayana Gubba (4):
  Bluetooth: btqca: Add support to read FW build version for WCN3991 BTSoC
  Bluetooth: hci_qca: Wait for SSR completion during suspend
  Bluetooth: hci_qca: check for SSR triggered flag while suspend
  Bluetooth: hci_qca: Fixed issue during suspend

Ye 

pull request: bluetooth-next 2020-12-07

2020-12-07 Thread Johan Hedberg
Hi Dave, Jakub,

Here's the main bluetooth-next pull request for the 5.11 kernel.

 - Updated Bluetooth entries in MAINTAINERS to include Luiz von Dentz
 - Added support for Realtek 8822CE and 8852A devices
 - Added support for MediaTek MT7615E device
 - Improved workarounds for fake CSR devices
 - Fix Bluetooth qualification test case L2CAP/COS/CFD/BV-14-C
 - Fixes for LL Privacy support
 - Enforce 16 byte encryption key size for FIPS security level
 - Added new mgmt commands for extended advertising support
 - Multiple other smaller fixes & improvements

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit bff6f1db91e330d7fba56f815cdbc412c75fe163:

  stmmac: intel: change all EHL/TGL to auto detect phy addr (2020-11-07 
16:11:54 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 02be5f13aacba2100f1486d3ad16c26b6dede1ce:

  MAINTAINERS: Update Bluetooth entries (2020-12-07 17:02:01 +0200)


Abhishek Pandit-Subedi (2):
  Bluetooth: btqca: Add valid le states quirk
  Bluetooth: Set missing suspend task bits

Anant Thazhemadam (2):
  Bluetooth: hci_h5: close serdev device and free hu in h5_close
  Bluetooth: hci_h5: fix memory leak in h5_close

Anmol Karn (1):
  Bluetooth: Fix null pointer dereference in hci_event_packet()

Archie Pusaka (1):
  Bluetooth: Enforce key size of 16 bytes on FIPS level

Balakrishna Godavarthi (1):
  Bluetooth: hci_qca: Enhance retry logic in qca_setup

Cadel Watson (1):
  Bluetooth: btusb: Support 0bda:c123 Realtek 8822CE device

Chris Chiu (1):
  Bluetooth: btusb: Add support for 13d3:3560 MediaTek MT7615E device

Claire Chang (1):
  Bluetooth: Move force_bredr_smp debugfs into hci_debugfs_create_bredr

Colin Ian King (1):
  Bluetooth: btrtl: fix incorrect skb allocation failure check

Daniel Winkler (6):
  Bluetooth: Resume advertising after LE connection
  Bluetooth: Add helper to set adv data
  Bluetooth: Break add adv into two mgmt commands
  Bluetooth: Use intervals and tx power from mgmt cmds
  Bluetooth: Query LE tx power on startup
  Bluetooth: Change MGMT security info CMD to be more generic

Edward Vear (1):
  Bluetooth: Fix attempting to set RPA timeout when unsupported

Hans de Goede (4):
  Bluetooth: revert: hci_h5: close serdev device and free hu in h5_close
  Bluetooth: hci_h5: Add OBDA0623 ACPI HID
  Bluetooth: btusb: Fix detection of some fake CSR controllers with a 
bcdDevice val of 0x0134
  Bluetooth: btusb: Add workaround for remote-wakeup issues with Barrot 
8041a02 fake CSR controllers

Howard Chung (6):
  Bluetooth: Replace BT_DBG with bt_dev_dbg in HCI request
  Bluetooth: Interleave with allowlist scan
  Bluetooth: Handle system suspend resume case
  Bluetooth: Handle active scan case
  Bluetooth: Refactor read default sys config for various types
  Bluetooth: Add toggle to switch off interleave scan

Jimmy Wahlberg (1):
  Bluetooth: Fix for Bluetooth SIG test L2CAP/COS/CFD/BV-14-C

Jing Xiangfeng (2):
  Bluetooth: btusb: Add the missed release_firmware() in 
btusb_mtk_setup_firmware()
  Bluetooth: btmtksdio: Add the missed release_firmware() in 
mtk_setup_firmware()

Julian Pidancet (1):
  Bluetooth: btusb: Add support for 1358:c123 Realtek 8822CE device

Kai-Heng Feng (1):
  Bluetooth: btrtl: Ask 8821C to drop old firmware

Kiran K (5):
  Bluetooth: btintel: Fix endianness issue for TLV version information
  Bluetooth: btusb: Add *setup* function for new generation Intel 
controllers
  Bluetooth: btusb: Define a function to construct firmware filename
  Bluetooth: btusb: Helper function to download firmware to Intel adapters
  Bluetooth: btusb: Map Typhoon peak controller to BTUSB_INTEL_NEWGEN

Luiz Augusto von Dentz (2):
  Bluetooth: Fix not sending Set Extended Scan Response
  Bluetooth: Rename get_adv_instance_scan_rsp

Marcel Holtmann (2):
  Bluetooth: Increment management interface revision
  MAINTAINERS: Update Bluetooth entries

Max Chou (3):
  Bluetooth: btusb: Add the more support IDs for Realtek RTL8822CE
  Bluetooth: btrtl: Refine the ic_id_table for clearer and more regular
  Bluetooth: btusb: btrtl: Add support for RTL8852A

Nigel Christian (1):
  Bluetooth: hci_qca: resolve various warnings

Ole Bjørn Midtbø (1):
  Bluetooth: hidp: use correct wait queue when removing ctrl_wait

Peilin Ye (1):
  Bluetooth: Fix slab-out-of-bounds read in hci_le_direct_adv_report_evt()

Reo Shiseki (1):
  Bluetooth: fix typo in struct name

Sathish Narasimman (1):
  Bluetooth: Fix: LL PRivacy BLE device fails to connect

Sergey Shtylyov (1):
  Bluetooth: consolidate error paths in hci_phy_link_complete_evt()

Tim Jiang (1)

pull request: bluetooth-next 2020-09-29

2020-09-29 Thread Johan Hedberg
Hi Dave,

Here's the main bluetooth-next pull request for 5.10:

 - Multiple fixes to suspend/resume handling
 - Added mgmt events for controller suspend/resume state
 - Improved extended advertising support
 - btintel: Enhanced support for next generation controllers
 - Added Qualcomm Bluetooth SoC WCN6855 support
 - Several other smaller fixes & improvements

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 7126bd5c8bcbc015cf89864cf71d750e8f33f924:

  mptcp: fix syncookie build error on UP (2020-08-01 11:52:55 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to b40f58b973865ee98ead884d2bdc7880b896ddb8:

  Bluetooth: btusb: Add Qualcomm Bluetooth SoC WCN6855 support (2020-09-27 
23:44:50 +0200)


Abhishek Pandit-Subedi (7):
  Bluetooth: Clear suspend tasks on unregister
  Bluetooth: Re-order clearing suspend tasks
  Bluetooth: Only mark socket zapped after unlocking
  Bluetooth: Set ext scan response only when it exists
  Bluetooth: Add mgmt suspend and resume events
  Bluetooth: Add suspend reason for device disconnect
  Bluetooth: Emit controller suspend and resume events

Andy Shevchenko (3):
  Bluetooth: hci_intel: drop strange le16_to_cpu() against u8 values
  Bluetooth: hci_intel: switch to list_for_each_entry()
  Bluetooth: hci_intel: enable on new platform

Daniel Winkler (3):
  Bluetooth: Report num supported adv instances for hw offloading
  Bluetooth: Add MGMT capability flags for tx power and ext advertising
  Bluetooth: pause/resume advertising around suspend

Dinghao Liu (1):
  Bluetooth: btusb: Fix memleak in btusb_mtk_submit_wmt_recv_urb

Howard Chung (1):
  Bluetooth: Set scan parameters for ADV Monitor

Joseph Hwang (1):
  Bluetooth: sco: new getsockopt options BT_SNDMTU/BT_RCVMTU

Kiran K (4):
  Bluetooth: btusb: Update boot parameter specific to SKU
  Bluetooth: btintel: Refactor firmware download function
  Bluetooth: btintel: Add infrastructure to read controller information
  Bluetooth: btintel: Functions to send firmware header / payload

Luiz Augusto von Dentz (4):
  Bluetooth: A2MP: Fix not initializing all members
  Bluetooth: L2CAP: Fix calling sk_filter on non-socket based channel
  Bluetooth: Disable High Speed by default
  Bluetooth: MGMT: Fix not checking if BT_HS is enabled

Miao-chen Chou (1):
  Bluetooth: Update Adv monitor count upon removal

Peilin Ye (1):
  Bluetooth: Fix memory leak in read_adv_mon_features()

Rocky Liao (2):
  Bluetooth: btusb: Enable wide band speech support for BTUSB_QCA_ROME
  Bluetooth: btusb: Add Qualcomm Bluetooth SoC WCN6855 support

Samuel Holland (2):
  Bluetooth: hci_h5: Remove ignored flag HCI_UART_RESET_ON_INIT
  Bluetooth: hci_uart: Cancel init work before unregistering

Sathish Narasimman (1):
  Bluetooth: Fix update of own_addr_type if ll_privacy supported

Sonny Sasaka (1):
  Bluetooth: Fix auto-creation of hci_conn at Conn Complete event

Tamás Szűcs (1):
  Bluetooth: btmrvl: eliminate duplicates introducing btmrvl_reg_89xx

Venkata Lakshmi Narayana Gubba (2):
  Bluetooth: hci_serdev: Close UART port if NON_PERSISTENT_SETUP is set
  Bluetooth: hci_qca: Remove duplicate power off in proto close

Xu Wang (1):
  Bluetooth: hci_qca: remove redundant null check

YueHaibing (1):
  Bluetooth: btmtksdio: use NULL instead of zero

 drivers/bluetooth/btintel.c  | 291 ++-
 drivers/bluetooth/btintel.h  |  91 
 drivers/bluetooth/btmrvl_sdio.c  |  54 +---
 drivers/bluetooth/btmtksdio.c|   4 +-
 drivers/bluetooth/btusb.c| 129 -
 drivers/bluetooth/hci_h5.c   |   2 -
 drivers/bluetooth/hci_intel.c|  54 +++-
 drivers/bluetooth/hci_ldisc.c|   1 +
 drivers/bluetooth/hci_qca.c  |   8 +-
 drivers/bluetooth/hci_serdev.c   |  36 -
 include/net/bluetooth/hci_core.h |   6 +
 include/net/bluetooth/l2cap.h|   2 +
 include/net/bluetooth/mgmt.h |  18 +++
 net/bluetooth/Kconfig|   1 -
 net/bluetooth/a2mp.c |  22 ++-
 net/bluetooth/hci_core.c |  41 +-
 net/bluetooth/hci_event.c|  89 +++-
 net/bluetooth/hci_request.c  |  85 ++--
 net/bluetooth/l2cap_core.c   |   7 +-
 net/bluetooth/l2cap_sock.c   |  21 ++-
 net/bluetooth/mgmt.c |  57 ++--
 net/bluetooth/sco.c  |   6 +
 22 files changed, 851 insertions(+), 174 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2020-07-31

2020-07-31 Thread Johan Hedberg
Hi Dave,

Here's the main bluetooth-next pull request for 5.9:

 - Fix firmware filenames for Marvell chipsets
 - Several suspend-related fixes
 - Addedd mgmt commands for runtime configuration
 - Multiple fixes for Qualcomm-based controllers
 - Add new monitoring feature for mgmt
 - Fix handling of legacy cipher (E4) together with security level 4
 - Add support for Realtek 8822CE controller
 - Fix issues with Chinese controllers using fake VID/PID values
 - Multiple other smaller fixes & improvements

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 065fcfd49763ec71ae345bb5c5a74f961031e70e:

  selftests: net: ip_defrag: ignore EPERM (2020-06-02 15:54:20 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 075f77324f90149bac12c8a705dae5786a1d24fb:

  Bluetooth: Remove CRYPTO_ALG_INTERNAL flag (2020-07-31 16:42:04 +0300)


Abhishek Pandit-Subedi (15):
  Bluetooth: Allow suspend even when preparation has failed
  Bluetooth: btmrvl_sdio: Set parent dev to hdev
  Bluetooth: btmrvl_sdio: Implement prevent_wake
  Bluetooth: btmrvl_sdio: Refactor irq wakeup
  Bluetooth: Add bdaddr_list_with_flags for classic whitelist
  Bluetooth: Replace wakeable list with flag
  Bluetooth: Replace wakeable in hci_conn_params
  Bluetooth: Add get/set device flags mgmt op
  Bluetooth: Add hci_dev_lock to get/set device flags
  Bluetooth: btusb: Reset port on cmd timeout
  Bluetooth: btusb: BTUSB_WAKEUP_DISABLE prevents wake
  Bluetooth: Don't restart scanning if paused
  Bluetooth: btusb: Comment on unbalanced pm reference
  Bluetooth: Fix suspend notifier race
  Revert "Bluetooth: btusb: Disable runtime suspend on Realtek devices"

Alain Michaud (11):
  Bluetooth: Removing noisy dbg message
  Bluetooth: Add support for BT_PKT_STATUS CMSG data for SCO connections
  Bluetooth: Use only 8 bits for the HCI CMSG state flags
  Bluetooth: mgmt: read/set system parameter definitions
  Bluetooth: centralize default value initialization.
  Bluetooth: implement read/set default system parameters mgmt
  Bluetooth: use configured params for ext adv
  Bluetooth: Adding a configurable autoconnect timeout
  Bluetooth: use configured default params for active scans
  Bluetooth: le_simult_central_peripheral experimental feature
  Bluetooth: use the proper scan params when conn is pending

Alexander A. Klimov (1):
  Replace HTTP links with HTTPS ones: BLUETOOTH SUBSYSTEM

Balakrishna Godavarthi (3):
  Bluetooth: hci_qca: Disable SoC debug logging for WCN3991
  Bluetooth: hci_qca: Increase SoC idle timeout to 200ms
  Bluetooth: hci_qca: Request Tx clock vote off only when Tx is pending

Chethan T N (2):
  Bluetooth: btusb: Add support to read Intel debug feature
  Bluetooth: btusb: Configure Intel debug feature based on available support

Dan Carpenter (1):
  Bluetooth: hci_qca: Fix an error pointer dereference

Daniel Winkler (1):
  Bluetooth: Add per-instance adv disable/remove

Gustavo A. R. Silva (3):
  Bluetooth: core: Use fallthrough pseudo-keyword
  Bluetooth: RFCOMM: Use fallthrough pseudo-keyword
  Bluetooth: Use fallthrough pseudo-keyword

Herbert Xu (1):
  Bluetooth: Remove CRYPTO_ALG_INTERNAL flag

Hilda Wu (1):
  Bluetooth: btusb: USB alternate setting 1 for WBS

Ismael Ferreras Morezuelas (1):
  Bluetooth: btusb: Fix and detect most of the Chinese Bluetooth controllers

Joseph Hwang (1):
  Bluetooth: btusb: add Realtek 8822CE to usb_device_id table

Kiran K (1):
  Bluetooth: btusb: Refactor of firmware download flow for Intel conrollers

Lihong Kou (1):
  Bluetooth: add a mutex lock to avoid UAF in do_enale_set

Luiz Augusto von Dentz (1):
  Bluetooth: Disconnect if E0 is used for Level 4

Manish Mandlik (2):
  Bluetooth: Check scan state before disabling during suspend
  Bluetooth: Terminate the link if pairing is cancelled

Marcel Holtmann (6):
  Bluetooth: mgmt: Add commands for runtime configuration
  Bluetooth: mgmt: Use command complete on success for set system config
  Bluetooth: Translate additional address type correctly
  Bluetooth: Configure controller address resolution if available
  Bluetooth: Update resolving list when updating whitelist
  Bluetooth: Increment management interface revision

Martin Blumenstingl (1):
  dt-bindings: net: bluetooth: realtek: Fix uart-has-rtscts example

Matthias Kaehlcke (4):
  Bluetooth: hci_qca: Simplify determination of serial clock on/off state 
from votes
  Bluetooth: hci_qca: Only remove TX clock vote after TX is completed
  Bluetooth: hci_qca: Skip serdev wait when no transfer is pending
  Bluetooth: hci_qca: Refactor err

pull request: bluetooth-next 2020-06-01

2020-06-01 Thread Johan Hedberg
Hi Dave,

Here's one last bluetooth-next pull request for 5.8, which I hope can
still be accepted.

 - Enabled Wide-Band Speech (WBS) support for Qualcomm wcn3991
 - Multiple fixes/imprvovements to Qualcomm-based devices
 - Fix GAP/SEC/SEM/BI-10-C qualfication test case
 - Added support for Broadcom BCM4350C5 device
 - Several other smaller fixes & improvements

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit dbfe7d74376e187f3c6eaff822e85176bc2cd06e:

  rds: convert get_user_pages() --> pin_user_pages() (2020-05-17 12:37:45 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to e5aeebddfc312ea7bb55dfe6c7264e71a3b43992:

  Bluetooth: hci_qca: Fix QCA6390 memdump failure (2020-06-01 08:07:33 +0200)


Abhishek Pandit-Subedi (2):
  Bluetooth: hci_qca: Enable WBS support for wcn3991
  Bluetooth: hci_qca: Fix uninitialized access to hdev

Azamat H. Hackimov (1):
  Bluetooth: btbcm: Added 003.006.007, changed 001.003.015

Chuhong Yuan (1):
  Bluetooth: btmtkuart: Improve exception handling in btmtuart_probe()

Gustavo A. R. Silva (1):
  Bluetooth: L2CAP: Replace zero-length array with flexible-array

Hsin-Yu Chao (1):
  Bluetooth: Add SCO fallback for invalid LMP parameters error

Luiz Augusto von Dentz (2):
  Bluetooth: Consolidate encryption handling in hci_encrypt_cfm
  Bluetooth: Fix assuming EIR flags can result in SSP authentication

Sebastian Andrzej Siewior (1):
  Bluetooth: Acquire sk_lock.slock without disabling interrupts

Zijun Hu (5):
  Bluetooth: hci_qca: Fix suspend/resume functionality failure
  Bluetooth: hci_qca: Fix qca6390 enable failure after warm reboot
  Bluetooth: hci_qca: Improve controller ID info log level
  Bluetooth: btmtkuart: Use serdev_device_write_buf() instead of 
serdev_device_write()
  Bluetooth: hci_qca: Fix QCA6390 memdump failure

Łukasz Rymanowski (1):
  Bluetooth: Fix for GAP/SEC/SEM/BI-10-C

 drivers/bluetooth/btbcm.c|   3 +-
 drivers/bluetooth/btmtkuart.c|  17 +++---
 drivers/bluetooth/btqca.c|  14 +++--
 drivers/bluetooth/hci_qca.c  | 123 ---
 include/net/bluetooth/hci_core.h |  20 ++-
 include/net/bluetooth/l2cap.h|   6 +-
 net/bluetooth/hci_conn.c |   2 -
 net/bluetooth/hci_event.c|  29 ++---
 net/bluetooth/rfcomm/sock.c  |   7 +--
 net/bluetooth/smp.c  |   4 ++
 10 files changed, 154 insertions(+), 71 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2020-05-13

2020-05-13 Thread Johan Hedberg
Hi,

Here's a second attempt at a bluetooth-next pull request which
supercedes the one dated 2020-05-09. This should have the issues
discovered by Jakub fixed.

 - Add support for Intel Typhoon Peak device (8087:0032)
 - Add device tree bindings for Realtek RTL8723BS device
 - Add device tree bindings for Qualcomm QCA9377 device
 - Add support for experimental features configuration through mgmt
 - Add driver hook to prevent wake from suspend
 - Add support for waiting for L2CAP disconnection response
 - Multiple fixes & cleanups to the btbcm driver
 - Add support for LE scatternet topology for selected devices
 - A few other smaller fixes & cleanups

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 44dd5efc97dae0dc09ea9316597826c8b0fd1578:

  Merge branch 'Support-programmable-pins-for-Ocelot-PTP-driver' (2020-04-21 
15:38:34 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 5b440676c15bbe1a40f2546ec92db83ed66d9e22:

  Bluetooth: L2CAP: add support for waiting disconnection resp (2020-05-13 
10:03:51 +0200)


Abhishek Pandit-Subedi (5):
  Bluetooth: Fix incorrect type for window and interval
  Bluetooth: Modify LE window and interval for suspend
  Bluetooth: Rename BT_SUSPEND_COMPLETE
  Bluetooth: Add hook for driver to prevent wake from suspend
  Bluetooth: btusb: Implement hdev->prevent_wake

Alain Michaud (3):
  Bluetooth: Adding driver and quirk defs for multi-role LE
  Bluetooth: allow scatternet connections if supported.
  Bluetooth: btusb: Adding support for LE scatternet to Jfp and ThP

Archie Pusaka (1):
  Bluetooth: L2CAP: add support for waiting disconnection resp

Christian Hewitt (3):
  dt-bindings: net: bluetooth: Add device tree bindings for QCA9377
  Bluetooth: hci_qca: add compatible for QCA9377
  Bluetooth: hci_qca: allow max-speed to be set for QCA9377 devices

Hans de Goede (8):
  Bluetooth: btbcm: Drop upper nibble version check from btbcm_initialize()
  Bluetooth: btbcm: Move setting of USE_BDADDR_PROPERTY quirk to hci_bcm.c
  Bluetooth: btbcm: Fold Patch loading + applying into btbcm_initialize()
  Bluetooth: btbcm: Make btbcm_initialize() print local-name on re-init too
  Bluetooth: btbcm: Make btbcm_setup_patchram use btbcm_finalize
  Bluetooth: btbcm: Bail sooner from btbcm_initialize() when not loading fw
  Bluetooth: btbcm: Try multiple Patch filenames when loading the Patch 
firmware
  Bluetooth: btbcm: Add 2 missing models to subver tables

Konstantin Forostyan (1):
  Bluetooth: L2CAP: Fix errors during L2CAP_CREDIT_BASED_CONNECTION_REQ 
(0x17)

Marcel Holtmann (7):
  Bluetooth: Add MGMT_EV_PHY_CONFIGURATION_CHANGED to supported list
  Bluetooth: Replace BT_DBG with bt_dev_dbg for management support
  Bluetooth: replace zero-length array with flexible-array member
  Bluetooth: Introduce HCI_MGMT_HDEV_OPTIONAL option
  Bluetooth: Replace BT_DBG with bt_dev_dbg for security manager support
  Bluetooth: Add support for experimental features configuration
  Bluetooth: Introduce debug feature when dynamic debug is disabled

Raghuram Hegde (1):
  Bluetooth: btusb: Add support for Intel Bluetooth Device Typhoon Peak 
(8087:0032)

Rikard Falkeborn (1):
  Bluetooth: serdev: Constify serdev_device_ops

Sonny Sasaka (1):
  Bluetooth: Handle Inquiry Cancel error after Inquiry Complete

Tedd Ho-Jeong An (1):
  Bluetooth: Fix advertising handle is set to 0

Vasily Khoruzhick (2):
  dt-bindings: net: bluetooth: Add rtl8723bs-bluetooth
  Bluetooth: hci_h5: Add support for binding RTL8723BS with device tree

 .../devicetree/bindings/net/qualcomm-bluetooth.txt |   5 +
 .../devicetree/bindings/net/realtek-bluetooth.yaml |  54 +++
 drivers/bluetooth/btbcm.c  | 139 
 drivers/bluetooth/btbcm.h  |  10 +-
 drivers/bluetooth/btusb.c  |  20 +-
 drivers/bluetooth/hci_bcm.c|  27 +-
 drivers/bluetooth/hci_h5.c |   2 +
 drivers/bluetooth/hci_qca.c|  17 +-
 drivers/bluetooth/hci_serdev.c |   4 +-
 include/net/bluetooth/bluetooth.h  |  11 +
 include/net/bluetooth/hci.h|  10 +
 include/net/bluetooth/hci_core.h   |   4 +-
 include/net/bluetooth/mgmt.h   |  69 ++--
 net/bluetooth/Kconfig  |   7 +
 net/bluetooth/hci_core.c   |   8 +-
 net/bluetooth/hci_event.c  |  23 +-
 net/bluetooth/hci_request.c|  12 +-
 net/bluetooth/hci_sock.c   |  12 +-
 net/bluetooth/l2cap_core.c

pull request: bluetooth-next 2020-05-09

2020-05-09 Thread Johan Hedberg
Hi Dave,

Here's another set of Bluetooth patches for the 5.8 kernel:

 - Add support for Intel Typhoon Peak device (8087:0032)
 - Add device tree bindings for Realtek RTL8723BS device
 - Add device tree bindings for Qualcomm QCA9377 device
 - Add support for experimental features configuration through mgmt
 - Multiple fixes & cleanups to the btbcm driver
 - Add support for LE scatternet topology for selected devices
 - A few other smaller fixes & cleanups

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 44dd5efc97dae0dc09ea9316597826c8b0fd1578:

  Merge branch 'Support-programmable-pins-for-Ocelot-PTP-driver' (2020-04-21 
15:38:34 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to c947c948df52c24d8477a36a9706ebfa26430ea4:

  Bluetooth: Introduce debug feature when dynamic debug is disabled (2020-05-08 
11:53:44 +0300)


Alain Michaud (3):
  Bluetooth: Adding driver and quirk defs for multi-role LE
  Bluetooth: allow scatternet connections if supported.
  Bluetooth: btusb: Adding support for LE scatternet to Jfp and ThP

Christian Hewitt (3):
  dt-bindings: net: bluetooth: Add device tree bindings for QCA9377
  Bluetooth: hci_qca: add compatible for QCA9377
  Bluetooth: hci_qca: allow max-speed to be set for QCA9377 devices

Hans de Goede (8):
  Bluetooth: btbcm: Drop upper nibble version check from btbcm_initialize()
  Bluetooth: btbcm: Move setting of USE_BDADDR_PROPERTY quirk to hci_bcm.c
  Bluetooth: btbcm: Fold Patch loading + applying into btbcm_initialize()
  Bluetooth: btbcm: Make btbcm_initialize() print local-name on re-init too
  Bluetooth: btbcm: Make btbcm_setup_patchram use btbcm_finalize
  Bluetooth: btbcm: Bail sooner from btbcm_initialize() when not loading fw
  Bluetooth: btbcm: Try multiple Patch filenames when loading the Patch 
firmware
  Bluetooth: btbcm: Add 2 missing models to subver tables

Hegde, Raghuram (1):
  Bluetooth: btusb: Add support for Intel Bluetooth Device Typhoon Peak 
(8087:0032)

Konstantin Forostyan (1):
  Bluetooth: L2CAP: Fix errors during L2CAP_CREDIT_BASED_CONNECTION_REQ 
(0x17)

Marcel Holtmann (7):
  Bluetooth: Add MGMT_EV_PHY_CONFIGURATION_CHANGED to supported list
  Bluetooth: Replace BT_DBG with bt_dev_dbg for management support
  Bluetooth: replace zero-length array with flexible-array member
  Bluetooth: Introduce HCI_MGMT_HDEV_OPTIONAL option
  Bluetooth: Replace BT_DBG with bt_dev_dbg for security manager support
  Bluetooth: Add support for experimental features configuration
  Bluetooth: Introduce debug feature when dynamic debug is disabled

Tedd Ho-Jeong An (1):
  Bluetooth: Fix advertising handle is set to 0

Vasily Khoruzhick (2):
  dt-bindings: net: bluetooth: Add rtl8723bs-bluetooth
  Bluetooth: hci_h5: Add support for binding RTL8723BS with device tree

 .../devicetree/bindings/net/qualcomm-bluetooth.txt |   5 +
 .../devicetree/bindings/net/realtek-bluetooth.yaml |  54 +++
 drivers/bluetooth/btbcm.c  | 139 
 drivers/bluetooth/btbcm.h  |  10 +-
 drivers/bluetooth/btusb.c  |  12 +-
 drivers/bluetooth/hci_bcm.c|  27 +-
 drivers/bluetooth/hci_h5.c |   2 +
 drivers/bluetooth/hci_qca.c|  17 +-
 include/net/bluetooth/bluetooth.h  |  11 +
 include/net/bluetooth/hci.h|  10 +
 include/net/bluetooth/hci_core.h   |   1 +
 include/net/bluetooth/mgmt.h   |  69 ++--
 net/bluetooth/Kconfig  |   7 +
 net/bluetooth/hci_event.c  |   4 +-
 net/bluetooth/hci_request.c|   6 +-
 net/bluetooth/hci_sock.c   |  12 +-
 net/bluetooth/l2cap_core.c |   4 +-
 net/bluetooth/lib.c|  33 ++
 net/bluetooth/mgmt.c   | 364 ++---
 net/bluetooth/smp.c|   8 +-
 20 files changed, 556 insertions(+), 239 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/realtek-bluetooth.yaml


signature.asc
Description: PGP signature


pull request: bluetooth-next 2019-10-23

2019-10-23 Thread Johan Hedberg
Hi Dave,

Here's the main bluetooth-next pull request for the 5.5 kernel:

 - Multiple fixes to hci_qca driver
 - Fix for HCI_USER_CHANNEL initialization
 - btwlink: drop superseded driver
 - Add support for Intel FW download error recovery
 - Various other smaller fixes & improvements

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit d9f45ab9e671166004b75427f10389e1f70cfc30:

  net: bcmgenet: Add a shutdown callback (2019-10-15 20:59:28 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 3347a80965b38f096b1d6f995c00c9c9e53d4b8b:

  Bluetooth: hci_bcm: Fix RTS handling during startup (2019-10-21 17:05:14 
+0200)


Adam Ford (1):
  Revert "Bluetooth: hci_ll: set operational frequency earlier"

Amit K Bag (2):
  Bluetooth: btusb: print FW version after FW download
  Bluetooth: btusb: Trigger Intel FW download error recovery

Arnd Bergmann (1):
  Bluetooth: btusb: avoid unused function warning

Ben Dooks (Codethink) (1):
  Bluetooth: missed cpu_to_le16 conversion in hci_init4_req

Bjorn Andersson (4):
  Bluetooth: hci_qca: Update regulator_set_load() usage
  Bluetooth: hci_qca: Don't vote for specific voltage
  Bluetooth: hci_qca: Use regulator bulk enable/disable
  Bluetooth: hci_qca: Split qca_power_setup()

Christophe JAILLET (1):
  Bluetooth: hci_nokia: Save a few cycles in 'nokia_enqueue()'

Jeffrey Hugo (2):
  Bluetooth: hci_qca: Add delay for wcn3990 stability
  Revert "Bluetooth: hci_qca: Add delay for wcn3990 stability"

Marcel Holtmann (1):
  Bluetooth: btusb: Use IS_ENABLED instead of #ifdef

Mattijs Korpershoek (1):
  Bluetooth: hci_core: fix init for HCI_USER_CHANNEL

Max Chou (1):
  Bluetooth: btrtl: Fix an issue for the incorrect error return code.

Nathan Chancellor (1):
  Bluetooth: btusb: Remove return statement in btintel_reset_to_bootloader

Sebastian Reichel (1):
  Bluetooth: btwilink: drop superseded driver

Stefan Wahren (1):
  Bluetooth: hci_bcm: Fix RTS handling during startup

Szymon Janc (1):
  Bluetooth: Workaround directed advertising bug in Broadcom controllers

YueHaibing (1):
  Bluetooth: remove set but not used variable 'smp'

 drivers/bluetooth/Kconfig |  11 --
 drivers/bluetooth/Makefile|   1 -
 drivers/bluetooth/btintel.c   |  45 ++
 drivers/bluetooth/btintel.h   |   5 +
 drivers/bluetooth/btrtl.c |   2 +-
 drivers/bluetooth/btusb.c |  54 ---
 drivers/bluetooth/btwilink.c  | 337 --
 drivers/bluetooth/hci_bcm.c   |   2 +
 drivers/bluetooth/hci_ll.c|  39 +++--
 drivers/bluetooth/hci_nokia.c |   2 +-
 drivers/bluetooth/hci_qca.c   | 135 +++--
 net/bluetooth/hci_conn.c  |   8 +
 net/bluetooth/hci_core.c  |  13 +-
 net/bluetooth/smp.c   |   6 -
 14 files changed, 177 insertions(+), 483 deletions(-)
 delete mode 100644 drivers/bluetooth/btwilink.c


signature.asc
Description: PGP signature


pull request: bluetooth-next 2019-09-06

2019-09-06 Thread Johan Hedberg
Hi Dave,

Here's the main bluetooth-next pull request for the 5.4 kernel.

 - Cleanups & fixes to btrtl driver
 - Fixes for Realtek devices in btusb, e.g. for suspend handling
 - Firmware loading support for BCM4345C5
 - hidp_send_message() return value handling fixes
 - Added support for utilizing Fast Advertising Interval
 - Various other minor cleanups & fixes

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 0e5b36bc4c1fccfc18dd851d960781589c16dae8:

  r8152: adjust the settings of ups flags (2019-09-05 12:41:11 +0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 8bb3537095f107ed55ad51f6241165b397aaafac:

  Bluetooth: hidp: Fix assumptions on the return value of hidp_send_message 
(2019-09-06 15:55:40 +0200)


Alex Lu (6):
  Bluetooth: btusb: Fix suspend issue for Realtek devices
  Bluetooth: btrtl: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY
  Bluetooth: btrtl: Add firmware version print
  Bluetooth: btrtl: Remove redundant prefix from calls to rtl_dev macros
  Bluetooth: btrtl: Remove trailing newline from calls to rtl_dev macros
  Bluetooth: btusb: Use cmd_timeout to reset Realtek device

Dan Elkouby (1):
  Bluetooth: hidp: Fix assumptions on the return value of hidp_send_message

Gustavo A. R. Silva (1):
  Bluetooth: mgmt: Use struct_size() helper

Harish Bandi (1):
  Bluetooth: hci_qca: wait for Pre shutdown complete event before sending 
the Power off pulse

Matthias Kaehlcke (1):
  Bluetooth: hci_qca: Remove redundant initializations to zero

Max Chou (1):
  Bluetooth: btrtl: Fix an issue that failing to download the FW which size 
is over 32K bytes

Nishka Dasgupta (2):
  Bluetooth: 6lowpan: Make variable header_ops constant
  Bluetooth: hci_qca: Make structure qca_proto constant

Ondrej Jirman (3):
  dt-bindings: net: Add compatible for BCM4345C5 bluetooth device
  bluetooth: bcm: Add support for loading firmware for BCM4345C5
  bluetooth: hci_bcm: Give more time to come out of reset

Rocky Liao (1):
  Bluetooth: hci_qca: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for QCA UART 
Radio

Spoorthi Ravishankar Koppad (1):
  Bluetooth: Add support for utilizing Fast Advertising Interval

YueHaibing (1):
  Bluetooth: hci_bcm: Fix -Wunused-const-variable warnings

 .../devicetree/bindings/net/broadcom-bluetooth.txt |   1 +
 drivers/bluetooth/btbcm.c  |   3 +
 drivers/bluetooth/btqca.c  |   5 +-
 drivers/bluetooth/btrtl.c  | 125 -
 drivers/bluetooth/btusb.c  |  65 ++-
 drivers/bluetooth/hci_bcm.c|  33 +++---
 drivers/bluetooth/hci_qca.c|  28 ++---
 drivers/hid/hid-microsoft.c|   2 +-
 include/net/bluetooth/hci_core.h   |   2 +
 net/bluetooth/6lowpan.c|   2 +-
 net/bluetooth/hci_request.c|  29 +++--
 net/bluetooth/hidp/core.c  |   4 +-
 net/bluetooth/mgmt.c   |   8 +-
 13 files changed, 197 insertions(+), 110 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth 2019-09-05

2019-09-04 Thread Johan Hedberg
Hi Dave,

Here are a few more Bluetooth fixes for 5.3. I hope they can still make
it. There's one USB ID addition for btusb, two reverts due to discovered
regressions, and two other important fixes.

Please let me know if there any issues pulling. Thanks.

Johan

---
The following changes since commit 8693265329560af4d1190aaa195ad767a05ceeab:

  Merge tag 'mac80211-for-davem-2019-08-29' of 
git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211 (2019-08-29 
16:44:15 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to 68d19d7d995759b96169da5aac313363f92a9075:

  Revert "Bluetooth: validate BLE connection interval updates" (2019-09-05 
09:02:59 +0300)


Harish Bandi (1):
  Bluetooth: hci_qca: disable irqs when spinlock is acquired

Jian-Hong Pan (1):
  Bluetooth: btrtl: Additional Realtek 8822CE Bluetooth devices

Marcel Holtmann (1):
  Revert "Bluetooth: validate BLE connection interval updates"

Mario Limonciello (1):
  Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"

Navid Emamdoost (1):
  Bluetooth: bpa10x: change return value

 drivers/bluetooth/bpa10x.c  |  2 +-
 drivers/bluetooth/btusb.c   |  8 +++-
 drivers/bluetooth/hci_qca.c | 10 ++
 net/bluetooth/hci_event.c   |  5 -
 net/bluetooth/l2cap_core.c  |  9 +
 5 files changed, 11 insertions(+), 23 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth 2019-08-17

2019-08-17 Thread Johan Hedberg
Hi Dave,

Here's a set of Bluetooth fixes for the 5.3-rc series:

 - Multiple fixes for Qualcomm (btqca & hci_qca) drivers
 - Minimum encryption key size debugfs setting (this is required for
   Bluetooth Qualification)
 - Fix hidp_send_message() to have a meaningful return value

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 125b7e0949d4e72b15c2b1a1590f8cece985a918:

  net: tc35815: Explicitly check NET_IP_ALIGN is not zero in tc35815_rx 
(2019-08-11 21:41:48 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to 58a96fc35375ab87db7c5b69336f5befde1b548f:

  Bluetooth: Add debug setting for changing minimum encryption key size 
(2019-08-17 13:54:40 +0300)


Balakrishna Godavarthi (1):
  Bluetooth: btqca: Reset download type to default

Claire Chang (1):
  Bluetooth: btqca: release_firmware after qca_inject_cmd_complete_event

Fabian Henneke (1):
  Bluetooth: hidp: Let hidp_send_message return number of queued bytes

Harish Bandi (1):
  Bluetooth: hci_qca: Send VS pre shutdown command.

Marcel Holtmann (1):
  Bluetooth: Add debug setting for changing minimum encryption key size

Matthias Kaehlcke (2):
  Bluetooth: btqca: Add a short delay before downloading the NVM
  Bluetooth: btqca: Use correct byte format for opcode of injected command

Rocky Liao (1):
  Bluetooth: hci_qca: Skip 1 error print in device_want_to_sleep()

Wei Yongjun (2):
  Bluetooth: btusb: Fix error return code in btusb_mtk_setup_firmware()
  Bluetooth: hci_qca: Use kfree_skb() instead of kfree()

 drivers/bluetooth/btqca.c| 29 +++--
 drivers/bluetooth/btqca.h|  7 +++
 drivers/bluetooth/btusb.c|  4 +++-
 drivers/bluetooth/hci_qca.c  |  9 ++---
 include/net/bluetooth/hci_core.h |  1 +
 net/bluetooth/hci_core.c |  1 +
 net/bluetooth/hci_debugfs.c  | 31 +++
 net/bluetooth/hidp/core.c|  9 +++--
 net/bluetooth/l2cap_core.c   |  2 +-
 9 files changed, 84 insertions(+), 9 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2019-07-07

2019-07-07 Thread Johan Hedberg
Hi Dave,

Here's the main bluetooth-next pull request for 5.3:

 - Added support for new devices from Qualcomm, Realtek and Broadcom and
   MediaTek
 - Various fixes to 6LoWPAN
 - Fix L2CAP PSM namespace separation for LE & BR/EDR
 - Fix behavior with Microsoft Surface Precision Mouse
 - Added support for LE Ping feature
 - Fix L2CAP Disconnect response handling if received in wrong state

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 23f30c41c732fe9800f4a2d545b37c9515d35ad6:

  Merge branch 'mlx5-TLS-TX-HW-offload-support' (2019-07-05 16:42:00 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 9ce67c3235be71e8cf922a9b3d0b7359ed3f4ce5:

  Bluetooth: btusb: Add protocol support for MediaTek MT7663U USB devices 
(2019-07-06 21:44:25 +0200)


Balakrishna Godavarthi (1):
  Bluetooth: btqca: inject command complete event during fw download

Dan Carpenter (1):
  Bluetooth: hidp: NUL terminate a string in the compat ioctl

Fabian Schindlatz (2):
  Bluetooth: hci_ll: Refactor download_firmware
  Bluetooth: Cleanup formatting and coding style

Greg Kroah-Hartman (1):
  6lowpan: no need to check return value of debugfs_create functions

Jian-Hong Pan (1):
  Bluetooth: btrtl: HCI reset on close for Realtek BT chip

Josua Mayer (3):
  Bluetooth: 6lowpan: search for destination address in all peers
  Bluetooth: 6lowpan: check neighbour table for SLAAC
  Bluetooth: 6lowpan: always check destination address

João Paulo Rechi Vita (2):
  Bluetooth: Add new 13d3:3501 QCA_ROME device
  Bluetooth: Add new 13d3:3491 QCA_ROME device

Larry Finger (1):
  Bluetooth:: btrtl: Add support for RTL8723DU

Luiz Augusto von Dentz (2):
  Bluetooth: Use controller sets when available
  Bluetooth: L2CAP: Check bearer type on __l2cap_global_chan_by_addr

Matias Karhumaa (1):
  Bluetooth: Check state in l2cap_disconnect_rsp

Matthias Kaehlcke (1):
  Bluetooth: hci_qca: wcn3990: Drop baudrate change vendor event

Neil Armstrong (1):
  Bluetooth: btbcm: Add entry for BCM4359C0 UART bluetooth

Peter Robinson (1):
  Bluetooth: btsdio: Do not bind to non-removable BCM4356

Philipp Puschmann (1):
  Bluetooth: hci_ll: set operational frequency earlier

Rocky Liao (2):
  Bluetooth: hci_qca: Load customized NVM based on the device property
  dt-bindings: net: bluetooth: Add device property firmware-name for QCA6174

Sascha Hauer (3):
  Bluetooth: hci_ldisc: Add function to wait for characters to be sent
  Bluetooth: hci_mrvl: Wait for final ack before switching baudrate
  Bluetooth: hci_mrvl: Add serdev support

Sean Wang (6):
  dt-bindings: net: bluetooth: add boot-gpios property to UART-based device
  dt-bindings: net: bluetooth: add clock property to UART-based device
  Bluetooth: btmtkuart: add an implementation for boot-gpios property
  Bluetooth: btmtkuart: add an implementation for clock osc property
  Bluetooth: btusb: Add protocol support for MediaTek MT7668U USB devices
  Bluetooth: btusb: Add protocol support for MediaTek MT7663U USB devices

Spoorthi Ravishankar Koppad (1):
  Bluetooth: Add support for LE ping feature

Szymon Janc (1):
  Bluetooth: Add SMP workaround Microsoft Surface Precision Mouse bug

Tomas Bortoli (1):
  Bluetooth: hci_bcsp: Fix memory leak in rx_skb

csonsino (1):
  Bluetooth: validate BLE connection interval updates

 .../devicetree/bindings/net/marvell-bluetooth.txt  |  25 +
 .../devicetree/bindings/net/mediatek-bluetooth.txt |  17 +
 .../devicetree/bindings/net/qualcomm-bluetooth.txt |   4 +
 drivers/bluetooth/Kconfig  |  12 +
 drivers/bluetooth/bpa10x.c |   3 +-
 drivers/bluetooth/btbcm.c  |   1 +
 drivers/bluetooth/btmtkuart.c  |  51 +-
 drivers/bluetooth/btqca.c  |  47 +-
 drivers/bluetooth/btqca.h  |  10 +-
 drivers/bluetooth/btrtl.c  |  28 +
 drivers/bluetooth/btrtl.h  |   6 +
 drivers/bluetooth/btsdio.c |   1 +
 drivers/bluetooth/btusb.c  | 584 +
 drivers/bluetooth/hci_bcsp.c   |   5 +
 drivers/bluetooth/hci_ldisc.c  |   8 +
 drivers/bluetooth/hci_ll.c | 109 ++--
 drivers/bluetooth/hci_mrvl.c   |  72 ++-
 drivers/bluetooth/hci_qca.c|  73 ++-
 drivers/bluetooth/hci_uart.h   |   1 +
 include/net/bluetooth/hci.h|  20 +
 include/net/bluetooth/hci_core.h   |   4 +
 net/6lowpan/6lowpan_i.h|  16

pull request: bluetooth-next 2019-05-05

2019-05-05 Thread Johan Hedberg
Hi Dave,

Here's one more bluetooth-next pull request for 5.2:

 - Fixed Command Complete event handling check for matching opcode
 - Added support for Qualcomm WCN3998 controller, along with DT bindings
 - Added default address for Broadcom BCM2076B1 controllers

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit ff24e4980a68d83090a02fda081741a410fe8eef:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2019-05-02 
22:14:21 -0400)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 62a91990f4c52f0b56cfae3e4093a27ed61c49db:

  Bluetooth: hci_qca: Rename STATE_ to QCA_ (2019-05-05 19:34:00 
+0200)


Harish Bandi (2):
  Bluetooth: hci_qca: Added support for WCN3998
  dt-bindings: net: bluetooth: Add device tree bindings for QTI chip WCN3998

João Paulo Rechi Vita (1):
  Bluetooth: Ignore CC events not matching the last HCI command

Matthias Kaehlcke (1):
  Bluetooth: hci_qca: Rename STATE_ to QCA_

Stephan Gerhold (1):
  Bluetooth: btbcm: Add default address for BCM2076B1

 .../devicetree/bindings/net/qualcomm-bluetooth.txt |  5 +-
 drivers/bluetooth/btbcm.c  |  5 ++
 drivers/bluetooth/btqca.c  |  7 +--
 drivers/bluetooth/btqca.h  | 11 -
 drivers/bluetooth/hci_qca.c| 55 +-
 include/net/bluetooth/hci.h|  1 +
 net/bluetooth/hci_core.c   |  5 ++
 net/bluetooth/hci_event.c  | 12 +
 net/bluetooth/hci_request.c|  5 ++
 net/bluetooth/hci_request.h|  1 +
 10 files changed, 80 insertions(+), 27 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2019-04-25

2019-04-25 Thread Johan Hedberg
Hi Dave,

Here's the main bluetooth-next pull request for the 5.2 kernel.

 - Added support for Mediatek SDIO controllers
 - Added support for Broadcom BCM2076B1 UART controller
 - Added support for Marvel SD8987 chipset
 - Fix buffer overflow bug in hidp protocol
 - Various other smaller fixes & improvements

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 7e6e185c74dd8a8dc539300c079adc6bc27045d6:

  net: systemport: Remove need for DMA descriptor (2019-04-22 22:20:15 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to d5bb334a8e171b262e48f378bd2096c0ea458265:

  Bluetooth: Align minimum encryption key size for LE and BR/EDR connections 
(2019-04-25 06:18:07 -0700)


Balakrishna Godavarthi (2):
  Bluetooth: hci_qca: Give enough time to ROME controller to bootup.
  Bluetooth: hci_core: Don't stop BT if the BD address missing in dts

Chen-Yu Tsai (1):
  Bluetooth: hci_bcm: Fix empty regulator supplies for Intel Macs

Colin Ian King (1):
  Bluetooth: hci_h5: fix spelling mistake "sliped" -> "slipped"

Dan Carpenter (1):
  6lowpan: Off by one handling ->nexthdr

Ferry Toth (1):
  Bluetooth: btbcm: Add default address for BCM43341B

Fugang Duan (1):
  Bluetooth: Add return check for L2CAP security level set

Gustavo A. R. Silva (1):
  Bluetooth: Use struct_size() helper

Jaganath Kanakkassery (1):
  Bluetooth: Fix incorrect pointer arithmatic in ext_adv_report_evt

Luiz Augusto von Dentz (1):
  Bluetooth: Fix not initializing L2CAP tx_credits

Marcel Holtmann (1):
  Bluetooth: Align minimum encryption key size for LE and BR/EDR connections

Matthias Kaehlcke (3):
  Bluetooth: hci_qca: Add helper function to get the chip family
  Bluetooth: btqca: Fix misspelling of 'baudrate'
  Bluetooth: hci_qca: Fix crash with non-serdev devices

Sean Wang (11):
  mmc: add SDIO identifiers for MediaTek Bluetooth devices
  Bluetooth: mediatek: add support for MediaTek MT7663S and MT7668S SDIO 
devices
  mmc: sdio: Add helper macro for sdio_driver boilerplate
  Bluetooth: mediatek: Use module_sdio_driver helper
  Bluetooth: btsdio: Use module_sdio_driver helper
  Bluetooth: btmtksdio: fix uninitialized symbol errors in 
btmtksdio_rx_packet
  Bluetooth: mediatek: Fixed incorrect type in assignment
  Bluetooth: btmtksdio: Drop newline with bt_dev logging macros
  Bluetooth: btmtksdio: Add a bit definition for CHLPCR
  Bluetooth: btmtksdio: Fix hdev->stat.byte_rx accumulation
  Bluetooth: btmtksdio: Add runtime PM support to SDIO based Bluetooth

Stephan Gerhold (1):
  Bluetooth: btbcm: Add entry for BCM2076B1 UART Bluetooth

Tamás Szűcs (1):
  Bluetooth: btmrvl: add support for SD8987 chipset

Young Xiao (1):
  Bluetooth: hidp: fix buffer overflow

 drivers/bluetooth/Kconfig|   15 +-
 drivers/bluetooth/Makefile   |1 +
 drivers/bluetooth/btbcm.c|5 +-
 drivers/bluetooth/btmrvl_sdio.c  |   36 ++
 drivers/bluetooth/btmtksdio.c| 1101 ++
 drivers/bluetooth/btmtkuart.c|2 +-
 drivers/bluetooth/btqca.h|2 +-
 drivers/bluetooth/btsdio.c   |   15 +-
 drivers/bluetooth/hci_bcm.c  |   20 +-
 drivers/bluetooth/hci_h5.c   |2 +-
 drivers/bluetooth/hci_qca.c  |   50 +-
 include/linux/mmc/sdio_func.h|   12 +
 include/linux/mmc/sdio_ids.h |2 +
 include/net/bluetooth/hci_core.h |3 +
 net/6lowpan/nhc.c|2 +-
 net/bluetooth/hci_conn.c |8 +
 net/bluetooth/hci_core.c |2 -
 net/bluetooth/hci_event.c|2 +-
 net/bluetooth/hidp/sock.c|1 +
 net/bluetooth/l2cap_core.c   |9 +-
 net/bluetooth/l2cap_sock.c   |7 +-
 net/bluetooth/mgmt.c |   11 +-
 22 files changed, 1246 insertions(+), 62 deletions(-)
 create mode 100644 drivers/bluetooth/btmtksdio.c



signature.asc
Description: PGP signature


pull request: bluetooth-next 2019-03-02

2019-03-02 Thread Johan Hedberg
Hi Dave,

Here's one more bluetooth-next pull request for the 5.1 kernel:

 - Added support for MediaTek MT7663U and MT7668U UART devices
 - Cleanups & fixes to the hci_qca driver
 - Fixed wakeup pin behavior for QCA6174A controller

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit c14f7e1efcbf744c49fcb44a121112c54d2c5330:

  net: wan: z85230: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop 
profiles (2019-02-25 14:36:15 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 22eaf6c9946ae269061d95bb9ceee02524166474:

  Bluetooth: mediatek: add support for MediaTek MT7663U and MT7668U UART 
devices (2019-03-02 19:51:23 +0100)


Brian Norris (3):
  Bluetooth: btusb: add QCA6174A compatible properties
  dt-bindings: net: btusb: add QCA6174A IDs
  arm64: dts: rockchip: move QCA6174A wakeup pin into its USB node

Gustavo A. R. Silva (1):
  Bluetooth: mgmt: Use struct_size() helper

Kefeng Wang (1):
  Bluetooth: hci_ldisc: Postpone HCI_UART_PROTO_READY bit set in 
hci_uart_set_proto()

Matthias Kaehlcke (8):
  Bluetooth: Add quirk for reading BD_ADDR from fwnode property
  Bluetooth: btqcomsmd: use HCI_QUIRK_USE_BDADDR_PROPERTY
  Bluetooth: hci_qca: Set HCI_QUIRK_USE_BDADDR_PROPERTY for wcn3990
  Bluetooth: hci_qca: Pass boolean 'on/off' to qca_send_power_pulse()
  Bluetooth: hci_qca: Move boot delay to qca_send_power_pulse()
  Bluetooth: hci_qca: Add delay after power-off pulse
  Bluetooth: hci_qca: Use msleep() instead of open coding it
  Bluetooth: hci_qca: Reduce delay after sending baudrate request for 
WCN3990

Sean Wang (2):
  dt-bindings: net: bluetooth: add support for MediaTek MT7663U and MT7668U 
UART devices
  Bluetooth: mediatek: add support for MediaTek MT7663U and MT7668U UART 
devices

 Documentation/devicetree/bindings/net/btusb.txt|   3 +
 .../devicetree/bindings/net/mediatek-bluetooth.txt |  64 +
 .../boot/dts/rockchip/rk3399-gru-chromebook.dtsi   |  13 +
 .../boot/dts/rockchip/rk3399-gru-scarlet.dtsi  |  46 ++--
 arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi   |  13 -
 drivers/bluetooth/btmtkuart.c  | 281 -
 drivers/bluetooth/btqcomsmd.c  |  31 +--
 drivers/bluetooth/btusb.c  |   2 +
 drivers/bluetooth/hci_ldisc.c  |   3 +-
 drivers/bluetooth/hci_qca.c|  50 ++--
 include/net/bluetooth/hci.h|  12 +
 net/bluetooth/hci_core.c   |  43 
 net/bluetooth/mgmt.c   |  14 +-
 13 files changed, 478 insertions(+), 97 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2019-02-24

2019-02-24 Thread Johan Hedberg
Hi Dave,

Here's the main bluetooth-next pull request for the 5.1 kernel.

 - Fixes & improvements to mediatek, hci_qca, btrtl, and btmrvl HCI drivers
 - Fixes to parsing invalid L2CAP config option sizes
 - Locking fix to bt_accept_enqueue()
 - Add support for new Marvel sd8977 chipset
 - Various other smaller fixes & cleanups

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit fa7f3a8d56b38a3ed1880a3780afba82387da277:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2019-01-21 
14:41:32 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to e0b67035a90b58d01f911fed77b6e3da153da66e:

  Bluetooth: mediatek: update the common setup between MT7622 and other devices 
(2019-02-18 14:08:55 +0100)


Balakrishna Godavarthi (4):
  Bluetooth: hci_qca: Add helper to set device address
  Bluetooth: hci_qca: use wait_until_sent() for power pulses
  Bluetooth: hci_qca: Deassert RTS while baudrate change command
  Bluetooth: hci_qca: Disable IBS state machine and flush Tx buffer

Colin Ian King (2):
  Bluetooth: make hw_err static, reduces object code size
  Bluetooth: remove redundant zero check on count

Dmitry Torokhov (2):
  usb: split code locating ACPI companion into port and device
  usb: assign ACPI companions for embedded USB devices

Gustavo A. R. Silva (3):
  Bluetooth: Mark expected switch fall-throughs
  Bluetooth: hci_event: Use struct_size() helper
  Bluetooth: a2mp: Use struct_size() helper

Hemantkumar Suthar (1):
  Bluetooth: btmrvl: add support for sd8977 chipset

Jeremy Cline (1):
  Bluetooth: hci_ldisc: Initialize hci_dev before open()

Kai-Heng Feng (1):
  Bluetooth: btrtl: Restore old logic to assume firmware is already loaded

Linus Walleij (1):
  Bluetooth: btmrvl: Drop unused GPIO includes

Marcel Holtmann (2):
  Bluetooth: Check L2CAP option sizes returned from l2cap_get_conf_opt
  Bluetooth: Verify that l2cap_get_conf_opt provides large enough buffer

Matthias Kaehlcke (1):
  Bluetooth: Fix locking in bt_accept_enqueue() for BH context

Myungho Jung (2):
  Bluetooth: hci_uart: Check if socket buffer is ERR_PTR in h4_recv_buf()
  Bluetooth: Fix decrementing reference count twice in releasing socket

Raghuram Hegde (1):
  Bluetooth: btusb: Add shutdown routine for BTUSB_INTEL_NEW devices

Rajat Jain (3):
  Bluetooth: Allow driver specific cmd timeout handling
  Bluetooth: btusb: Use the cmd_timeout method to reset the Intel BT chip
  Bluetooth: btusb: btusb_intel_cmd_timeout: use sleeping functions

Sean Wang (4):
  Bluetooth: mediatek: trivial typo fix
  Bluetooth: mediatek: fix up an error path to restore bdev->tx_state
  Bluetooth: mediatek: pass a pointer to mtk_hci_wmt_sync
  Bluetooth: mediatek: update the common setup between MT7622 and other 
devices

Stefan Agner (2):
  Bluetooth: btmrvl: improve printk messages
  Bluetooth: btmrvl: lower log level of informational message

YueHaibing (2):
  Bluetooth: 6lowpan: Fix debugfs_simple_attr.cocci warnings
  6lowpan: fix debugfs_simple_attr.cocci warnings

 drivers/bluetooth/Kconfig |   4 +-
 drivers/bluetooth/btmrvl_drv.h|   2 -
 drivers/bluetooth/btmrvl_sdio.c   |  43 ++-
 drivers/bluetooth/btmtkuart.c | 257 ++
 drivers/bluetooth/btqca.c |  19 +++
 drivers/bluetooth/btqca.h |   8 +-
 drivers/bluetooth/btrtl.c |  10 +-
 drivers/bluetooth/btusb.c |  73 +++
 drivers/bluetooth/h4_recv.h   |   7 +-
 drivers/bluetooth/hci_h4.c|   4 +
 drivers/bluetooth/hci_ldisc.c |  21 ++--
 drivers/bluetooth/hci_qca.c   |  87 +++--
 drivers/usb/core/usb-acpi.c   | 163 ++--
 include/net/bluetooth/bluetooth.h |   2 +-
 include/net/bluetooth/hci_core.h  |   1 +
 net/6lowpan/debugfs.c |  42 +++
 net/bluetooth/6lowpan.c   |  11 +-
 net/bluetooth/a2mp.c  |   2 +-
 net/bluetooth/af_bluetooth.c  |  16 ++-
 net/bluetooth/hci_core.c  |   5 +-
 net/bluetooth/hci_event.c |   8 +-
 net/bluetooth/hci_sock.c  |   3 +-
 net/bluetooth/l2cap_core.c|  84 -
 net/bluetooth/l2cap_sock.c|   2 +-
 net/bluetooth/rfcomm/core.c   |   1 +
 net/bluetooth/rfcomm/sock.c   |   2 +-
 net/bluetooth/sco.c   |   2 +-
 27 files changed, 661 insertions(+), 218 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2018-12-19

2018-12-19 Thread Johan Hedberg
Hi Dave,

Here's the main bluetooth-next pull request for 4.21:

 - Multiple fixes & improvements for Broadcom-based controllers
 - New USB ID for an Intel controller
 - Support for new Broadcom controller variants
 - Use DEFINE_SHOW_ATTRIBUTE to simplify debugfs code
 - Eliminate confusing "last event is not cmd complete" warning message
 - Added vendor suspend/resume support for H:5 (3-Wire UART) controllers
 - Various other smaller improvements & fixes

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit b12c97d45cd061862b79fe02aa41a73d685ec7a1:

  nfp: flower: fix cb_ident duplicate in indirect block register (2018-12-17 
23:34:12 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 1629db9c75342325868243d6bca5853017d91cf8:

  Bluetooth: Fix unnecessary error message for HCI request completion 
(2018-12-19 14:37:03 +0100)


Andrea Parri (1):
  Bluetooth: Remove unnecessary smp_mb__after_atomic() barriers

Balakrishna Godavarthi (1):
  Bluetooth: hci_serdev: Remove setting of HCI_QUIRK_RESET_ON_CLOSE.

Chen-Yu Tsai (12):
  dt-bindings: net: broadcom-bluetooth: Fix external clock names
  dt-bindings: net: broadcom-bluetooth: Add VBAT and VDDIO supplies
  dt-bindings: net: broadcom-bluetooth: Add BCM20702A1 compatible string
  dt-bindings: net: broadcom-bluetooth: Add BCM4330 compatible string
  Bluetooth: hci_bcm: Handle deferred probing for the clock supply
  Bluetooth: hci_bcm: Simplify clk_get error handling
  Bluetooth: hci_bcm: Use "txco" and "extclk" to get clock reference
  Bluetooth: hci_bcm: Add support for LPO clock
  Bluetooth: hci_bcm: Add support for regulator supplies
  Bluetooth: hci_bcm: Wait for device to come out of reset after power on
  Bluetooth: hci_bcm: Add compatible string for BCM4330
  Bluetooth: btbcm: Add default address for BCM43430A0

Colin Ian King (2):
  Bluetooth: clean an indentation issue, remove extraneous space
  Bluetooth: hci_intel: clean an indentation issue, remove extraneous spaces

Hans de Goede (2):
  Bluetooth: hci_h5: Add suspend / resume ops
  Bluetooth: hci_h5: Turn off RTL8723BS on suspend, reprobe on resume

Johan Hedberg (1):
  Bluetooth: Fix unnecessary error message for HCI request completion

Jonathan Bakker (1):
  Bluetooth: hci_bcm: Handle specific unknown packets after firmware loading

Maxime Ripard (1):
  Bluetooth: hci_bcm: Add BCM20702A1 variant

Paweł Chmiel (1):
  Bluetooth: btbcm: Add entry for BCM4329B1 UART bluetooth

Raghuram Hegde (1):
  Bluetooth: btusb: Add support for Intel bluetooth device 8087:0029

Yangtao Li (2):
  6lowpan: convert to DEFINE_SHOW_ATTRIBUTE
  Bluetooth: Change to use DEFINE_SHOW_ATTRIBUTE macro

 .../devicetree/bindings/net/broadcom-bluetooth.txt |  11 +-
 drivers/bluetooth/btbcm.c  |  14 ++-
 drivers/bluetooth/btusb.c  |  80 ++--
 drivers/bluetooth/hci_bcm.c| 134 ++---
 drivers/bluetooth/hci_h5.c |  81 +
 drivers/bluetooth/hci_intel.c  |  20 +--
 drivers/bluetooth/hci_serdev.c |   3 -
 net/6lowpan/debugfs.c  |  13 +-
 net/bluetooth/hci_event.c  |   6 +
 net/bluetooth/hci_request.c|   2 +-
 net/bluetooth/l2cap_core.c |  12 +-
 net/bluetooth/rfcomm/core.c|  12 +-
 net/bluetooth/rfcomm/sock.c|  12 +-
 net/bluetooth/sco.c|  12 +-
 14 files changed, 280 insertions(+), 132 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2018-10-20

2018-10-20 Thread Johan Hedberg
Hi Dave,

Here's one more bluetooth-next pull request for the 4.20 kernel.

 - Added new USB ID for QCA_ROME controller
 - Added debug trace support from QCA wcn3990 controllers
 - Updated L2CAP to conform to latest Errata Service Release
 - Fix binding to non-removable BCM43430 devices

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit d864991b220b7c62e81d21209e1fd978fd67352c:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2018-10-12 
21:38:46 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to c614ca3f7476934de54dd731e09d094ad822696c:

  Bluetooth: hci_qca: Add support for controller debug logs. (2018-10-18 
09:55:16 +0200)


Balakrishna Godavarthi (1):
  Bluetooth: hci_qca: Add support for controller debug logs.

Cho, Yu-Chen (1):
  Bluetooth: btsdio: Do not bind to non-removable BCM43430

Colin Ian King (1):
  Bluetooth: Remove redundant check on status

Mallikarjun Phulari (2):
  Bluetooth: Use separate L2CAP LE credit based connection result values
  Bluetooth: Errata Service Release 8, Erratum 3253

Owen Lin (1):
  Bluetooth: btusb: Add support for 0cf3:535b QCA_ROME device

 drivers/bluetooth/btsdio.c| 14 +-
 drivers/bluetooth/btusb.c |  1 +
 drivers/bluetooth/hci_qca.c   | 19 ++-
 include/net/bluetooth/l2cap.h | 19 +--
 net/bluetooth/hci_event.c | 38 +-
 net/bluetooth/l2cap_core.c| 36 ++--
 6 files changed, 80 insertions(+), 47 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2018-09-30

2018-09-30 Thread Johan Hedberg
Hi Dave,

Here's the first bluetooth-next pull request for the 4.20 kernel.

 - Fixes & cleanups to hci_qca driver
 - NULL dereference fix to debugfs
 - Improved L2CAP Connection-oriented Channel MTU & MPS handling
 - Added support for USB-based RTL8822C controller
 - Added device ID for BCM4335C0 UART-based controller
 - Various other smaller cleanups & fixes

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 1042caa79e9351b81ed19dc8d2d7fd6ff51a4422:

  net-ipv4: remove 2 always zero parameters from ipv4_redirect() (2018-09-26 
20:30:55 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 30d65e0804d58a03d1a8ea4e12c6fc07ed08218b:

  Bluetooth: Fix debugfs NULL pointer dereference (2018-09-28 20:53:48 +0200)


Alex Lu (1):
  Bluetooth: btrtl: Add support for RTL8822C with USB interface

Andrea Parri (1):
  Bluetooth: Remove unnecessary smp_mb__{before,after}_atomic

Ankit Navik (1):
  Bluetooth: Add definitions and track LE resolve list modification

Balakrishna Godavarthi (5):
  Bluetooth: hci_qca: Remove serdev_device_open/close function calls
  Bluetooth: hci_qca: Remove hdev dereference in qca_close().
  Bluetooth: hci_serdev: clear HCI_UART_PROTO_READY to avoid closing proto 
races
  Bluetooth: hci_serdev: Add protocol check in hci_uart_dequeue().
  Bluetooth: hci_qca: Add poweroff support during hci down for wcn3990

Christian Hewitt (1):
  Bluetooth: btbcm: Add entry for BCM4335C0 UART bluetooth

Colin Ian King (1):
  Bluetooth: btrtl: Make array extension_sig static, shrinks object size

Ding Xiang (1):
  Bluetooth: bt3c_cs: Fix obsolete function

Jagdish Tirumala (1):
  Bluetooth: hci_serdev: Fixed error space required before open paranethesis

Justin TerAvest (1):
  Bluetooth: btusb: Add quirk for BTUSB_INTEL_NEW

Luiz Augusto von Dentz (3):
  Bluetooth: L2CAP: Derive MPS from connection MTU
  Bluetooth: L2CAP: Derive rx credits from MTU and MPS
  Bluetooth: L2CAP: Detect if remote is not able to use the whole MPS

Luiz Carlos Ramos (1):
  Bluetooth: ath3k: add more information to error message

Matias Karhumaa (1):
  Bluetooth: Fix debugfs NULL pointer dereference

Sanjay Kumar Konduri (1):
  Bluetooth: btrsi: fix bt tx timeout issue

 drivers/bluetooth/ath3k.c| 11 ---
 drivers/bluetooth/bt3c_cs.c  |  9 --
 drivers/bluetooth/btbcm.c|  1 +
 drivers/bluetooth/btrsi.c| 13 +++-
 drivers/bluetooth/btrtl.c| 10 +-
 drivers/bluetooth/btusb.c|  1 +
 drivers/bluetooth/hci_qca.c  | 50 +-
 drivers/bluetooth/hci_serdev.c   | 10 +++---
 include/net/bluetooth/hci.h  | 14 +
 include/net/bluetooth/hci_core.h | 17 +++
 include/net/bluetooth/l2cap.h|  3 --
 net/bluetooth/bnep/core.c|  7 +++--
 net/bluetooth/cmtp/core.c| 14 +
 net/bluetooth/hci_core.c | 65 +++
 net/bluetooth/hci_event.c| 47 
 net/bluetooth/hidp/core.c| 13 +---
 net/bluetooth/l2cap_core.c   | 66 ++--
 net/bluetooth/smp.c  | 23 ++
 18 files changed, 299 insertions(+), 75 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth 2018-09-27

2018-09-27 Thread Johan Hedberg
Hi Dave,

Here's one more Bluetooth fix for 4.19, fixing the handling of an
attempt to unpair a device while pairing is in progress.

Let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 3f32d0be6c16b902b687453c962d17eea5b8ea19:

  tipc: lock wakeup & inputq at tipc_link_reset() (2018-09-25 20:48:56 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to cb28c306b93b71f2741ce1a5a66289db26715f4d:

  Bluetooth: SMP: fix crash in unpairing (2018-09-26 12:39:32 +0300)


Matias Karhumaa (1):
  Bluetooth: SMP: fix crash in unpairing

 net/bluetooth/mgmt.c |  7 ++-
 net/bluetooth/smp.c  | 29 +
 net/bluetooth/smp.h  |  3 ++-
 3 files changed, 29 insertions(+), 10 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth 2018-09-13

2018-09-13 Thread Johan Hedberg
Hi Dave,

A few Bluetooth fixes for the 4.19-rc series:

 - Fixed rw_semaphore leak in hci_ldisc
 - Fixed local Out-of-Band pairing data handling

Let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 7c5cca3588545e7f255171e28e0dd6e384ebb91d:

  qmi_wwan: Support dynamic config on Quectel EP06 (2018-09-10 10:48:54 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to e6a57d22f787e73635ce0d29eef0abb77928b3e9:

  Bluetooth: hci_ldisc: Free rw_semaphore on close (2018-09-11 13:33:57 +0200)


Hermes Zhang (1):
  Bluetooth: hci_ldisc: Free rw_semaphore on close

Johan Hedberg (1):
  Bluetooth: SMP: Fix trying to use non-existent local OOB data

Matias Karhumaa (1):
  Bluetooth: Use correct tfm to generate OOB data

 drivers/bluetooth/hci_ldisc.c |  2 ++
 net/bluetooth/smp.c   | 16 +---
 2 files changed, 15 insertions(+), 3 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth 2018-08-23

2018-08-22 Thread Johan Hedberg
Hi Dave,

Here are two important Bluetooth fixes for the MediaTek and RealTek HCI
drivers.

Please let me know if there are any issues pulling, thanks.

Johan

---
The following changes since commit ab08dcd724543896303eae7de6288242bbaff458:

  rhashtable: remove duplicated include from rhashtable.c (2018-08-20 19:18:50 
-0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to addb3ffbca66954fb1d1791d2db2153c403f81af:

  Bluetooth: mediatek: Fix memory leak (2018-08-21 16:56:20 +0200)


Gustavo A. R. Silva (1):
  Bluetooth: mediatek: Fix memory leak

Hans de Goede (1):
  Bluetooth: Make BT_HCIUART_RTL configuration option depend on ACPI

 drivers/bluetooth/Kconfig | 1 +
 drivers/bluetooth/btmtkuart.c | 8 +---
 2 files changed, 6 insertions(+), 3 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2018-08-13

2018-08-13 Thread Johan Hedberg
Hi Dave,

There was one pretty bad bug that slipped into the MediaTek HCI driver
in the last bluetooth-next pull request. Would it be possible to get
this one-liner fix pulled to net-next before you make your first 4.19
pull request for Linus? Thanks.

Johan

---
The following changes since commit a487711aac3b720b4a3a63d737604f47cd8dc36c:

  Merge branch 'r8169-smaller-improvements' (2018-08-10 14:32:35 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 330ad75f6a79d46f11f7bf8937852ebb4673b1d5:

  Bluetooth: mediatek: pass correct size to h4_recv_buf() (2018-08-13 15:59:39 
+0200)


Dan Carpenter (1):
  Bluetooth: mediatek: pass correct size to h4_recv_buf()

 drivers/bluetooth/btmtkuart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2018-08-10

2018-08-10 Thread Johan Hedberg
Hi Dave,

Here's one more (most likely last) bluetooth-next pull request for the
4.19 kernel.

 - Added support for MediaTek serial Bluetooth devices
 - Initial skeleton for controller-side address resolution support
 - Fix BT_HCIUART_RTL related Kconfig dependencies
 - A few other minor fixes/cleanups

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 981467033a37d916649647fa3afe1fe99bba1817:

  tc-testing: remove duplicate spaces in skbedit match patterns (2018-08-05 
17:39:24 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to aa12af77aae05008b3e637b85944dcd512f75eba:

  Bluetooth: Add definitions for LE set address resolution (2018-08-10 16:57:57 
+0200)


Ankit Navik (1):
  Bluetooth: Add definitions for LE set address resolution

Marcel Holtmann (2):
  Bluetooth: btqca: Introduce HCI_EV_VENDOR and use it
  Bluetooth: Introduce BT_HCIUART_RTL configuration option

Sean Wang (3):
  dt-bindings: net: bluetooth: Add mediatek-bluetooth
  Bluetooth: mediatek: Add protocol support for MediaTek serial devices
  MAINTAINERS: add an entry for MediaTek Bluetooth driver

YueHaibing (1):
  Bluetooth: remove redundant variables 'adv_set' and 'cp'

 .../devicetree/bindings/net/mediatek-bluetooth.txt |  35 ++
 MAINTAINERS|   8 +
 drivers/bluetooth/Kconfig  |  24 +
 drivers/bluetooth/Makefile |   1 +
 drivers/bluetooth/btmtkuart.c  | 629 +
 drivers/bluetooth/btqca.c  |   6 +-
 drivers/bluetooth/hci_h5.c |   4 +
 include/net/bluetooth/hci.h|   5 +
 net/bluetooth/hci_event.c  |  31 +-
 net/bluetooth/mgmt.c   |   3 -
 10 files changed, 737 insertions(+), 9 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/mediatek-bluetooth.txt
 create mode 100644 drivers/bluetooth/btmtkuart.c


signature.asc
Description: PGP signature


pull request: bluetooth-next 2018-08-05

2018-08-04 Thread Johan Hedberg
Hi Dave,

Here's the main bluetooth-next pull request for the 4.19 kernel.

 - Added support for Bluetooth Advertising Extensions
 - Added vendor driver support to hci_h5 HCI driver
 - Added serdev support to hci_h5 driver
 - Added support for Qualcomm wcn3990 controller
 - Added support for RTL8723BS and RTL8723DS controllers
 - btusb: Added new ID for Realtek 8723DE
 - Several other smaller fixes & cleanups

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit ab8565af68001ac5f9331daa311938ead3eb5636:

  Merge branch 'IP-listification-follow-ups' (2018-07-06 11:19:08 +0900)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 6c3711ec64fd23a9abc8aaf59a9429569a6282df:

  Bluetooth: h5: Fix missing dependency on BT_HCIUART_SERDEV (2018-08-04 
23:23:32 +0200)


Amit K Bag (1):
  Bluetooth: btusb: Release RF resource on BT shutdown

Ankit Navik (2):
  Bluetooth: Store Resolv list size
  Bluetooth: Add HCI command for clear Resolv list

Balakrishna Godavarthi (7):
  dt-bindings: net: bluetooth: Add device tree bindings for QTI chip wcn3990
  Bluetooth: btqca: Rename ROME specific functions to generic functions
  Bluetooth: btqca: Redefine qca_uart_setup() to generic function.
  Bluetooth: hci_qca: Add wrapper functions for setting UART speed
  Bluetooth: hci_qca: Enable 3.2 Mbps operating speed.
  Bluetooth: btqca: Add wcn3990 firmware download support.
  Bluetooth: hci_qca: Add support for Qualcomm Bluetooth chip wcn3990

Corentin Labbe (1):
  Bluetooth: remove unused bt-nokia-h4p.h header

Hans de Goede (4):
  Bluetooth: btrtl: Use rtl_dev_err and rtl_dev_info
  Bluetooth: btrtl: Add support for a config filename postfix
  Bluetooth: hci_h5: Add support for serdev enumerated devices
  Bluetooth: hci_h5: Add support for enable and device-wake GPIOs

Jaganath Kanakkassery (21):
  Bluetooth: Introduce helpers for LE set scan start and complete
  Bluetooth: Use extended scanning if controller supports
  Bluetooth: Process extended ADV report event
  Bluetooth: Introduce helpers for le conn status and complete
  Bluetooth: Use extended LE Connection if supported
  Bluetooth: Define PHY flags in hdev and set 1M as default
  Bluetooth: Add defines for BREDR pkt_type and LE PHYs
  Bluetooth: Implement Get PHY Configuration mgmt command
  Bluetooth: Implement Set PHY Confguration command
  Bluetooth: Implement PHY changed event
  Bluetooth: Set Scan PHYs based on selected PHYs by user
  Bluetooth: Handle extended ADV PDU types
  Bluetooth: Use selected PHYs in extended connect
  Bluetooth: Read no of adv sets during init
  Bluetooth: Impmlement extended adv enable
  Bluetooth: Use Set ext adv/scan rsp data if controller supports
  Bluetooth: Implement disable and removal of adv instance
  Bluetooth: Use ext adv for directed adv
  Bluetooth: Implement Set ADV set random address
  Bluetooth: Handle ADv set terminated event
  Bluetooth: Implement secondary advertising on different PHYs

Jeremy Cline (2):
  Bluetooth: hci_h5: Add vendor setup, open, and close callbacks
  Bluetooth: hci_h5: Add support for the RTL8723BS

Jia-Ju Bai (7):
  bluetooth: bfusb: Replace GFP_ATOMIC with GFP_KERNEL in bfusb_send_frame()
  bluetooth: bluecard_cs: Replace GFP_ATOMIC with GFP_KERNEL in 
bluecard_hci_set_baud_rate()
  bluetooth: bpa10x: Replace GFP_ATOMIC with GFP_KERNEL in 
bpa10x_send_frame()
  bluetooth: btmrvl_sdio: Replace GFP_ATOMIC with GFP_KERNEL in 
btmrvl_sdio_card_to_host()
  bluetooth: btusb: Replace GFP_ATOMIC with GFP_KERNEL in 
inject_cmd_complete()
  bluetooth: hci_intel: Replace GFP_ATOMIC with GFP_KERNEL in 
inject_cmd_complete()
  bluetooth: hci_qca: Replace GFP_ATOMIC with GFP_KERNEL

Jian-Hong Pan (1):
  Bluetooth: Add a new Realtek 8723DE ID 0bda:b009

Johan Hedberg (1):
  Bluetooth: h5: Fix missing dependency on BT_HCIUART_SERDEV

Marcel Holtmann (2):
  Bluetooth: hidp: Fix handling of strncpy for hid->name information
  Bluetooth: btusb: Use bt_dev_err for Intel firmware loading errors

Mark Salyzyn (1):
  Bluetooth: hidp: buffer overflow in hidp_process_report

Martin Blumenstingl (4):
  Bluetooth: btrtl: add MODULE_FIRMWARE declarations
  Bluetooth: btrtl: split the device initialization into smaller parts
  Bluetooth: btrtl: add support for retrieving the UART settings
  Bluetooth: btrtl: add support for the RTL8723BS and RTL8723DS chips

Michael Scott (1):
  6lowpan: iphc: reset mac_header after decompress to fix panic

Philipp Puschmann (1):
  Bluetooth: Use lock_sock_nested in bt_accept_enqueue

Sean Wang (1):
  Bluetooth:

pull request: bluetooth-next 2018-06-04

2018-06-04 Thread Johan Hedberg
Hi Dave,

Here's one last bluetooth-next pull request for the 4.18 kernel:

 - New USB device IDs for Realtek 8822BE and 8723DE
 - reset/resume fix for Dell Inspiron 5565
 - Fix HCI_UART_INIT_PENDING flag behavior
 - Fix patching behavior for some ATH3012 models
 - A few other minor cleanups & fixes

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 874fcf1de613ad7b3cecf8a9cfe806fe7c2e3c68:

  Merge tag 'mlx5e-updates-2018-05-25' of 
git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux (2018-05-29 09:45:13 
-0400)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 1cd2fabf4bdcf95eda6a1bcebc4a0a965509da36:

  Bluetooth: btusb: Add additional device ID for RTL8822BE (2018-05-30 15:45:01 
+0200)


Andy Shevchenko (2):
  Bluetooth: Re-use kstrtobool_from_user()
  Bluetooth: btmrvl: Re-use kstrtol_from_user()

Arend van Spriel (1):
  Bluetooth: btmrvl: support sysfs initiated firmware coredump

Artiom Vaskov (1):
  Bluetooth: btusb: Add additional device ID for RTL8822BE

Hans de Goede (4):
  Bluetooth: btusb: Add Dell Inspiron 5565 to btusb_needs_reset_resume_table
  Bluetooth: hci_uart: Restore hci_dev->flush callback on open()
  Bluetooth: hci_serdev: Move serdev_device_close/open into common 
hci_serdev code
  Bluetooth: hci_serdev: Fix HCI_UART_INIT_PENDING not working

Jian-Hong Pan (1):
  Bluetooth: btusb: Add a new Realtek 8723DE ID 2ff8:b011

Takashi Iwai (1):
  Bluetooth: btusb: Apply QCA Rome patches for some ATH3012 models

Thierry Escande (1):
  Bluetooth: hci_qca: Fix "Sleep inside atomic section" warning

Vaibhav Murkute (1):
  Bluetooth: hci_serdev: Removed unnecessary curly braces

 drivers/bluetooth/btmrvl_debugfs.c | 55 +++---
 drivers/bluetooth/btmrvl_drv.h |  2 --
 drivers/bluetooth/btmrvl_main.c|  6 -
 drivers/bluetooth/btmrvl_sdio.c| 11 +---
 drivers/bluetooth/btusb.c  | 43 -
 drivers/bluetooth/hci_bcm.c| 10 +--
 drivers/bluetooth/hci_ldisc.c  | 22 ---
 drivers/bluetooth/hci_ll.c |  3 ---
 drivers/bluetooth/hci_nokia.c  |  3 ---
 drivers/bluetooth/hci_qca.c|  2 +-
 drivers/bluetooth/hci_serdev.c | 32 ++
 drivers/bluetooth/hci_uart.h   |  1 +
 net/bluetooth/hci_core.c   | 23 +---
 net/bluetooth/hci_debugfs.c| 24 ++---
 net/bluetooth/smp.c| 12 +++--
 15 files changed, 102 insertions(+), 147 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2018-05-18

2018-05-18 Thread Johan Hedberg
Hi Dave,

Here's the first bluetooth-next pull request for the 4.18 kernel:

 - Refactoring of the btbcm driver
 - New USB IDs for QCA_ROME and LiteOn controllers
 - Buffer overflow fix if the controller sends invalid advertising data length
 - Various cleanups & fixes for Qualcomm controllers

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 538e2de104cfb4ef1acb35af42427bff42adbe4d:

  Merge branch 'net-Allow-more-drivers-with-COMPILE_TEST' (2018-05-17 17:11:07 
-0400)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to df2445bf77833674ebf790d2e6fcfd1d389b8a7b:

  Bluetooth: Add a new 13d3:3496 QCA_ROME device (2018-05-18 06:37:52 +0200)


Amit Pundir (1):
  Bluetooth: hci_qca: Avoid missing rampatch failure with userspace fw 
loader

Chriz Chow (1):
  Bluetooth: Prevent buffer overflow for large advertisement data

Fabio Estevam (1):
  Bluetooth: hci_ldisc: Provide a 'default' switch case

Hans de Goede (8):
  Bluetooth: hci_bcm: Add broken-irq dmi blacklist and add Meegopad T08 to 
it
  Bluetooth: hci_bcm: Remove irq-active-low DMI quirk for the Thinkpad 8
  Bluetooth: btbcm: Stop using upper nibble of rev to chose between 
uart/USB paths
  Bluetooth: btbcm: Factor out common code to determine subversion
  Bluetooth: btbcm: Make btbcm_initialize() also work for USB connected 
devices
  Bluetooth: btbcm: Allow using btbcm_initialize() for reinit
  Bluetooth: btbcm: Remove duplicate code from btbcm_setup_patchram()
  Bluetooth: btbcm: btbcm_initialize(): Initialize hw_name to "BCM"

John Keeping (1):
  Bluetooth: use wait_event API instead of open-coding it

João Paulo Rechi Vita (1):
  Bluetooth: Add a new 13d3:3496 QCA_ROME device

Loic Poulain (3):
  Bluetooth: btqcomsmd: Fix rx/tx stats
  Bluetooth: Add __hci_cmd_send function
  Bluetooth: btqca: Add AR3002 rampatch support

Srinivas Kandagatla (1):
  arm64: dts: apq8096-db820c: Enable wlan and bt en pins

Thierry Escande (3):
  arm64: dts: apq8096-db820c: enable bluetooth node
  dt-bindings: net: bluetooth: Add qualcomm-bluetooth
  Bluetooth: hci_qca: Add serdev support

Vic Wei (1):
  Bluetooth: btusb: add ID for LiteOn 04ca:301a

 .../devicetree/bindings/net/qualcomm-bluetooth.txt |  30 +++
 arch/arm64/boot/dts/qcom/apq8096-db820c-pins.dtsi  |  26 +++
 .../boot/dts/qcom/apq8096-db820c-pmic-pins.dtsi|  32 
 arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi   |  61 +++
 arch/arm64/boot/dts/qcom/msm8996.dtsi  |  10 +
 drivers/bluetooth/Kconfig  |   1 +
 drivers/bluetooth/btbcm.c  | 201 +++--
 drivers/bluetooth/btbcm.h  |   5 +-
 drivers/bluetooth/btqca.c  | 104 +--
 drivers/bluetooth/btqca.h  |  11 +-
 drivers/bluetooth/btqcomsmd.c  |  10 +
 drivers/bluetooth/btusb.c  |   2 +
 drivers/bluetooth/hci_bcm.c|  35 ++--
 drivers/bluetooth/hci_ldisc.c  |   2 +
 drivers/bluetooth/hci_qca.c| 116 +++-
 include/net/bluetooth/hci_core.h   |   2 +
 net/bluetooth/hci_core.c   |  31 
 net/bluetooth/hci_event.c  |  12 +-
 net/bluetooth/hci_request.c|  30 +--
 19 files changed, 480 insertions(+), 241 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt


signature.asc
Description: PGP signature


pull request: bluetooth 2018-05-07

2018-05-07 Thread Johan Hedberg
Hi Dave,

Here are a few more Bluetooth fixes for the 4.17 kernel, all for the
btusb driver. Two relate to the needs_reset_resume table, and one is a
revert of a patch for Atheros 1525/QCA6174 which caused a regression for
some people.

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 2cb5fb1454ef4990f44f3070226ee29201bd5c87:

  MAINTAINERS: add myself as SCTP co-maintainer (2018-04-29 22:49:45 -0400)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to 596b07a9a22656493726edf1739569102bd3e136:

  Bluetooth: btusb: Add Dell XPS 13 9360 to btusb_needs_reset_resume_table 
(2018-04-30 10:56:04 +0200)


Hans de Goede (3):
  Revert "Bluetooth: btusb: Fix quirk for Atheros 1525/QCA6174"
  Bluetooth: btusb: Only check needs_reset_resume DMI table for QCA rome 
chipsets
  Bluetooth: btusb: Add Dell XPS 13 9360 to btusb_needs_reset_resume_table

 drivers/bluetooth/btusb.c | 19 +++
 1 file changed, 15 insertions(+), 4 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth 2018-04-08

2018-04-08 Thread Johan Hedberg
Hi Dave,

Here's one important Bluetooth fix for the 4.17-rc series that's needed
to pass several Bluetooth qualification test cases.

Let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit b5dbc28762fd3fd40ba76303be0c7f707826f982:

  Merge tag 'kbuild-fixes-v4.16-3' of 
git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild 
(2018-03-30 18:53:57 -1000)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to 082f2300cfa1a3d9d5221c38c5eba85d4ab98bd8:

  Bluetooth: Fix connection if directed advertising and privacy is used 
(2018-04-03 16:12:56 +0200)


Szymon Janc (1):
  Bluetooth: Fix connection if directed advertising and privacy is used

 include/net/bluetooth/hci_core.h |  2 +-
 net/bluetooth/hci_conn.c | 29 +
 net/bluetooth/hci_event.c| 15 +++
 net/bluetooth/l2cap_core.c   |  2 +-
 4 files changed, 34 insertions(+), 14 deletions(-)


signature.asc
Description: PGP signature


Re: linux-next: Signed-off-by missing for commits in the net-next tree

2018-04-01 Thread Johan Hedberg
Hi,

On Mon, Apr 02, 2018, Stephen Rothwell wrote:
>   45a42bc9cc65 ("Bluetooth: hci_bcm: Remove DMI quirk for the MINIX Z83-4")
>   f9b95db0165a ("Bluetooth: btrsi: remove unused including ")
>   96e58d368fa6 ("Bluetooth: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for 
> BTUSB_QCA_ROME")
>   9ea471320e13 ("Bluetooth: Mark expected switch fall-throughs")
> 
> are missing a Signed-off-by from their committer.

I think this is because I fixed up a missing author name in "Bluetooth:
hci_bcm: Remove DMI quirk for the MINIX Z83-4" and did a push --force,
whereas these patches were originally committed by Marcel. Should I be
adding my signed-off-by to all affected patches when doing such rebases?

Johan


pull request: bluetooth-next 2018-04-01

2018-04-01 Thread Johan Hedberg
Hi Dave,

Here's (most likely) the last bluetooth-next pull request for the 4.17
kernel:

 - Remove unused btuart_cs driver (replaced by serial_cs + hci_uart)
 - New USB ID for Edimax EW-7611ULB controller
 - Cleanups & fixes to hci_bcm driver
 - Clenups to btmrvl driver

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 06b19fe9a6df7aaa423cd8404ebe5ac9ec4b2960:

  Merge branch 'chelsio-inline-tls' (2018-03-31 23:37:33 -0400)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 9ea471320e1302be0fac67c14a7ab7982609fea7:

  Bluetooth: Mark expected switch fall-throughs (2018-04-01 21:43:03 +0300)


Gustavo A. R. Silva (1):
  Bluetooth: Mark expected switch fall-throughs

Hans de Goede (6):
  Bluetooth: hci_bcm: Add irq_polarity module option
  Bluetooth: hci_bcm: Treat Interrupt ACPI resources as always being 
active-low
  Bluetooth: hci_bcm: Add 6 new ACPI HIDs
  Bluetooth: hci_bcm: Remove duplication in gpio-mappings declaration
  Bluetooth: hci_bcm: Do not tie GPIO pin order to a specific ACPI HID
  Bluetooth: hci_bcm: Add ACPI HIDs found in Windows .inf files and DSTDs

Ian W MORRISON (1):
  Bluetooth: hci_bcm: Remove DMI quirk for the MINIX Z83-4

Jaganath Kanakkassery (1):
  Bluetooth: Fix data type of appearence

Loic Poulain (1):
  Bluetooth: hci_bcm: use gpiod cansleep version

Marcel Holtmann (5):
  Bluetooth: hci_bcm: Use default baud rate if missing shutdown GPIO
  Bluetooth: hci_ll: Use skb_put_u8 instead of struct hcill_cmd
  Bluetooth: hci_ll: Convert to use h4_recv_buf helper
  Bluetooth: bpa10x: Use separate h4_recv_buf helper
  Bluetooth: Remove unused btuart_cs driver

Markus Elfring (2):
  Bluetooth: btmrvl: Delete an unnecessary variable initialisation in 
btmrvl_sdio_register_dev()
  Bluetooth: btmrvl: Delete an unnecessary variable initialisation in 
btmrvl_sdio_card_to_host()

Vic Wei (1):
  Bluetooth: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for BTUSB_QCA_ROME

Vicente Bergas (1):
  Bluetooth: btusb: Add USB ID 7392:a611 for Edimax EW-7611ULB

Wei Yongjun (1):
  Bluetooth: btrsi: remove unused including 

 drivers/bluetooth/Kconfig   |  20 +-
 drivers/bluetooth/Makefile  |   1 -
 drivers/bluetooth/bpa10x.c  |   2 +-
 drivers/bluetooth/btmrvl_sdio.c |   4 +-
 drivers/bluetooth/btrsi.c   |   1 -
 drivers/bluetooth/btuart_cs.c   | 675 
 drivers/bluetooth/btusb.c   |   4 +
 drivers/bluetooth/h4_recv.h | 160 ++
 drivers/bluetooth/hci_bcm.c | 305 +-
 drivers/bluetooth/hci_ll.c  | 222 +
 include/net/bluetooth/mgmt.h|   2 +-
 net/bluetooth/mgmt.c|   1 +
 net/bluetooth/rfcomm/sock.c |   1 +
 13 files changed, 473 insertions(+), 925 deletions(-)
 delete mode 100644 drivers/bluetooth/btuart_cs.c
 create mode 100644 drivers/bluetooth/h4_recv.h


signature.asc
Description: PGP signature


pull request: bluetooth 2018-03-16

2018-03-16 Thread Johan Hedberg
Hi Dave,

Here are a few more important Bluetooth driver fixes for the 4.16
kernel.

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 3d502067599f0db12e74e6646aee8728efe3e5be:

  net/smc: simplify wait when closing listen socket (2018-03-15 09:49:13 -0400)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to e07c99b07ae85255d5c5bc2480fbd4c4e77f71bc:

  Bluetooth: hci_bcm: Set pulsed_host_wake flag in sleep parameters (2018-03-15 
19:39:37 +0100)


Hans de Goede (2):
  Revert "Bluetooth: hci_bcm: Streamline runtime PM code"
  Bluetooth: hci_bcm: Set pulsed_host_wake flag in sleep parameters

Takashi Iwai (1):
  Bluetooth: btusb: Fix quirk for Atheros 1525/QCA6174

 drivers/bluetooth/btusb.c   |  2 +-
 drivers/bluetooth/hci_bcm.c | 13 +
 2 files changed, 10 insertions(+), 5 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth 2018-03-05

2018-03-05 Thread Johan Hedberg
Hi Dave,

Here are a few more Bluetooth fixes for the 4.16 kernel:

 - btusb: reset/resume fixes for Yoga 920 and Dell OptiPlex 3060
 - Fix for missing encryption refresh with the Security Manager protocol

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 773daa3caf5d3f87fdb1ab43e9c1b367a38fa394:

  net: ipv4: avoid unused variable warning for sysctl (2018-03-01 13:38:22 
-0500)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to 64e759f58f128730b97a3c3a26d283c075ad7c86:

  Bluetooth: Fix missing encryption refresh on Security Request (2018-03-01 
19:55:56 +0100)


Hans de Goede (1):
  Bluetooth: btusb: Remove Yoga 920 from the btusb_needs_reset_resume_table

Kai-Heng Feng (1):
  Bluetooth: btusb: Add Dell OptiPlex 3060 to btusb_needs_reset_resume_table

Szymon Janc (1):
  Bluetooth: Fix missing encryption refresh on Security Request

 drivers/bluetooth/btusb.c | 6 +++---
 net/bluetooth/smp.c   | 8 +++-
 2 files changed, 10 insertions(+), 4 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth 2018-02-26

2018-02-26 Thread Johan Hedberg
Hi Dave,

Here are a two Bluetooth driver fixes for the 4.16 kernel.

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 9cb9c07d6b0c5fd97d83b8ab14d7e308ba4b612f:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2018-02-23 
15:14:17 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to ab2f336cb7e629de74d8af06bcaf6b15e4230e19:

  Bluetooth: hci_bcm: Make shutdown and device wake GPIO optional (2018-02-25 
21:08:28 +0100)


Hans de Goede (1):
  Bluetooth: btusb: Use DMI matching for QCA reset_resume quirking

Stefan Wahren (1):
  Bluetooth: hci_bcm: Make shutdown and device wake GPIO optional

 drivers/bluetooth/btusb.c   | 25 +++--
 drivers/bluetooth/hci_bcm.c |  7 ---
 2 files changed, 23 insertions(+), 9 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2018-02-15

2018-02-15 Thread Johan Hedberg
Hi Dave,

Here's the first bluetooth-next pull request targetting the 4.17 kernel
release.

 - Fixes & cleanups to Atheros and Marvell drivers
 - Support for two new Realtek controllers
 - Support for new Intel Bluetooth controller
 - Fix for supporting multiple slave-role Bluetooth LE connections

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 617aebe6a97efa539cc4b8a52adccd89596e6be0:

  Merge tag 'usercopy-v4.16-rc1' of 
git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux (2018-02-03 16:25:42 
-0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 907f84990924bf3a8d248c040dabeb5127ae6938:

  Bluetooth: btrtl: Add RTL8723D and RTL8821C devices (2018-02-11 21:50:35 
+0100)


Alex Lu (1):
  Bluetooth: btrtl: Add RTL8723D and RTL8821C devices

Jia-Ju Bai (3):
  Bluetooth: hci_ath: Replace mdelay with msleep in ath_wakeup_ar3k
  Bluetooth: btmrvl_main: Replace GFP_ATOMIC with GFP_KERNEL in 
btmrvl_send_sync_cmd
  Bluetooth: hci_ll: Replace mdelay with msleep in download_firmware

Larry Finger (1):
  Bluetooth: btusb: Add device ID for RTL8822BE

Maxim Zhukov (5):
  Bluetooth: ath3k: replace hardcode numbers with define
  Bluetooth: ath3k: do not init variables
  Bluetooth: ath3k: remove blank line after if
  Bluetooth: ath3k: Fix warning: quoted string split across lines
  Bluetooth: ath3k: fix checkpatch warning

Tedd Ho-Jeong An (1):
  Bluetooth: btusb: Add support for Intel Bluetooth device 22560 [8087:0026]

Łukasz Rymanowski (1):
  Bluetooth: Fix incorrect bits for LE states

 drivers/bluetooth/ath3k.c   |  28 ++
 drivers/bluetooth/btmrvl_main.c |   2 +-
 drivers/bluetooth/btrtl.c   | 119 
 drivers/bluetooth/btusb.c   |  10 
 drivers/bluetooth/hci_ath.c |   4 +-
 drivers/bluetooth/hci_ll.c  |   2 +-
 net/bluetooth/hci_request.c |   6 +-
 7 files changed, 118 insertions(+), 53 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2018-01-25

2018-01-25 Thread Johan Hedberg
Hi Dave,

Here's one last bluetooth-next pull request for the 4.16 kernel:

 - Improved support for Intel controllers
 - New set_parity method to serdev (agreed with maintainers to be taken
   through bluetooth-next)
 - Fix error path in hci_bcm (missing call to serdev close)
 - New ID for BCM4343A0 UART controller

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 4f7d58517f461aa6e7b7509668f04021e089323d:

  Merge tag 'linux-can-next-for-4.16-20180116' of 
ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next 
(2018-01-17 16:08:25 -0500)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to fbbe83c52bc0d52398de72d7df1857cc9b36244e:

  Bluetooth: btintel: Create common function for firmware download (2018-01-25 
09:28:40 +0100)


Hans de Goede (1):
  Bluetooth: hci_bcm: For serdev case close serdev on failure to set power

Jörg Krause (1):
  Bluetooth: btbcm: Add entry for BCM4343A0 UART bluetooth

Tedd Ho-Jeong An (5):
  Bluetooth: hci_intel: Update firmware filename for Intel 9x60 and later
  Bluetooth: btintel: Create common function for Intel Reset
  Bluetooth: btintel: Use boot parameter from firmware file
  Bluetooth: btintel: Create common Intel Read Boot Params function
  Bluetooth: btintel: Create common function for firmware download

Ulrich Hecht (1):
  serdev: add method to set parity

 drivers/bluetooth/btbcm.c   |   1 +
 drivers/bluetooth/btintel.c | 155 ++
 drivers/bluetooth/btintel.h |  33 ++-
 drivers/bluetooth/btusb.c   | 133 +-
 drivers/bluetooth/hci_bcm.c |   5 +-
 drivers/bluetooth/hci_intel.c   | 186 +---
 drivers/tty/serdev/core.c   |  12 +++
 drivers/tty/serdev/serdev-ttyport.c |  24 +
 include/linux/serdev.h  |  10 ++
 9 files changed, 328 insertions(+), 231 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2018-01-11

2018-01-11 Thread Johan Hedberg
Hi Dave,

Here's likely the last bluetooth-next pull request for the 4.16 kernel.

 - Added support for Bluetooth on 2015+ MacBook (Pro)
 - Fix to QCA Rome suspend/resume handling
 - Two new QCA_ROME USB IDs in btusb
 - A few other minor fixes

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 18feb87105c3c16dc01e6981a6aafb175679b997:

  enic: add wq clean up budget (2017-12-26 13:10:07 -0500)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to ff8759609d021c0e85945fcc4a148a0e55ace70f:

  Bluetooth: btbcm: Fix sleep mode struct ordering (2018-01-10 19:00:14 +0100)


AceLan Kao (1):
  Bluetooth: btusb: Add support for 0cf3:e010

Arnd Bergmann (1):
  Bluetooth: hciuart: add nvmem dependency

Colin Ian King (2):
  Bluetooth: bpa10x: make array 'req' static, shrinks object size
  Bluetooth: btintel: make array 'param' static, shrinks object size

Hans de Goede (1):
  Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a "rewritten" 
version

Ioan Moldovan (1):
  Bluetooth: Add a new 04ca:3015 QCA_ROME device

Kai-Heng Feng (1):
  Revert "Bluetooth: btusb: fix QCA Rome suspend/resume"

Lukas Wunner (15):
  Bluetooth: Avoid WARN splat due to missing GPIOLIB
  Bluetooth: hci_bcm: Streamline runtime PM code
  Bluetooth: Depend on rather than select GPIOLIB
  Bluetooth: hci_bcm: Mandate presence of shutdown and device wake GPIO
  Bluetooth: hci_bcm: Clean up unnecessary #ifdef
  Bluetooth: hci_bcm: Fix race on close
  Bluetooth: hci_bcm: Fix unbalanced pm_runtime_disable()
  Bluetooth: hci_bcm: Invalidate IRQ on request failure
  Bluetooth: hci_bcm: Document struct bcm_device
  Bluetooth: hci_bcm: Add callbacks to toggle GPIOs
  Bluetooth: hci_bcm: Handle errors properly
  Bluetooth: hci_bcm: Support Apple GPIO handling
  Bluetooth: hci_bcm: Silence IRQ printk
  Bluetooth: hci_bcm: Sleep instead of spinning
  Bluetooth: btbcm: Fix sleep mode struct ordering

Ronald Tschalär (1):
  Bluetooth: hci_bcm: Validate IRQ before using it

 drivers/bluetooth/Kconfig   |   4 +
 drivers/bluetooth/bpa10x.c  |   2 +-
 drivers/bluetooth/btbcm.h   |   2 +-
 drivers/bluetooth/btintel.c |   2 +-
 drivers/bluetooth/btusb.c   |  22 ++--
 drivers/bluetooth/hci_bcm.c | 239 +++-
 6 files changed, 207 insertions(+), 64 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2017-12-18

2017-12-18 Thread Johan Hedberg
Hi Dave,

Here's the first bluetooth-next pull request for the 4.16 kernel.

 - hci_ll: multiple cleanups & fixes
 - Remove Gustavo Padovan from the MAINTAINERS file
 - Support BLE Adversing while connected (if the controller can do it)
 - DT updates for TI chips
 - Various other smaller cleanups & fixes

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 48d79b49e16831e613b67dccd4c7886081161656:

  Merge branch 'tcp-better-receiver-autotuning' (2017-12-12 10:53:04 -0500)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 22b371cbb949e1c8ee4accfead5ee9f3e7f0c114:

  Bluetooth: introduce DEFINE_SHOW_ATTRIBUTE() macro (2017-12-13 20:20:34 +0100)


Andy Shevchenko (2):
  Bluetooth: Utilize %*ph specifier
  Bluetooth: introduce DEFINE_SHOW_ATTRIBUTE() macro

David Lechner (9):
  Bluetooth: hci_ll: remove \n from kernel messages
  Bluetooth: serdev: hci_ll: Wait for CTS instead of using msleep
  Bluetooth: hci_ll: add constant for vendor-specific command
  Bluetooth: hci_ll: Add endianness conversion when setting baudrate
  Bluetooth: hci_ll: add support for setting public address
  dt-bindings: Add optional nvmem BD address bindings to ti,wlink-st
  Bluetooth: hci_ll: Add optional nvmem BD address source
  dt-bindings: net: add TI CC2560 Bluetooth chip
  Bluetooth: hci_ll: add "ti,cc2560" compatible string

Gustavo Padovan (1):
  Bluetooth: Remove myself from the MAINTAINERS file

Hans de Goede (4):
  Bluetooth: btusb: Add a Kconfig option to enable USB autosuspend by 
default
  Bluetooth: btusb: Fix BT_HCIBTUSB_AUTOSUSPEND Kconfig option name
  Bluetooth: hci_bcm: Add support for BCM2E72
  Bluetooth: btsdio: Do not bind to non-removable BCM43341

Jaganath Kanakkassery (1):
  Bluetooth: Remove redundant disable_advertising()

Jia-Ju Bai (1):
  Bluetooth: Fix a possible sleep-in-atomic bug in bluecard_write_wakeup

Loic Poulain (2):
  Bluetooth: hci_qca: Avoid setup failure on missing rampatch
  Bluetooth: btqcomsmd: Fix skb double free corruption

Lukas Wunner (1):
  Bluetooth: hci_serdev: Init hci_uart proto_lock to avoid oops

Markus Elfring (1):
  Bluetooth: Use common error handling code in bt_init()

Łukasz Rymanowski (1):
  Bluetooth: Add support to advertise when connected

 .../net/{ti,wilink-st.txt => ti-bluetooth.txt} |  18 +-
 MAINTAINERS|   2 -
 drivers/bluetooth/Kconfig  |  10 +
 drivers/bluetooth/bluecard_cs.c|   8 +-
 drivers/bluetooth/btqcomsmd.c  |   3 +-
 drivers/bluetooth/btsdio.c |   9 +
 drivers/bluetooth/btusb.c  |   7 +
 drivers/bluetooth/hci_bcm.c|   1 +
 drivers/bluetooth/hci_ll.c | 107 ++-
 drivers/bluetooth/hci_qca.c|   3 +
 drivers/bluetooth/hci_serdev.c |   1 +
 net/bluetooth/af_bluetooth.c   |  38 ++--
 net/bluetooth/hci_debugfs.c| 201 +++--
 net/bluetooth/hci_request.c|  64 +--
 14 files changed, 237 insertions(+), 235 deletions(-)
 rename Documentation/devicetree/bindings/net/{ti,wilink-st.txt => 
ti-bluetooth.txt} (64%)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2017-11-01

2017-11-01 Thread Johan Hedberg
Hi Dave,

Here's one more bluetooth-next pull request for the 4.15 kernel.

 - New NFA344A device entry for btusb drvier
 - Fix race conditions in hci_ldisc
 - Fix for isochronous interface assignments in btusb driver
 - A few other smaller fixes & improvements

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit fac72b243cc789bb209e6eca824919b42d98cfe2:

  Bluetooth: mark expected switch fall-throughs (2017-10-14 09:25:51 +0200)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 0338b1b393ec7910898e8f7b25b3bf31a7282e16:

  Bluetooth: hci_ldisc: Fix another race when closing the tty. (2017-10-30 
15:48:32 +0100)


Bartosz Chronowski (1):
  Bluetooth: btusb: Add new NFA344A entry.

Jaganath Kanakkassery (1):
  Bluetooth: Fix potential memory leak

Jaya P G (1):
  Bluetooth: btusb: Update firmware filename for Intel 9x60 and later

Konrad Zapałowicz (1):
  Bluetooth: increase timeout for le auto connections

Loic Poulain (1):
  Bluetooth: hci_ath: Add ath_vendor_cmd helper

Marcel Holtmann (2):
  Bluetooth: Use bt_dev_err and bt_dev_info when possible
  Bluetooth: btusb: Fix isochronous interface assignments

Ronald Tschalär (2):
  Bluetooth: hci_ldisc: Allow sleeping while proto locks are held.
  Bluetooth: hci_ldisc: Fix another race when closing the tty.

Sebastian Andrzej Siewior (1):
  Bluetooth: avoid recursive locking in hci_send_to_channel()

 drivers/bluetooth/bpa10x.c|  15 ++-
 drivers/bluetooth/bt3c_cs.c   |   2 +-
 drivers/bluetooth/btbcm.c | 103 +-
 drivers/bluetooth/btintel.c   |  42 
 drivers/bluetooth/btqca.c |   6 +-
 drivers/bluetooth/btrtl.c |  21 ++--
 drivers/bluetooth/btusb.c | 214 ++
 drivers/bluetooth/hci_ath.c   |  51 +
 drivers/bluetooth/hci_h4.c|   2 +-
 drivers/bluetooth/hci_ldisc.c |  42 
 drivers/bluetooth/hci_qca.c   |  12 +--
 drivers/bluetooth/hci_serdev.c|   9 +-
 drivers/bluetooth/hci_uart.h  |   2 +-
 include/net/bluetooth/bluetooth.h |   3 +
 include/net/bluetooth/hci.h   |   2 +-
 net/bluetooth/a2mp.c  |   2 +-
 net/bluetooth/amp.c   |   4 +-
 net/bluetooth/hci_conn.c  |   6 +-
 net/bluetooth/hci_core.c  |  35 +++
 net/bluetooth/hci_event.c |  46 
 net/bluetooth/hci_request.c   |  21 ++--
 net/bluetooth/hci_request.h   |   1 +
 net/bluetooth/hci_sock.c  |  17 +--
 net/bluetooth/hci_sysfs.c |   2 +-
 net/bluetooth/mgmt.c  |  57 +-
 net/bluetooth/smp.c   |  22 ++--
 26 files changed, 407 insertions(+), 332 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2017-10-19

2017-10-18 Thread Johan Hedberg
Hi Dave,

Here's the first bluetooth-next pull request targeting the 4.15 kernel
release.

 - Multiple fixes & improvements to the hci_bcm driver
 - DT improvements, e.g. new local-bd-address property
 - Fixes & improvements to ECDH usage. Private key is now generated by
   the crypto subsystem.
 - gcc-4.9 warning fixes

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 4bc4e64c2cfdafa6b8ecdcc5edf10cc1a147587f:

  Merge tag 'batadv-next-for-davem-20171006' of 
git://git.open-mesh.org/linux-merge (2017-10-06 10:12:52 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to fac72b243cc789bb209e6eca824919b42d98cfe2:

  Bluetooth: mark expected switch fall-throughs (2017-10-14 09:25:51 +0200)


Arnd Bergmann (3):
  ieee802154: fix gcc-4.9 warnings
  Bluetooth: hci_bcm: fix build error without CONFIG_PM
  Bluetooth: BT_HCIUART now depends on SERIAL_DEV_BUS

Arvind Yadav (1):
  Bluetooth: btmrvl: *_err() and *_info() strings should end with newlines

Gustavo A. R. Silva (1):
  Bluetooth: mark expected switch fall-throughs

Hans de Goede (12):
  Bluetooth: hci_uart_set_flow_control: Fix NULL deref when using serdev
  Bluetooth: hci_bcm: Fix setting of irq trigger type
  Bluetooth: hci_bcm: Move bcm_platform_probe call out of bcm_acpi_probe
  Bluetooth: hci_bcm: Move platform_get_irq call to bcm_probe
  Bluetooth: hci_bcm: Store device pointer instead of platform_device 
pointer
  Bluetooth: hci_bcm: Rename bcm_platform_probe to bcm_get_resources
  Bluetooth: hci_bcm: Make acpi_probe get irq from ACPI resources
  Bluetooth: hci_bcm: Make suspend/resume functions platform_dev independent
  Bluetooth: hci_bcm: Add (runtime)pm support to the serdev driver
  Bluetooth: btbcm: Add entry for BCM4356A2 UART bluetooth
  Bluetooth: hci_bcm: Add support for BCM2E7E
  Revert "Bluetooth: btusb: Add workaround for Broadcom devices without 
product id"

Ian W MORRISON (3):
  Bluetooth: hci_bcm: Correct context of IRQ polarity message
  Bluetooth: hci_bcm: Add support for MINIX Z83-4 based devices
  Bluetooth: btbcm: Add support for MINIX Z83-4 based devices

Johan Hovold (1):
  Bluetooth: avoid silent hci_bcm ACPI PM regression

Kees Cook (1):
  Bluetooth: Convert timers to use timer_setup()

Loic Poulain (4):
  Bluetooth: btqcomsmd: Add support for BD address setup
  dt-bindings: net: document Bluetooth bindings in one place
  dt-bindings: soc: qcom: Add local-bd-address property to WCNSS-BT
  Bluetooth: btqcomsmd: retrieve BD address from DT property

Marcel Holtmann (1):
  Bluetooth: Fix compiler warning with selftest duration calculation

Tudor Ambarus (5):
  Bluetooth: move ecdh allocation outside of ecdh_helper
  Bluetooth: ecdh_helper - reveal error codes
  Bluetooth: selftest - check for errors when computing ZZ
  Bluetooth: ecdh_helper - fix leak of private key
  Bluetooth: let the crypto subsystem generate the ecc privkey

 .../devicetree/bindings/net/bluetooth.txt  |   5 +
 .../devicetree/bindings/soc/qcom/qcom,wcnss.txt|   8 +
 drivers/bluetooth/Kconfig  |   3 +-
 drivers/bluetooth/bcm203x.c|   2 +-
 drivers/bluetooth/bluecard_cs.c|   7 +-
 drivers/bluetooth/btbcm.c  |   3 +
 drivers/bluetooth/btmrvl_sdio.c|   6 +-
 drivers/bluetooth/btqcomsmd.c  |  45 
 drivers/bluetooth/btusb.c  |  18 --
 drivers/bluetooth/hci_bcm.c| 263 -
 drivers/bluetooth/hci_bcsp.c   |  10 +-
 drivers/bluetooth/hci_h5.c |  10 +-
 drivers/bluetooth/hci_ldisc.c  |   7 +
 drivers/bluetooth/hci_ll.c |   2 +-
 drivers/bluetooth/hci_qca.c|  17 +-
 drivers/net/ieee802154/ca8210.c|   2 +-
 net/bluetooth/ecdh_helper.c| 228 +-
 net/bluetooth/ecdh_helper.h|   9 +-
 net/bluetooth/selftest.c   |  48 +++-
 net/bluetooth/smp.c| 127 ++
 20 files changed, 487 insertions(+), 333 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/bluetooth.txt


signature.asc
Description: PGP signature


pull request: bluetooth-next 2017-09-03

2017-09-02 Thread Johan Hedberg
Hi Dave,

Here's one last bluetooth-next pull request for the 4.14 kernel:

 - NULL pointer fix in ca8210 802.15.4 driver
 - A few "const" fixes
 - New Kconfig option for disabling legacy interfaces

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 01d300c577c72229b0a3b09e194cae52b219d5b3:

  Merge branch 'amd-xgbe-next' (2017-08-18 16:30:17 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 65bce46298d064dff9db1282e17bb26602715819:

  Bluetooth: make baswap src const (2017-09-01 22:49:47 +0200)


Bhumika Goyal (2):
  Bluetooth: make device_type const
  ieee802154: 6lowpan: make header_ops const

Christophe JAILLET (1):
  ieee802154: ca8210: Fix a potential NULL pointer dereference

Loic Poulain (1):
  Bluetooth: make baswap src const

Marcel Holtmann (1):
  Bluetooth: Add option for disabling legacy ioctl interfaces

 drivers/net/ieee802154/ca8210.c   |  5 +
 include/net/bluetooth/bluetooth.h |  2 +-
 net/bluetooth/Kconfig | 10 ++
 net/bluetooth/hci_sock.c  |  6 ++
 net/bluetooth/hci_sysfs.c |  4 ++--
 net/bluetooth/lib.c   |  6 +++---
 net/ieee802154/6lowpan/core.c |  2 +-
 7 files changed, 24 insertions(+), 11 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2017-08-18

2017-08-18 Thread Johan Hedberg
Hi Dave,

Here's one more bluetooth-next pull request for the 4.14 kernel:

 - Multiple fixes for Broadcom controllers
 - Fixes to the bluecard HCI driver
 - New USB ID for Realtek RTL8723BE controller
 - Fix static analyzer warning with kfree

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 1afec92be0d7b516a79f4c548a81d17460c8ba73:

  Merge branch 'sctp-remove-typedefs-from-structures-part-5' (2017-08-06 
21:33:43 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 01d5e44ace8a20fc51e0d530f98acb3c365345a5:

  Bluetooth: hci_bcm: Handle empty packet after firmware loading (2017-08-17 
22:51:50 +0300)


Colin Ian King (1):
  Bluetooth: kfree tmp rather than an alias to it

Dmitry Tunin (1):
  Bluetooth: Add support of 13d3:3494 RTL8723BE device

Loic Poulain (2):
  Bluetooth: hci_bcm: Add serdev support
  dt-bindings: net: bluetooth: Add broadcom-bluetooth

Marcel Holtmann (4):
  Bluetooth: btusb: Add workaround for Broadcom devices without product id
  Bluetooth: hci_bcm: Use operation speed of 4Mbps only for ACPI devices
  Bluetooth: btbcm: Consolidate the controller information commands
  Bluetooth: hci_bcm: Handle empty packet after firmware loading

Ondrej Zary (3):
  Bluetooth: bluecard: Always enable LEDs (fix for Anycom CF-300)
  Bluetooth: bluecard: fix LED behavior
  Bluetooth: bluecard: blink LED during continuous activity

Pavel Machek (1):
  Bluetooth: document config options

Sukumar Ghorai (1):
  Bluetooth: btusb: driver to enable the usb-wakeup feature

 .../devicetree/bindings/net/broadcom-bluetooth.txt |  35 +++
 drivers/bluetooth/Kconfig  |   1 +
 drivers/bluetooth/bluecard_cs.c|  58 ++--
 drivers/bluetooth/btbcm.c  |  69 --
 drivers/bluetooth/btusb.c  |  24 +
 drivers/bluetooth/hci_bcm.c| 103 -
 net/bluetooth/Kconfig  |  12 +++
 net/bluetooth/selftest.c   |   2 +-
 8 files changed, 238 insertions(+), 66 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/broadcom-bluetooth.txt


signature.asc
Description: PGP signature


pull request: bluetooth-next 2017-08-01

2017-08-01 Thread Johan Hedberg
Hi Dave,

Here's our first batch of Bluetooth patches for the 4.14 kernel:

 - Several new USB IDs for the btusb driver
 - Memory leak fix in btusb driver
 - Cleanups & fixes to hci_nokia, hci_serdev and hci_bcm drivers
 - Fixed cleanup path in mrf24j40 (802.15.4) driver probe function
 - A few other smaller cleanups & fixes to drivers

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 04d8980b4a9ca178be1c703467f2ed4ac0800e90:

  cxgb4: Update register ranges of T4/T5/T6 adapters (2017-07-19 22:27:03 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to d829b9e230f4138fb6194e854e1bb46f737f1c3d:

  Bluetooth: btusb: add ID for LiteOn 04ca:3016 (2017-08-01 08:28:31 +0300)


Brian Norris (1):
  Bluetooth: btusb: add ID for LiteOn 04ca:3016

Christophe JAILLET (1):
  mrf24j40: Fix en error handling path in 'mrf24j40_probe()'

Dan Carpenter (1):
  Bluetooth: btrtl: Fix a error code in rtl_load_config()

Derek Robson (1):
  Bluetooth: Style fix - align block comments

Dmitry Tunin (1):
  Bluetooth: btusb: Add support of all Foxconn (105b) Broadcom devices

Gustavo A. R. Silva (1):
  Bluetooth: btwilink: remove unnecessary static in bt_ti_probe()

Ian Molton (5):
  Bluetooth: hci_nokia: prevent crash on module removal
  Bluetooth: hci_nokia: remove duplicate call to pm_runtime_disable()
  Bluetooth: hci_serdev: Introduce hci_uart_unregister_device()
  Bluetooth: hci_nokia: Use new hci_uart_unregister_device() function
  Bluetooth: hci_ll: Use new hci_uart_unregister_device() function

Jeffy Chen (1):
  Bluetooth: btusb: Fix memory leak in play_deferred

Joan Jani (1):
  Bluetooth: btqca: Fixed a coding style error

Leif Liddy (1):
  Bluetooth: btusb: fix QCA Rome suspend/resume

Loic Poulain (2):
  Bluetooth: hci_bcm: Make bcm_request_irq fail if no IRQ resource
  Bluetooth: hci_uart: Fix uninitialized alignment value

Marcel Holtmann (1):
  Bluetooth: hci_nokia: select BT_BCM for btbcm_set_bdaddr()

 drivers/bluetooth/Kconfig |  1 +
 drivers/bluetooth/ath3k.c |  3 ++-
 drivers/bluetooth/bt3c_cs.c   |  8 ---
 drivers/bluetooth/btmrvl_sdio.c   |  6 --
 drivers/bluetooth/btqca.c |  2 +-
 drivers/bluetooth/btrtl.c |  2 ++
 drivers/bluetooth/btsdio.c|  3 ++-
 drivers/bluetooth/btuart_cs.c |  8 ---
 drivers/bluetooth/btusb.c | 44 ---
 drivers/bluetooth/btwilink.c  |  8 +++
 drivers/bluetooth/hci_bcm.c   | 30 +-
 drivers/bluetooth/hci_h4.c|  2 +-
 drivers/bluetooth/hci_ldisc.c |  3 ++-
 drivers/bluetooth/hci_ll.c| 11 +++---
 drivers/bluetooth/hci_nokia.c | 10 +
 drivers/bluetooth/hci_serdev.c| 13 
 drivers/bluetooth/hci_uart.h  |  1 +
 drivers/net/ieee802154/mrf24j40.c |  3 ++-
 18 files changed, 101 insertions(+), 57 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2017-07-01

2017-07-01 Thread Johan Hedberg
Hi Dave,

Here are some more Bluetooth patches for the 4.13 kernel:

 - Added support for Broadcom BCM43430 controllers
 - Added sockaddr length checks before accessing sa_family
 - Fixed possible "might sleep" errors in bnep, cmtp and hidp modules
 - A few other minor fixes

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 4b943faedfc29eda882851b772c06cecdf78d8e3:

  udp/v6: prefetch rmem_alloc in udp6_queue_rcv_skb() (2017-06-22 13:44:04 
-0400)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to feb16722b5d5f05b7ae1278a43e717c3d35cd512:

  Bluetooth: btbcm: Add entry for BCM43430 UART bluetooth (2017-06-29 14:39:42 
+0200)


Colin Ian King (1):
  Bluetooth: hci_serdev: make hci_serdev_client_ops static

Hans de Goede (1):
  Bluetooth: hci_bcm: Add active_low irq polarity quirk for Asus T100CHI

Ian Molton (1):
  Bluetooth: btbcm: Add entry for BCM43430 UART bluetooth

Jeffy Chen (3):
  Bluetooth: bnep: fix possible might sleep error in bnep_session
  Bluetooth: cmtp: fix possible might sleep error in cmtp_session
  Bluetooth: hidp: fix possible might sleep error in hidp_session_thread

Loic Poulain (1):
  Bluetooth: hci_bcm: Fix unwanted error reporting if no bcm dev

Mateusz Jurczyk (1):
  Bluetooth: Add sockaddr length checks before accessing sa_family in bind 
and connect handlers

Tejun Heo (1):
  bluetooth: remove WQ_MEM_RECLAIM from hci workqueues

 drivers/bluetooth/btbcm.c  |  1 +
 drivers/bluetooth/hci_bcm.c| 12 ++--
 drivers/bluetooth/hci_serdev.c |  4 ++--
 net/bluetooth/bnep/core.c  | 11 +--
 net/bluetooth/cmtp/core.c  | 17 ++---
 net/bluetooth/hci_core.c   |  7 +++
 net/bluetooth/hidp/core.c  | 33 ++---
 net/bluetooth/l2cap_sock.c |  5 +++--
 net/bluetooth/rfcomm/sock.c|  3 ++-
 net/bluetooth/sco.c|  6 ++
 10 files changed, 60 insertions(+), 39 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2017-06-14

2017-06-14 Thread Johan Hedberg
Hi Dave,

Here's another batch of Bluetooth patches for the 4.13 kernel:

 - Fix for Broadcom controllers not supporting Event Mask Page 2
 - New QCA ROME USB ID for btusb
 - Fix for Security Manager Protocol to use constant-time memcmp
 - Improved support for TI WiLink chips

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit fff88030b3ff930ca7a3d74acfee0472f33887ea:

  skbuff: only inherit relevant tx_flags (2017-06-08 16:12:08 -0400)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 06e41d8a36689f465006f017bbcd8a73edb98109:

  Bluetooth: btusb: Add support for 0489:e0a2 QCA_ROME device (2017-06-14 
11:14:30 +0300)


Andy Shevchenko (2):
  Bluetooth: hci_bcm: Switch to devm_acpi_dev_add_driver_gpios()
  Bluetooth: hci_intel: Add GPIO ACPI mapping table

Jason A. Donenfeld (1):
  Bluetooth: use constant time memory comparison for secret values

Marcel Holtmann (2):
  Bluetooth: Send HCI Set Event Mask Page 2 command only when needed
  Bluetooth: btbcm: Read controller features during configuration

Sebastian Reichel (1):
  Bluetooth: hci_ll: Add compatible values for more WL chips

Shih-Yuan Lee (FourDollars) (1):
  Bluetooth: btusb: Add support for 0489:e0a2 QCA_ROME device

Ulf Hansson (3):
  dt-bindings: net: Add binding for the external clock for TI WiLink
  Bluetooth: hci_ll: Add support for the external clock
  arm64: dts: hikey: Add external clock to the Bluetooth node

 .../devicetree/bindings/net/ti,wilink-st.txt   | 12 +++
 arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts |  2 ++
 drivers/bluetooth/btbcm.c  | 36 
 drivers/bluetooth/btusb.c  |  1 +
 drivers/bluetooth/hci_bcm.c|  5 +--
 drivers/bluetooth/hci_intel.c  | 14 
 drivers/bluetooth/hci_ll.c | 22 +++-
 net/bluetooth/hci_core.c   | 17 --
 net/bluetooth/smp.c| 39 +++---
 9 files changed, 122 insertions(+), 26 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2017-05-23

2017-05-23 Thread Johan Hedberg
Hi Dave,

Here's the first Bluetooth & 802.15.4 pull request targeting the 4.13
kernel release.

 - Bluetooth 5.0 improvements (Data Length Extensions and alternate PHY)
 - Support for new Intel Bluetooth adapter [[8087:0aaa]
 - Various fixes to ieee802154 code
 - Various fixes to HCI UART code

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 1fc4d180b3c6bed0e7f5160bcd553aec89594962:

  Merge branch 'phy-marvell-cleanups' (2017-05-17 16:27:52 -0400)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 7dab5467647be42736dcabcd5d035c7b571f4653:

  net: ieee802154: fix potential null pointer dereference (2017-05-23 20:12:53 
+0200)


Alexander Aring (1):
  MAINTAINERS: update my mail address

Dean Jenkins (1):
  Bluetooth: hci_ldisc: Use rwlocking to avoid closing proto races

Guodong Xu (1):
  Bluetooth: hci_ll: Fix download_firmware() return when __hci_cmd_sync 
fails

Gustavo A. R. Silva (1):
  net: ieee802154: fix potential null pointer dereference

Jürg Billeter (1):
  Bluetooth: btintel: Add MODULE_FIRMWARE entries for iBT 3.5 controllers

Lin Zhang (2):
  net: ieee802154: remove explicit set skb->sk
  net: ieee802154: fix net_device reference release too early

Loic Poulain (1):
  Bluetooth: btwilink: Fix unexpected skb free

Marcel Holtmann (5):
  Bluetooth: Set LE Suggested Default Data Length to maximum
  Bluetooth: Enable LE Channel Selection Algorithm event
  Bluetooth: Enable LE PHY Update Complete event
  Bluetooth: Set LE Default PHY preferences
  Bluetooth: Skip vendor diagnostic configuration for HCI User Channel

Markus Elfring (3):
  Bluetooth: Delete error messages for failed memory allocations in two 
functions
  ieee802154: ca8210: Delete an error message for a failed memory 
allocation in ca8210_probe()
  ieee802154: ca8210: Delete an error message for a failed memory 
allocation in ca8210_skb_rx()

Tedd Ho-Jeong An (1):
  Bluetooth: Add support for Intel Bluetooth device 9460/9560 [8087:0aaa]

Tobias Regnery (2):
  Bluetooth: hci_uart: fix kconfig dependency
  Bluetooth: hci_nokia: select BT_HCIUART_H4

 MAINTAINERS |  4 ++--
 drivers/bluetooth/Kconfig   |  3 ++-
 drivers/bluetooth/btintel.c |  2 ++
 drivers/bluetooth/btusb.c   |  4 
 drivers/bluetooth/btwilink.c|  1 -
 drivers/bluetooth/hci_ldisc.c   | 40 ++-
 drivers/bluetooth/hci_ll.c  |  1 +
 drivers/bluetooth/hci_uart.h|  1 +
 drivers/net/ieee802154/ca8210.c | 12 ---
 include/net/bluetooth/hci.h |  8 +++
 net/bluetooth/ecdh_helper.c | 11 +++---
 net/bluetooth/hci_core.c| 46 -
 net/ieee802154/socket.c | 10 -
 13 files changed, 107 insertions(+), 36 deletions(-)


signature.asc
Description: PGP signature


Re: pull request: bluetooth-next 2017-04-30

2017-05-01 Thread Johan Hedberg
On Mon, May 01, 2017, David Miller wrote:
> From: Johan Hedberg 
> Date: Mon, 1 May 2017 21:42:21 +0300
> 
> > Hi Dave,
> > 
> > On Sun, Apr 30, 2017, David Miller wrote:
> >> From: Johan Hedberg 
> >> Date: Sun, 30 Apr 2017 17:09:28 +0300
> >> 
> >> > Here's one last batch of Bluetooth patches in the bluetooth-next tree
> >> > targeting the 4.12 kernel.
> >> > 
> >> >  - Remove custom ECDH implementation and use new KPP API instead
> >> >  - Add protocol checks to hci_ldisc
> >> >  - Add module license to HCI UART Nokia H4+ driver
> >> >  - Minor fix for 32bit user space - 64 bit kernel combination
> >> > 
> >> > Please let me know if there are any issues pulling. Thanks.
> >> 
> >> Pulled, thanks Johan.
> > 
> > Thanks, however I don't see the patches in net-next yet. I have seen
> > other patches go in there since your response though. Cause for concern?
> 
> Shuld be there now.

Looks good now. Thanks.

Johan


Re: pull request: bluetooth-next 2017-04-30

2017-05-01 Thread Johan Hedberg
Hi Dave,

On Sun, Apr 30, 2017, David Miller wrote:
> From: Johan Hedberg 
> Date: Sun, 30 Apr 2017 17:09:28 +0300
> 
> > Here's one last batch of Bluetooth patches in the bluetooth-next tree
> > targeting the 4.12 kernel.
> > 
> >  - Remove custom ECDH implementation and use new KPP API instead
> >  - Add protocol checks to hci_ldisc
> >  - Add module license to HCI UART Nokia H4+ driver
> >  - Minor fix for 32bit user space - 64 bit kernel combination
> > 
> > Please let me know if there are any issues pulling. Thanks.
> 
> Pulled, thanks Johan.

Thanks, however I don't see the patches in net-next yet. I have seen
other patches go in there since your response though. Cause for concern?

Johan


pull request: bluetooth-next 2017-04-30

2017-04-30 Thread Johan Hedberg
Hi Dave,

Here's one last batch of Bluetooth patches in the bluetooth-next tree
targeting the 4.12 kernel.

 - Remove custom ECDH implementation and use new KPP API instead
 - Add protocol checks to hci_ldisc
 - Add module license to HCI UART Nokia H4+ driver
 - Minor fix for 32bit user space - 64 bit kernel combination

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit e3a724edeec3836ed44675a6587a6db7b6b68dbe:

  sparc64: Support cbcond instructions in eBPF JIT. (2017-04-24 15:56:21 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 71653eb64bcca6110c42aadfd50b8d54d3a88079:

  Bluetooth: Add selftest for ECDH key generation (2017-04-30 16:52:43 +0300)


Dean Jenkins (3):
  Bluetooth: hci_ldisc: Add protocol check to hci_uart_send_frame()
  Bluetooth: hci_ldisc: Add protocol check to hci_uart_dequeue()
  Bluetooth: hci_ldisc: Add protocol check to hci_uart_tx_wakeup()

Frédéric Danis (1):
  Bluetooth: Add module license for HCI UART Nokia H4+

Marcel Holtmann (2):
  Bluetooth: zero kpp input for key generation
  Bluetooth: Add selftest for ECDH key generation

Salvatore Benedetto (2):
  Bluetooth: convert smp and selftest to crypto kpp API
  Bluetooth: allocate data for kpp on heap

Szymon Janc (1):
  Bluetooth: Fix user channel for 32bit userspace on 64bit kernel

 drivers/bluetooth/hci_ldisc.c |  14 +-
 drivers/bluetooth/hci_nokia.c |   7 +
 net/bluetooth/Kconfig |   1 +
 net/bluetooth/Makefile|   2 +-
 net/bluetooth/ecc.c   | 816 --
 net/bluetooth/ecc.h   |  54 ---
 net/bluetooth/ecdh_helper.c   | 231 
 net/bluetooth/ecdh_helper.h   |  27 ++
 net/bluetooth/hci_sock.c  |   3 +-
 net/bluetooth/selftest.c  |  28 +-
 net/bluetooth/smp.c   |  46 ++-
 11 files changed, 342 insertions(+), 887 deletions(-)
 delete mode 100644 net/bluetooth/ecc.c
 delete mode 100644 net/bluetooth/ecc.h
 create mode 100644 net/bluetooth/ecdh_helper.c
 create mode 100644 net/bluetooth/ecdh_helper.h


signature.asc
Description: PGP signature


pull request: bluetooth-next 2017-04-22

2017-04-22 Thread Johan Hedberg
Hi Dave,

Here are some more Bluetooth patches (and one 802.15.4 patch) in the
bluetooth-next tree targeting the 4.12 kernel. Most of them are pure
fixes.

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit fb796707d7a6c9b24fdf80b9b4f24fa5ffcf0ec5:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2017-04-21 
20:23:53 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to d160b74da85a4ec072b076db056e27ba7246eba0:

  Bluetooth: hci_ldisc: Add missing clear HCI_UART_PROTO_READY (2017-04-22 
10:28:40 +0200)


Arnd Bergmann (2):
  Bluetooth: try to improve CONFIG_SERIAL_DEV_BUS dependency
  ieee802154: don't select COMMON_CLK

Dean Jenkins (3):
  Bluetooth: hci_ldisc: Add missing return in hci_uart_init_work()
  Bluetooth: hci_ldisc: Ensure hu->hdev set to NULL before freeing hdev
  Bluetooth: hci_ldisc: Add missing clear HCI_UART_PROTO_READY

Sebastian Reichel (1):
  Bluetooth: hci_ll: Fix NULL pointer deref on FW upload failure

 drivers/bluetooth/Kconfig  | 8 +++-
 drivers/bluetooth/Makefile | 2 +-
 drivers/bluetooth/hci_ldisc.c  | 7 ++-
 drivers/bluetooth/hci_ll.c | 3 +--
 drivers/net/ieee802154/Kconfig | 2 +-
 5 files changed, 16 insertions(+), 6 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2017-04-14

2017-04-14 Thread Johan Hedberg
Hi Dave,

Here's the main batch of Bluetooth & 802.15.4 patches for the 4.12
kernel.

 - Many fixes to 6LoWPAN, in particular for BLE
 - New CA8210 IEEE 802.15.4 device driver (accounting for most of the
   lines of code added in this pull request)
 - Added Nokia Bluetooth (UART) HCI driver
 - Some serdev & TTY changes that are dependencies for the Nokia
   driver (with acks from relevant maintainers and an agreement that
   these come through the bluetooth tree)
 - Support for new Intel Bluetooth device
 - Various other minor cleanups/fixes here and there

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit d92be7a41ef15463eb816a4a2d42bf094b56dfce:

  net: make struct net_device::min_header_len 8-bit (2017-04-12 13:59:21 -0400)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 019aa56b7df8a796b2c01a56269a370ad3442ec7:

  arm64: dts: hikey: add WL1835 Bluetooth device node (2017-04-13 19:22:53 
+0200)


Alexander Aring (2):
  6lowpan: iphc: override l2 packet information
  ipv6: addrconf: fix 48 bit 6lowpan autoconfiguration

Andy Shevchenko (1):
  Bluetooth: hci_bcm: Support platform enumeration

Colin Ian King (4):
  Bluetooth: btmrvl: fix spelling mistake: "unregester" -> "unregister"
  Bluetooth: fix assignments on error variable err
  6lowpan: fix assignment of peer_addr
  ieee802154: ca8210: Add checks for kmalloc allocation failures

Dean Jenkins (2):
  Bluetooth: Handle bt_accept_enqueue() socket atomically
  Bluetooth: Avoid bt_accept_unlink() double unlinking

Elena Reshetova (1):
  Bluetooth: convert rfcomm_dlc.refcnt from atomic_t to refcount_t

Gabriel (1):
  Bluetooth: Added support for Rivet Networks Killer 1535

Geliang Tang (1):
  Bluetooth: bluecard: use setup_timer

Harry Morris (3):
  ieee802154: Add CA8210 IEEE 802.15.4 device driver
  ieee802154: Add device tree documentation for CA8210
  ieee802154: Add entry in MAINTAINTERS for CA8210 driver

Jeffy Chen (2):
  Bluetooth: btusb: wake system up when receives a wake irq
  Bluetooth: btmrvl: wake system up when receives a wake irq

Johan Hovold (2):
  Bluetooth: hci_bcm: add missing tty-device sanity check
  Bluetooth: hci_intel: add missing tty-device sanity check

John Keeping (1):
  Bluetooth: hci_bcm: Fix clock (un)prepare

Jonas Holmberg (1):
  Bluetooth: Change initial min and max interval

Larry Finger (1):
  Bluetooth: btrtl: Change message for missing config file

Luiz Augusto von Dentz (10):
  6lowpan: Use netdev addr_len to determine lladdr len
  6lowpan: Fix IID format for Bluetooth
  Bluetooth: 6lowpan: Remove unnecessary peer lookup
  Bluetooth: 6lowpan: Print errors during recv_pkt
  Bluetooth: L2CAP: Don't return -EAGAIN if out of credits
  6lowpan: Don't set IFF_NO_QUEUE
  Bluetooth: 6lowpan: Don't drop packets when run out of credits
  Bluetooth: 6lowpan: Use netif APIs to flow control
  Bluetooth: L2CAP: Add l2cap_le_flowctl_send
  Bluetooth: 6lowpan: Set tx_queue_len to DEFAULT_TX_QUEUE_LEN

Marcel Holtmann (1):
  Bluetooth: btusb: Add support for Intel Bluetooth devices 9160/9260 
[8087:0025]

Marcin Kraglak (1):
  Bluetooth: L2CAP: Fix L2CAP_CR_SCID_IN_USE value

Michael Scott (2):
  Bluetooth: 6lowpan: fix delay work init in add_peer_chan()
  Bluetooth: 6lowpan: fix use after free in chan_suspend/resume

Patrik Flykt (3):
  bluetooth: Set 6 byte device addresses
  6lowpan: Set MAC address length according to LOWPAN_LLTYPE
  bluetooth: Do not set IFF_POINTOPOINT

Rob Herring (5):
  Bluetooth: hci_uart: add serdev driver support library
  dt-bindings: net: Add TI WiLink shared transport binding
  bluetooth: hci_uart: remove unused hci_uart_init_tty
  bluetooth: hci_uart: add LL protocol serdev driver support
  arm64: dts: hikey: add WL1835 Bluetooth device node

Sebastian Reichel (9):
  tty: serial: omap: add UPF_BOOT_AUTOCONF flag for DT init
  serdev: add serdev_device_wait_until_sent
  serdev: implement get/set tiocm
  serdev: add helpers for cts and rts handling
  Bluetooth: hci_uart: add support for word alignment
  Bluetooth: hci_serdev: do not open device in hci open
  Bluetooth: hci_serdev: allow modular drivers
  dt-bindings: net: bluetooth: Add nokia-bluetooth
  Bluetooth: add nokia driver

Tedd Ho-Jeong An (3):
  Bluetooth: Use switch statement for Intel hardware variants
  Bluetooth: hci_intel: Fix firmware file name to use hw_variant
  Bluetooth: hci_intel: Add support Intel Bluetooth device 9160/9260 for 
UART

Xinming Hu (2):
  Bluetooth: btmrvl: disable platform wakeup interrupt in suspend failure 
path
  Bluetooth: btmrvl: remove unnecessary 

pull request: bluetooth-next 2017-02-19

2017-02-19 Thread Johan Hedberg
Hi Dave,

Here's a set of Bluetooth patches for the 4.11 kernel:

 - New USB IDs to the btusb driver
 - Race fix in btmrvl driver
 - Added out-of-band wakeup support to the btusb driver
 - NULL dereference fix to bt_sock_recvmsg

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit b973154a2278c6af0b0efefafb222e0189959659:

  atm: idt77252, use setup_timer and mod_timer (2017-02-15 13:24:53 -0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 8f91566f99fab8f7a0d2728a1e3defb13675837a:

  btmrvl: fix spelling mistake: "actived" -> "activated" (2017-02-19 00:26:37 
+0100)


Christoph Haag (1):
  Bluetooth: btusb: add support for 0bb4:0306

Colin Ian King (4):
  Bluetooth: btmrvl: fix spelling mistake: "caibration" -> "calibration"
  Bluetooth: fix spelling mistake: "advetising" -> "advertising"
  Bluetooth: hci_qca: fix spelling mistake: "Spurrious" -> "Spurious"
  btmrvl: fix spelling mistake: "actived" -> "activated"

Daniel Drake (1):
  Bluetooth: hci_bcm: Add support for BCM2E95 and BCM2E96

Dmitry Tunin (1):
  Bluetooth: Add another AR3012 04ca:3018 device

Ezequiel Garcia (1):
  Bluetooth: Fix NULL pointer dereference in bt_sock_recvmsg

Javier Martinez Canillas (2):
  Bluetooth: btqcomsmd: Fix module autoload
  Bluetooth: btqcomsmd: Allow driver to build if COMPILE_TEST is enabled

Jeffy Chen (3):
  btmrvl: avoid double-disable_irq() race
  btmrvl: set irq_bt to -1 when failed to parse it
  btmrvl: use dt's irqflags for wakeup pin

Rajat Jain (3):
  Bluetooth: btusb: Use an error label for error paths
  Bluetooth: btusb: Add out-of-band wakeup support
  Bluetooth: btusb: Configure Marvell to use one of the pins for oob wakeup

Wen-chien Jesse Sung (2):
  Bluetooth: btusb: Add support for 413c:8143
  Bluetooth: btbcm: Add a delay for module reset

 Documentation/devicetree/bindings/net/btusb.txt|  43 ++
 .../{marvell-bt-sd8xxx.txt => marvell-bt-8xxx.txt} |  46 +-
 drivers/bluetooth/Kconfig  |   2 +-
 drivers/bluetooth/ath3k.c  |   2 +
 drivers/bluetooth/btbcm.c  |   3 +
 drivers/bluetooth/btmrvl_main.c|   2 +-
 drivers/bluetooth/btmrvl_sdio.c|  14 +-
 drivers/bluetooth/btqcomsmd.c  |   1 +
 drivers/bluetooth/btusb.c  | 164 +++--
 drivers/bluetooth/hci_bcm.c|  68 ++---
 drivers/bluetooth/hci_qca.c|   4 +-
 net/bluetooth/af_bluetooth.c   |   2 +-
 net/bluetooth/hci_event.c  |   2 +-
 13 files changed, 300 insertions(+), 53 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/btusb.txt
 rename Documentation/devicetree/bindings/net/{marvell-bt-sd8xxx.txt => 
marvell-bt-8xxx.txt} (50%)


signature.asc
Description: PGP signature


pull request: bluetooth 2017-01-16

2017-01-15 Thread Johan Hedberg
Hi Dave,

Here are a couple of important 802.15.4 driver fixes for the 4.10
kernel.

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 8a430ed50bb1b19ca14a46661f3b1b35f2fb5c39:

  net: ipv4: fix table id in getroute response (2017-01-12 15:18:20 -0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to 8e38b7d4d71479b23b77f01cf0e5071610b8f357:

  ieee802154: atusb: fix driver to work with older firmware versions 
(2017-01-12 22:12:43 +0100)


Andrey Smirnov (1):
  at86rf230: Allow slow GPIO pins for "rstn"

Stefan Schmidt (4):
  ieee802154: atusb: do not use the stack for buffers to make them DMA able
  ieee802154: atusb: make sure we set a randaom extended address if 
fetching fails
  ieee802154: atusb: do not use the stack for address fetching to make it 
DMA able
  ieee802154: atusb: fix driver to work with older firmware versions

 drivers/net/ieee802154/at86rf230.c |  4 +--
 drivers/net/ieee802154/atusb.c | 59 +++-
 2 files changed, 45 insertions(+), 18 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2016-12-08

2016-12-07 Thread Johan Hedberg
(resending since I forgot to sign the first one)

Hi Dave,

I didn't miss your "net-next is closed" email, but it did come as a bit
of a surprise, and due to time-zone differences I didn't have a chance
to react to it until now. We would have had a couple of patches in
bluetooth-next that we'd still have wanted to get to 4.10.

Out of these the most critical one is the H7/CT2 patch for Bluetooth
Security Manager Protocol, something that couldn't be published before
the Bluetooth 5.0 specification went public (yesterday). If these really
can't go to net-next we'll likely be sending at least this patch through
bluetooth.git to net.git for rc1 inclusion.

Johan

---
The following changes since commit 5fccd64aa44829f87997e3342698ef98862adffd:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next (2016-12-07 
19:16:46 -0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to a62da6f14db79bd7ea435ab095e998b31b3dbb22:

  Bluetooth: SMP: Add support for H7 crypto function and CT2 auth flag 
(2016-12-08 07:50:24 +0100)


Geliang Tang (1):
  Bluetooth: btmrvl: drop duplicate header slab.h

Johan Hedberg (1):
  Bluetooth: SMP: Add support for H7 crypto function and CT2 auth flag

Stefan Schmidt (4):
  ieee802154: atusb: sync header file from firmware for new features
  ieee802154: atusb: store firmware version after retrieval for later use
  ieee802154: atusb: try to read permanent extended address from device
  ieee802154: atusb: implement .set_frame_retries ops callback

 drivers/bluetooth/btmrvl_drv.h |  1 -
 drivers/net/ieee802154/atusb.c | 79 +
 drivers/net/ieee802154/atusb.h | 11 --
 net/bluetooth/smp.c| 85 
 net/bluetooth/smp.h|  1 +
 5 files changed, 149 insertions(+), 28 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2016-12-08

2016-12-07 Thread Johan Hedberg
Hi Dave,

I didn't miss your "net-next is closed" email, but it did come as a bit
of a surprise, and due to time-zone differences I didn't have a chance
to react to it until now. We would have had a couple of patches in
bluetooth-next that we'd still have wanted to get to 4.10.

Out of these the most critical one is the H7/CT2 patch for Bluetooth
Security Manager Protocol, something that couldn't be published before
the Bluetooth 5.0 specification went public (yesterday). If these really
can't go to net-next we'll likely be sending at least this patch through
bluetooth.git to net.git for rc1 inclusion.

Johan

---
The following changes since commit 5fccd64aa44829f87997e3342698ef98862adffd:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next (2016-12-07 
19:16:46 -0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to a62da6f14db79bd7ea435ab095e998b31b3dbb22:

  Bluetooth: SMP: Add support for H7 crypto function and CT2 auth flag 
(2016-12-08 07:50:24 +0100)


Geliang Tang (1):
  Bluetooth: btmrvl: drop duplicate header slab.h

Johan Hedberg (1):
  Bluetooth: SMP: Add support for H7 crypto function and CT2 auth flag

Stefan Schmidt (4):
  ieee802154: atusb: sync header file from firmware for new features
  ieee802154: atusb: store firmware version after retrieval for later use
  ieee802154: atusb: try to read permanent extended address from device
  ieee802154: atusb: implement .set_frame_retries ops callback

 drivers/bluetooth/btmrvl_drv.h |  1 -
 drivers/net/ieee802154/atusb.c | 79 +
 drivers/net/ieee802154/atusb.h | 11 --
 net/bluetooth/smp.c| 85 
 net/bluetooth/smp.h|  1 +
 5 files changed, 149 insertions(+), 28 deletions(-)


pull request: bluetooth-next 2016-12-03

2016-12-03 Thread Johan Hedberg
Hi Dave,

Here's a set of Bluetooth & 802.15.4 patches for net-next (i.e. 4.10
kernel):

 - Fix for a potential NULL deref in the ieee802154 netlink code
 - Fix for the ED values of the at86rf2xx driver
 - Documentation updates to ieee802154
 - Cleanups to u8 vs __u8 usage
 - Timer API usage cleanups in HCI drivers

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 0b42f25d2f123bb7fbd3565d003a8ea9e1e810fe:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2016-11-26 
23:42:21 -0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 6bf0d84d13e968b4f8bf0710e0cae785e228dbba:

  docs: ieee802154: update main documentation file (2016-11-30 12:33:07 +0100)


Alexander Aring (1):
  at86rf230: fix cca ed values for rf233

Pavel Machek (1):
  Bluetooth: __ variants of u8 and friends are not neccessary inside kernel

Prasanna Karthik (3):
  Bluetooth: hci_bcsp: Use setup_timer Kernel API instead of init_timer
  Bluetooth: hci_h5: Use setup_timer Kernel API instead of init_timer
  Bluetooth: hci_qca: Use setup_timer Kernel API instead of init_timer

Stefan Schmidt (3):
  ieee802154: add myself as co-maintainer to MAINTAINERS file
  ieee802154: fakelb: print number of created fake devices during probe
  docs: ieee802154: update main documentation file

vegard.nos...@oracle.com (1):
  ieee802154: check device type

 Documentation/networking/ieee802154.txt | 26 +++---
 MAINTAINERS |  1 +
 drivers/bluetooth/hci_bcsp.c|  4 +---
 drivers/bluetooth/hci_h5.c  |  4 +---
 drivers/bluetooth/hci_qca.c |  9 +++--
 drivers/net/ieee802154/at86rf230.c  | 16 +++-
 drivers/net/ieee802154/fakelb.c |  2 +-
 include/net/bluetooth/bluetooth.h   | 25 +
 net/ieee802154/nl-phy.c |  6 +-
 9 files changed, 47 insertions(+), 46 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth 2016-11-23

2016-11-22 Thread Johan Hedberg
Hi Dave,

Sorry about the late pull request for 4.9, but we have one more
important Bluetooth patch that should make it to the release. It fixes
connection creation for Bluetooth LE controllers that do not have a
public address (only a random one).

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit c9b8af1330198ae241cd545e1f040019010d44d9:

  flow_dissect: call init_default_flow_dissectors() earlier (2016-11-22 
14:44:01 -0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to 39385cb5f3274735b03ed1f8e7ff517b02a0beed:

  Bluetooth: Fix using the correct source address type (2016-11-22 22:50:46 
+0100)


Johan Hedberg (1):
  Bluetooth: Fix using the correct source address type

 include/net/bluetooth/hci_core.h |  2 +-
 net/bluetooth/6lowpan.c  |  4 ++--
 net/bluetooth/hci_conn.c | 26 --
 net/bluetooth/l2cap_core.c   |  2 +-
 net/bluetooth/rfcomm/tty.c   |  2 +-
 net/bluetooth/sco.c  |  2 +-
 6 files changed, 30 insertions(+), 8 deletions(-)



signature.asc
Description: PGP signature


pull request: bluetooth 2016-10-21

2016-10-21 Thread Johan Hedberg
Hi Dave,

Here are some more Bluetooth fixes for the 4.9 kernel:

 - Fix to btwilink driver probe function return value
 - Power management fix to hci_bcm
 - Fix to encoding name in scan response data

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 6d3a4c404648e415e7d96e285d723936d4df7ed0:

  strparser: Propagate correct error code in strp_recv() (2016-10-12 01:51:49 
-0400)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to 6add49fff9233a5c43011eb42b521257cbaa9bda:

  Bluetooth: btwilink: Fix probe return value (2016-10-20 10:14:49 +0200)


Jacob Siverskog (1):
  Bluetooth: btwilink: Fix probe return value

Jérôme de Bretagne (1):
  Bluetooth: hci_bcm: Fix autosuspend PM for Lenovo ThinkPad 8

Michał Narajowski (1):
  Bluetooth: Fix append max 11 bytes of name to scan rsp data

 drivers/bluetooth/btwilink.c |  2 +-
 drivers/bluetooth/hci_bcm.c  |  8 +
 net/bluetooth/hci_request.c  | 49 +--
 net/bluetooth/hci_request.h  |  2 ++
 net/bluetooth/mgmt.c | 26 +-
 5 files changed, 51 insertions(+), 36 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth 2016-10-08

2016-10-08 Thread Johan Hedberg
Hi Dave,

Here are a couple of Bluetooth fixes for the 4.9 kernel:

 - Firmware download fix for Atheros controllers
 - Fixes to the content of LE scan response
 - New USB ID for a Marvell chipset

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit af70c1f92d3567035d2f73f39079459d58c706dc:

  phy: micrel.c: Enable ksz9031 energy-detect power-down mode (2016-10-05 
21:19:06 -0400)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to c7e163fe282f34efdf77fb09b333529de97a6a10:

  Bluetooth: btusb: Fix atheros firmware download error (2016-10-07 09:46:56 
+0200)


Amitkumar Karwar (1):
  Bluetooth: btusb: add entry for Marvell 8997 chipset

Ethan Hsieh (1):
  Bluetooth: btusb: Fix atheros firmware download error

Michał Narajowski (3):
  Bluetooth: Fix local name in scan rsp
  Bluetooth: Add appearance to default scan rsp data
  Bluetooth: Refactor append name and appearance

 drivers/bluetooth/btusb.c   |  9 ++--
 net/bluetooth/hci_request.c | 66 +++-
 net/bluetooth/hci_request.h | 23 +
 net/bluetooth/mgmt.c| 21 
 4 files changed, 70 insertions(+), 49 deletions(-)


signature.asc
Description: PGP signature


Re: [PATCH] bluetooth.h: __ variants of u8 and friends are not neccessary inside kernel

2016-10-06 Thread Johan Hedberg
Hi,

On Thu, Oct 06, 2016, Joe Perches wrote:
> On Thu, 2016-10-06 at 09:02 +0200, Pavel Machek wrote:
> > I believe you are wrong. bit addressability does not matter, cpu can
> > definitely get the bit values.
> > 
> > u8 foo:1;
> > u8 bar:1;
> > u8 baz:1;
> > 
> > should take 1 byte, where
> > 
> > bool foo, bar, baz;
> > 
> > will take more like 3.
> 
> Definitely true.
> 
> There is only one single bitfield foo here though
> so what you wrote doesn't apply.

What's in the tree is a left-over from times when there were multiple
bit fields in this struct. By the time others were removed and there was
only one left no-one has apparently bothered to update it to a bool or
single u8.

Johan


pull request: bluetooth-next 2016-09-25

2016-09-25 Thread Johan Hedberg
Hi Dave,

Here are a few more Bluetooth & 802.15.4 patches for the 4.9 kernel that
have popped up during the past week:

 - New USB ID for QCA_ROME Bluetooth device
 - NULL pointer dereference fix for Bluetooth mgmt sockets
 - Fixes for BCSP driver
 - Fix for updating LE scan response

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit cdd0766d7da19085e88df86d1e5e21d9fe3d374f:

  Merge branch 'ftgmac100-ast2500-support' (2016-09-22 03:31:22 -0400)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 056506944a58814e5767d55ef6389aa2ab06908c:

  Bluetooth: Use single return in hci_uart_tty_ioctl() call (2016-09-24 
06:40:24 +0200)


Arek Lichwa (1):
  Bluetooth: Fix NULL pointer dereference in mgmt context

Dean Jenkins (2):
  Bluetooth: Tidy-up coding style in hci_bcsp.c
  Bluetooth: BCSP fails to ACK re-transmitted frames from the peer

Dmitry Tunin (1):
  Bluetooth: Add a new 04ca:3011 QCA_ROME device

Laura Abbott (1):
  Bluetooth: btwilink: Save the packet type before sending

Michał Narajowski (1):
  Bluetooth: Fix not updating scan rsp when adv off

Vignesh Raman (1):
  Bluetooth: Use single return in hci_uart_tty_ioctl() call

 drivers/bluetooth/btusb.c |   1 +
 drivers/bluetooth/btwilink.c  |   4 +-
 drivers/bluetooth/hci_bcsp.c  | 128 ---
 drivers/bluetooth/hci_ldisc.c |  28 
 net/bluetooth/mgmt.c  |   4 +-
 5 files changed, 96 insertions(+), 69 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2016-09-19

2016-09-19 Thread Johan Hedberg
Hi Dave,

Here's the main bluetooth-next pull request for the 4.9 kernel.

 - Added new messages for monitor sockets for better mgmt tracing
 - Added local name and appearance support in scan response
 - Added new Qualcomm WCNSS SMD based HCI driver
 - Minor fixes & cleanup to 802.15.4 code
 - New USB ID to btusb driver
 - Added Marvell support to HCI UART driver
 - Add combined LED trigger for controller power
 - Other minor fixes here and there

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit e867e87ae88c54f741d1cabd1de536b4497a0504:

  Merge tag 'rxrpc-rewrite-20160917-2' of 
git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs (2016-09-19 
01:52:21 -0400)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to af4168c5a925dc3b11b0246c2b91124327919f47:

  Bluetooth: Set appearance only for LE capable controllers (2016-09-19 
21:48:22 +0300)


Alexander Aring (3):
  mac802154: set phy net namespace for new ifaces
  6lowpan: ndisc: no overreact if no short address is available
  fakelb: fix schedule while atomic

Aristeu Rozanski (2):
  mac802154: don't warn on unsupported frames
  mac802154: use rate limited warnings for malformed frames

Arnd Bergmann (1):
  Bluetooth: add WCNSS dependency for HCI driver

Bart Van Assche (1):
  Bluetooth: btusb, hci_intel: Fix wait_on_bit_timeout() return value checks

Bhaktipriya Shridhar (1):
  Bluetooth: Remove deprecated create_singlethread_workqueue

Bjorn Andersson (2):
  Bluetooth: Add HCI device identifier for Qualcomm SMD
  Bluetooth: Introduce Qualcomm WCNSS SMD based HCI driver

Colin Ian King (1):
  Bluetooth: btqca: remove null checks on edl->data as it is an array

Frédéric Dalleau (1):
  Bluetooth: Fix reason code used for rejecting SCO connections

Johan Hedberg (1):
  Bluetooth: mgmt: Fix sending redundant event for Advertising Instance

Kai-Heng Feng (1):
  Bluetooth: btusb: Add support for 0cf3:e009

Larry Finger (1):
  Bluetooth: btrtl: Add RTL8822BE Bluetooth device

Loic Poulain (3):
  Bluetooth: hci_bcm: Change protocol name
  Bluetooth: hci_uart: Add Nokia Protocol identifier
  Bluetooth: hci_uart: Add Marvell support

Marcel Holtmann (21):
  Bluetooth: Put led_trigger field behind CONFIG_BT_LEDS
  Bluetooth: Add combined LED trigger for controller power
  Bluetooth: Check SOL_HCI for raw socket options
  Bluetooth: Store control socket cookie and comm information
  Bluetooth: Introduce helper to pack mgmt version information
  Bluetooth: Add support for sending MGMT open and close to monitor
  Bluetooth: Add support for sending MGMT commands and events to monitor
  Bluetooth: Use individual flags for certain management events
  Bluetooth: Fix wrong Get Clock Information return parameters
  Bluetooth: Use command status event for Set IO Capability errors
  Bluetooth: Introduce helper functions for socket cookie handling
  Bluetooth: Use numbers for subsystem version string
  Bluetooth: Send control open and close only when cookie is present
  Bluetooth: Assign the channel early when binding HCI sockets
  Bluetooth: Add extra channel checks for control open/close messages
  Bluetooth: Send control open and close messages for HCI raw sockets
  Bluetooth: Handle HCI raw socket transition from unbound to bound
  Bluetooth: Add framework for Extended Controller Information
  Bluetooth: Send control open and close messages for HCI user channels
  Bluetooth: Fix wrong New Settings event when closing HCI User Channel
  Bluetooth: Increase the subsystem minor version number

Michał Narajowski (7):
  Bluetooth: Append local name and CoD to Extended Controller Info
  Bluetooth: Add support for local name in scan rsp
  Bluetooth: Add support for appearance in scan rsp
  Bluetooth: Factor appending EIR to separate helper
  Bluetooth: Add supported data types to ext info changed event
  Bluetooth: Fix missing ext info event when setting appearance
  Bluetooth: Set appearance only for LE capable controllers

Nicolas Iooss (1):
  Bluetooth: add printf format attribute to hci_set_[fh]w_info()

Szymon Janc (8):
  Bluetooth: btusb: Mark CW6622 devices to have broken link key commands
  Bluetooth: Fix not registering BR/EDR SMP channel with force_bredr flag
  Bluetooth: Remove unused parameter from tlv_data_is_valid function
  Bluetooth: Unify advertising instance flags check
  Bluetooth: Fix advertising instance validity check for flags
  Bluetooth: Increment management interface revision
  Bluetooth: Refactor read_ext_controller_info handler
  Bluetooth: Add appearance to Read Ext C

pull request: bluetooth 2016-08-25

2016-08-25 Thread Johan Hedberg
Hi Dave,

Here are a couple of important Bluetooth fixes for the 4.8 kernel:

 - Memory leak fix for HCI requests
 - Fix sk_filter handling with L2CAP
 - Fix sock_recvmsg behavior when MSG_TRUNC is not set

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit d7226c7a4dd19929d6df4ae04698da2fcf6f875a:

  net: diag: Fix refcnt leak in error path destroying socket (2016-08-23 
23:11:36 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to 4f34228b67246ae3b3ab1dc33b980c77c0650ef4:

  Bluetooth: Fix hci_sock_recvmsg when MSG_TRUNC is not set (2016-08-25 
20:58:47 +0200)


Daniel Borkmann (1):
  Bluetooth: split sk_filter in l2cap_sock_recv_cb

Frederic Dalleau (1):
  Bluetooth: Fix memory leak at end of hci requests

Luiz Augusto von Dentz (2):
  Bluetooth: Fix bt_sock_recvmsg when MSG_TRUNC is not set
  Bluetooth: Fix hci_sock_recvmsg when MSG_TRUNC is not set

 net/bluetooth/af_bluetooth.c |  2 +-
 net/bluetooth/hci_request.c  |  2 ++
 net/bluetooth/hci_sock.c |  2 +-
 net/bluetooth/l2cap_core.c   |  8 
 net/bluetooth/l2cap_sock.c   | 14 --
 5 files changed, 24 insertions(+), 4 deletions(-)


signature.asc
Description: PGP signature


Re: [PATCH 1/1] Bluetooth: add printf format attribute to hci_set_[fh]w_info()

2016-08-15 Thread Johan Hedberg
Hi Nicolas,

On Fri, Jul 29, 2016, Nicolas Iooss wrote:
> Commit 5177a83827cd ("Bluetooth: Add debugfs fields for hardware and
> firmware info") introduced hci_set_hw_info() and hci_set_fw_info().
> These functions use kvasprintf_const() but are not marked with a
> __printf attribute.  Adding such an attribute helps detecting issues
> related to printf-formatting at build time.
> 
> Signed-off-by: Nicolas Iooss 
> ---
>  include/net/bluetooth/hci_core.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied to bluetooth-next. Thanks.

Johan


pull request: bluetooth-next 2016-07-19

2016-07-18 Thread Johan Hedberg
Hi Dave,

Here's likely the last bluetooth-next pull request for the 4.8 kernel:

 - Fix for L2CAP setsockopt
 - Fix for is_suspending flag handling in btmrvl driver
 - Addition of Bluetooth HW & FW info fields to debugfs
 - Fix to use int instead of char for callback status.

The last one (from Geert Uytterhoeven) is actually not purely a
Bluetooth (or 802.15.4) patch, but it was agreed with other maintainers
that we take it through the bluetooth-next tree.

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 858d68f10238fdd1ebdd0096f912f063e97c6766:

  bpf: bpf_event_entry_gen's alloc needs to be in atomic context (2016-07-16 
22:03:39 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to e7acf43024e95faa7460e77fe7e0fec2a3de582a:

  Bluetooth: btmrvl: reset is_suspending flag in failure path (2016-07-18 
10:13:02 +0200)


Amadeusz Sławiński (1):
  Bluetooth: Fix l2cap_sock_setsockopt() with optname BT_RCVMTU

Amitkumar Karwar (1):
  Bluetooth: btmrvl: reset is_suspending flag in failure path

Geert Uytterhoeven (1):
  drivers: misc: ti-st: Use int instead of fuzzy char for callback status

Marcel Holtmann (3):
  Bluetooth: Move hci_recv_frame and hci_recv_diag prototypes
  Bluetooth: Add debugfs fields for hardware and firmware info
  Bluetooth: bpa10x: Add support for hci_set_fw_info

 drivers/bluetooth/bpa10x.c|  2 ++
 drivers/bluetooth/btmrvl_sdio.c   |  1 +
 drivers/bluetooth/btwilink.c  |  4 ++--
 drivers/media/radio/wl128x/fmdrv_common.c |  2 +-
 drivers/misc/ti-st/st_core.c  |  2 +-
 drivers/nfc/nfcwilink.c   |  4 ++--
 include/linux/ti_wilink_st.h  |  2 +-
 include/net/bluetooth/hci_core.h  |  9 +---
 net/bluetooth/hci_core.c  | 24 
 net/bluetooth/hci_debugfs.c   | 35 +
 net/bluetooth/l2cap_sock.c|  2 +-
 11 files changed, 76 insertions(+), 11 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2016-07-13

2016-07-13 Thread Johan Hedberg
Hi Dave,

Here's our main bluetooth-next pull request for the 4.8 kernel:

 - Fixes and cleanups in 802.15.4 and 6LoWPAN code
 - Fix out of bounds issue in btmrvl driver
 - Fixes to Bluetooth socket recvmsg return values
 - Use crypto_cipher_encrypt_one() instead of crypto_skcipher
 - Cleanup of Bluetooth connection sysfs interface
 - New Authentication failure reson code for Disconnected mgmt event
 - New USB IDs for Atheros, Qualcomm and Intel Bluetooth controllers

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit a90a6e55f34f28190e4dc2a6a3660ef157827a8f:

  Merge tag 'mac80211-next-for-davem-2016-07-06' of 
git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next (2016-07-06 
22:32:15 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 87510973d6e137c33552b3365b5afbd5be81c5dd:

  Bluetooth: Increment management interface revision (2016-07-13 10:02:52 +0200)


Alexander Aring (13):
  6lowpan: ndisc: fix double read unlock
  6lowpan: ndisc: add missing 802.15.4 only check
  nl802154: move PAD to right position
  ieee802154: add netns support
  ieee802154: allow netns create of lowpan interface
  ieee802154: add ieee802154_skb_dst_pan helper
  ieee802154: add ieee802154_skb_src_pan helper
  ieee802154: 6lowpan: fix intra pan id check
  ieee802154: fix skb get fc on big endian
  6lowpan: ndisc: set invalid unicast short addr to unspec
  atusb: don't change csma settings while set channel
  ieee802154: cleanup WARN_ON for fc fetch
  fakelb: allow to run as monitor

Andy Lutomirski (1):
  Bluetooth: Switch SMP to crypto_cipher_encrypt_one()

Denis Kenzior (2):
  Bluetooth: Fix bt_sock_recvmsg return value
  Bluetooth: Fix hci_sock_recvmsg return value

Dmitry Tunin (1):
  Bluetooth: Add support of 13d3:3490 AR3012 device

Johan Hedberg (1):
  Bluetooth: Increment management interface revision

Loic Poulain (1):
  Bluetooth: hci_intel: Remove LPM enabling from setup procedure

Marcel Holtmann (3):
  Bluetooth: Remove connection link attributes
  Bluetooth: Remove controller device attributes
  Bluetooth: Rename HCI_BREDR into HCI_PRIMARY

Ricky Liang (1):
  Bluetooth: btmrvl: fix slab-out-of-bounds access in btmrvl_sdio

Szymon Janc (1):
  Bluetooth: Add Authentication Failed reason to Disconnected Mgmt event

Tedd Ho-Jeong An (2):
  Bluetooth: Add support for Intel Bluetooth device 3168 [8087:0aa7]
  Bluetooth: Replace constant hw_variant from Intel Bluetooth firmware 
filename

Walter Mack (1):
  mrf24j40: avoid uninitialized byte in SPI transfer to radio.

Yvain THONNART (1):
  Bluetooth: btusb: add support for device 0489:e092

 drivers/bluetooth/ath3k.c |   2 +
 drivers/bluetooth/btmrvl_main.c   |   2 +-
 drivers/bluetooth/btmrvl_sdio.c   |  14 ++---
 drivers/bluetooth/btsdio.c|   2 +-
 drivers/bluetooth/btusb.c |  18 --
 drivers/bluetooth/hci_intel.c |  28 +++--
 drivers/bluetooth/hci_ldisc.c |   2 +-
 drivers/bluetooth/hci_vhci.c  |   6 +-
 drivers/net/ieee802154/atusb.c|   6 +-
 drivers/net/ieee802154/fakelb.c   |   8 +++
 drivers/net/ieee802154/mrf24j40.c |   2 +
 include/linux/ieee802154.h|  29 +
 include/net/bluetooth/hci.h   |   3 +-
 include/net/bluetooth/hci_core.h  |   1 +
 include/net/bluetooth/mgmt.h  |   1 +
 include/net/cfg802154.h   |  13 +
 include/net/mac802154.h   | 117 +++--
 include/net/nl802154.h|   9 ++-
 net/6lowpan/ndisc.c   |  13 -
 net/bluetooth/af_bluetooth.c  |   5 ++
 net/bluetooth/hci_conn.c  |   2 +-
 net/bluetooth/hci_core.c  |  28 +
 net/bluetooth/hci_event.c |  18 +-
 net/bluetooth/hci_sock.c  |   7 ++-
 net/bluetooth/hci_sysfs.c |  99 ---
 net/bluetooth/l2cap_core.c|   2 +-
 net/bluetooth/mgmt.c  |  18 +++---
 net/bluetooth/smp.c   |  67 +
 net/ieee802154/6lowpan/core.c |   3 +-
 net/ieee802154/6lowpan/rx.c   |   2 +-
 net/ieee802154/core.c |  70 +-
 net/ieee802154/core.h |   2 +
 net/ieee802154/nl802154.c |  54 +++--
 33 files changed, 423 insertions(+), 230 deletions(-)


signature.asc
Description: PGP signature


Re: [PATCH v4 01/16] bluetooth: Switch SMP to crypto_cipher_encrypt_one()

2016-06-24 Thread Johan Hedberg
On Thu, Jun 23, 2016, Andy Lutomirski wrote:
> SMP does ECB crypto on stack buffers.  This is complicated and
> fragile, and it will not work if the stack is virtually allocated.
> 
> Switch to the crypto_cipher interface, which is simpler and safer.
> 
> Cc: Marcel Holtmann 
> Cc: Gustavo Padovan 
> Cc: Johan Hedberg 
> Cc: "David S. Miller" 
> Cc: linux-blueto...@vger.kernel.org
> Cc: Herbert Xu 
> Cc: netdev@vger.kernel.org
> Signed-off-by: Andy Lutomirski 
> ---
>  net/bluetooth/smp.c | 67 
> ++---
>  1 file changed, 28 insertions(+), 39 deletions(-)

Acked-and-tested-by: Johan Hedberg 

Johan


pull request: bluetooth-next 2016-05-14

2016-05-14 Thread Johan Hedberg
Hi Dave,

Here are two more Bluetooth patches for the 4.7 kernel which we wanted
to get into net-next before the merge window opens. Please let me know
if there are any issues pulling. Thanks.

Johan

---
The following changes since commit ed7cbbce544856b20e5811de373cf92e92499771:

  udp: Resolve NULL pointer dereference over flow-based vxlan device 
(2016-05-13 01:56:14 -0400)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 72f9f8b58bc743e6b6abdc68f60db98486c3ffcf:

  Bluetooth: Add USB ID 13D3:3487 to ath3k (2016-05-13 16:54:59 +0200)


Jiri Slaby (1):
  Bluetooth: fix power_on vs close race

Lauro Costa (1):
  Bluetooth: Add USB ID 13D3:3487 to ath3k

 drivers/bluetooth/ath3k.c | 2 ++
 drivers/bluetooth/btusb.c | 1 +
 net/bluetooth/hci_core.c  | 4 ++--
 3 files changed, 5 insertions(+), 2 deletions(-)



signature.asc
Description: PGP signature


pull request: bluetooth-next 2016-05-07

2016-05-07 Thread Johan Hedberg
Hi Dave,

Here are a few more Bluetooth patches for the 4.7 kernel:

 - NULL pointer fix in hci_intel driver
 - New Intel Bluetooth controller id in btusb driver
 - Added device tree binding documentation for Marvel's bt-sd8xxx
 - Platform specific wakeup interrupt support for btmrvl driver

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 582a1db98892ef4c1f34c7338b272331994d44ab:

  Merge branch 'qed-selftests' (2016-05-02 00:16:45 -0400)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to a0af53b511423cca93900066512379e21586d7dd:

  Bluetooth: Add support for Intel Bluetooth device 8265 [8087:0a2b] 
(2016-05-06 21:52:35 +0200)


Loic Poulain (1):
  Bluetooth: hci_intel: Fix null gpio desc pointer dereference

Tedd Ho-Jeong An (1):
  Bluetooth: Add support for Intel Bluetooth device 8265 [8087:0a2b]

Xinming Hu (2):
  dt: bindings: add MARVELL's bt-sd8xxx wireless device
  btmrvl: add platform specific wakeup interrupt support

 Documentation/devicetree/bindings/btmrvl.txt   | 29 
 .../devicetree/bindings/net/marvell-bt-sd8xxx.txt  | 56 +++
 drivers/bluetooth/btmrvl_drv.h | 11 +++
 drivers/bluetooth/btmrvl_main.c| 35 +
 drivers/bluetooth/btmrvl_sdio.c| 79 +
 drivers/bluetooth/btmrvl_sdio.h|  6 ++
 drivers/bluetooth/btusb.c  | 11 +--
 drivers/bluetooth/hci_intel.c  |  6 +-
 8 files changed, 180 insertions(+), 53 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/btmrvl.txt
 create mode 100644 Documentation/devicetree/bindings/net/marvell-bt-sd8xxx.txt


signature.asc
Description: PGP signature


Re: [PATCH] Bluetooth: Use hci_conn_hash_lookup_le

2016-05-02 Thread Johan Hedberg
Hi,

On Fri, Apr 29, 2016, Julia Lawall wrote:
> --- a/net/bluetooth/mgmt.c
> +++ b/net/bluetooth/mgmt.c
> @@ -4773,7 +4773,8 @@ static int get_conn_info(struct sock *sk, struct 
> hci_dev *hdev, void *data,
>   conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK,
>  &cp->addr.bdaddr);
>   else
> - conn = hci_conn_hash_lookup_ba(hdev, LE_LINK, &cp->addr.bdaddr);
> + conn = hci_conn_hash_lookup_le(hdev, &cp->addr.bdaddr,
> +cp->addr.type);

I don't think is is correct. There are two possible domains for address
types: the user space-facing interface that has three values: BR/EDR, LE
public & LE random, and the internal one which maps to HCI that has two
values: random or public. You'd need to convert from the former to the
latter when making the lookup call, i.e:

conn = hci_conn_hash_lookup_le(hdev, &cp->addr.bdaddr,
   le_addr_type(cp->addr.type));


Johan


pull request: bluetooth-next 2016-04-26

2016-04-26 Thread Johan Hedberg
Hi Dave,

Here's another set of Bluetooth & 802.15.4 patches for the 4.7 kernel:

 - Cleanups & refactoring of ieee802154 & 6lowpan code
 - Security related additions to ieee802154 and mrf24j40 driver
 - Memory corruption fix to Bluetooth 6lowpan code
 - Race condition fix in vhci driver
 - Enhancements to the atusb 802.15.4 driver

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit b30d27f5bba2c65fb571ad7448b18dfee2fd63ae:

  Merge branch 'mediatek-stress-test-fixes' (2016-04-12 22:41:33 -0400)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 55441070ca1cbd47ce1ad2959bbf4b47aed9b83b:

  Bluetooth: 6lowpan: Fix memory corruption of ipv6 destination address 
(2016-04-26 01:08:25 +0200)


Alexander Aring (12):
  ieee802154: cleanups for ieee802154.h
  ieee802154: add short address helpers
  nl802154: avoid address change while running lowpan
  ieee802154: 6lowpan: fix short addr hash
  6lowpan: change naming for lowpan private data
  6lowpan: move lowpan_802154_dev to 6lowpan
  6lowpan: iphc: rename add lowpan prefix
  6lowpan: iphc: remove unnecessary zero data
  6lowpan: move eui64 uncompress function
  6lowpan: add lowpan_is_ll function
  6lowpan: move mac802154 header
  at86rf230: increase sleep to off timings

Alexandre Macabies (3):
  ieee802154: add security bit check function
  mrf24j40: fix security-enabled processing on inbound frames
  mrf24j40: apply the security-enabled bit on secured outbound frames

Dan Carpenter (1):
  Bluetooth: ath3k: Silence uninitialized variable warning

Glenn Ruben Bakke (1):
  Bluetooth: 6lowpan: Fix memory corruption of ipv6 destination address

Johan Hedberg (1):
  Bluetooth: Add defines for SPI and I2C

Stefan Schmidt (4):
  ieee802154: atusb: implement .set_csma_params ops callback
  ieee802154: atusb: implement .set_cca_ed_level ops callback
  ieee802154: atusb: implement .set_cca_mode ops callback
  ieee802154: atusb: update my copyright years for this driver

Takashi Iwai (1):
  Bluetooth: vhci: Fix race at creating hci device

 drivers/bluetooth/ath3k.c  |   6 +-
 drivers/bluetooth/hci_vhci.c   |  23 ++--
 drivers/net/ieee802154/at86rf230.c |   6 +-
 drivers/net/ieee802154/atusb.c |  91 -
 drivers/net/ieee802154/mrf24j40.c  |  14 -
 include/linux/ieee802154.h |  45 ++-
 include/net/6lowpan.h  |  37 +++-
 include/net/bluetooth/hci.h|   2 +
 include/net/mac802154.h|  10 
 net/6lowpan/6lowpan_i.h|   9 +++
 net/6lowpan/core.c |   8 +--
 net/6lowpan/debugfs.c  |  22 +++
 net/6lowpan/iphc.c | 111 
 net/6lowpan/nhc_udp.c  |   2 +-
 net/bluetooth/6lowpan.c|  93 +++---
 net/ieee802154/6lowpan/6lowpan_i.h |  14 +
 net/ieee802154/6lowpan/core.c  |   6 +-
 net/ieee802154/6lowpan/tx.c|  14 ++---
 net/ieee802154/nl802154.c  |  10 
 19 files changed, 356 insertions(+), 167 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2016-04-12

2016-04-12 Thread Johan Hedberg
Hi Dave,

Here's a set of Bluetooth & 802.15.4 patches intended for the 4.7 kernel:

 - Fix for race condition in vhci driver
 - Memory leak fix for ieee802154/adf7242 driver
 - Improvements to deal with single-mode (LE-only) Bluetooth controllers
 - Fix for allowing the BT_SECURITY_FIPS security level
 - New BCM2E71 ACPI ID
 - NULL pointer dereference fix fox hci_ldisc driver

Let me know if there are any issues pulling. Thanks.

Johan


The following changes since commit 9ef280c6c28f0c01aa9d909263ad47c796713a8e:

  irda: sh_irda: remove driver (2016-04-04 16:24:13 -0400)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 8805eea2494a2837983bc4aaaf6842c89666ec25:

  Bluetooth: hci_bcsp: fix code style (2016-04-08 23:01:36 +0200)


Alexander Aring (1):
  6lowpan: iphc: fix handling of link-local compression

Jiri Slaby (2):
  Bluetooth: vhci: fix open_timeout vs. hdev race
  Bluetooth: vhci: purge unhandled skbs

Johan Hedberg (2):
  Bluetooth: Fix setting NO_BREDR advertising flag
  Bluetooth: Ignore unknown advertising packet types

Loic Poulain (2):
  Bluetooth: hci_bcm: Add BCM2E71 ACPI ID
  Bluetooth: hci_ldisc: Fix null pointer derefence in case of early data

Maxim Zhukov (1):
  Bluetooth: hci_bcsp: fix code style

Patrik Flykt (1):
  Bluetooth: Allow setting BT_SECURITY_FIPS with setsockopt

Sudip Mukherjee (1):
  ieee802154/adf7242: fix memory leak of firmware

 drivers/bluetooth/hci_bcm.c  |  1 +
 drivers/bluetooth/hci_bcsp.c | 57 
+++--
 drivers/bluetooth/hci_ldisc.c| 11 +++
 drivers/bluetooth/hci_uart.h |  1 +
 drivers/bluetooth/hci_vhci.c |  9 ++---
 drivers/net/ieee802154/adf7242.c |  2 ++
 net/6lowpan/iphc.c   | 11 +--
 net/bluetooth/hci_event.c| 13 +
 net/bluetooth/hci_request.c  |  6 +++---
 net/bluetooth/l2cap_sock.c   |  2 +-
 10 files changed, 74 insertions(+), 39 deletions(-)



signature.asc
Description: PGP signature


pull request: bluetooth-next 2016-03-12

2016-03-11 Thread Johan Hedberg
Hi Dave,

Here's the last bluetooth-next pull request for the 4.6 kernel.

 - New USB ID for AR3012 in btusb
 - New BCM2E55 ACPI ID
 - Buffer overflow fix for the Add Advertising command
 - Support for a new Bluetooth LE limited privacy mode
 - Fix for firmware activation in btmrvl_sdio
 - Cleanups to mac802154 & 6lowpan code

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 798fee48035f0c5fc6787767ff9e27de7e1a4fbb:

  Merge tag 'linux-can-next-for-4.6-20160310' of 
git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next (2016-03-10 
12:41:33 -0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 6a0e78072c2ae7b20b14e0249d8108441ea928d2:

  Bluetooth: Fix potential buffer overflow with Add Advertising (2016-03-11 
16:28:43 +0100)


Alexander Aring (3):
  mac802154: use put and get unaligned functions
  6lowpan: debugfs: add missing static
  6lowpan: iphc: fix SAM/DAM bit comment

Dmitry Tunin (1):
  Bluetooth: btusb: Add a new AR3012 ID 13d3:3472

Johan Hedberg (6):
  Bluetooth: Move memset closer to where it's needed
  Bluetooth: Fix adding discoverable to adv instance flags
  Bluetooth: Add support for limited privacy mode
  Bluetooth: Increment management interface revision
  Bluetooth: Fix setting correct flags in AD
  Bluetooth: Fix potential buffer overflow with Add Advertising

Jérôme de Bretagne (1):
  Bluetooth: hci_bcm: Add BCM2E55 ACPI ID used in Lenovo ThinkPad Tablet 8

Wei-Ning Huang (1):
  Bluetooth: btmrvl_sdio: fix firmware activation failure

 drivers/bluetooth/ath3k.c   |  2 ++
 drivers/bluetooth/btmrvl_sdio.c |  2 +-
 drivers/bluetooth/btusb.c   |  1 +
 drivers/bluetooth/hci_bcm.c |  1 +
 include/net/bluetooth/hci.h |  1 +
 include/net/mac802154.h | 10 +++
 net/6lowpan/debugfs.c   |  4 +--
 net/6lowpan/iphc.c  |  4 +--
 net/bluetooth/hci_conn.c| 17 +---
 net/bluetooth/hci_request.c | 56 +++-
 net/bluetooth/hci_request.h |  2 +-
 net/bluetooth/mgmt.c| 26 ---
 12 files changed, 102 insertions(+), 24 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2016-03-01

2016-02-29 Thread Johan Hedberg
Hi Dave,

Here's our main set of Bluetooth & 802.15.4 patches for the 4.6 kernel.

 - New Bluetooth HCI driver for Intel/AG6xx controllers
 - New Broadcom ACPI IDs
 - LED trigger support for indicating Bluetooth powered state
 - Various fixes in mac802154, 6lowpan and related drivers
 - New USB IDs for AR3012 Bluetooth controllers

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit a30a9ea6e21b495372aff549f3dfd63198bd1f45:

  rocker: fix rocker_world_port_obj_vlan_add() (2016-02-23 13:12:31 -0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 34bf1912bfc06bd9200893916078eb0f16480a95:

  Bluetooth: hci_uart: Add diag and address support for Intel/AG6xx (2016-02-29 
19:25:22 +0200)


Alexander Aring (9):
  MAINTAINERS: update 802.15.4 entries
  mac802154: fix mac header length check
  at86rf230: fix race on error handling
  at86rf230: fix state change handling on error
  mrf24j40: add writeable missing reg
  6lowpan: iphc: add support for stateful compression
  ieee802154: 6lowpan: fix return of netdev notifier
  6lowpan: iphc: fix stateful multicast compression
  6lowpan: iphc: fix invalid case handling

Andrzej Hajda (1):
  6lowpan: fix error checking code

Anton Protopopov (1):
  Bluetooth: hci_intel: Fix a wrong comparison

Bhumika Goyal (1):
  Bluetooth: ath3k: Fixed a blank line after declaration issue

Dmitry Tunin (3):
  Bluetooth: btusb: Add new AR3012 ID 13d3:3395
  Bluetooth: Add new AR3012 ID 0489:e095
  Bluetooth: btusb: Add a new AR3012 ID 04ca:3014

Heiner Kallweit (2):
  Bluetooth: add LED trigger for indicating HCI is powered up
  Bluetooth: Use managed version of led_trigger_register in LED trigger

J.J. Meijer (1):
  Bluetooth: hci_bcm: Add new ACPI ID for bcm43241

Koen Zandberg (1):
  mac802154: Fixes kernel oops when unloading a radio driver

Loic Poulain (1):
  Bluetooth: hci_uart: Add Intel/AG6xx support

Marcel Holtmann (1):
  Bluetooth: hci_uart: Add diag and address support for Intel/AG6xx

Mika Westerberg (1):
  Bluetooth: hci_bcm: Add BCM2E7C ACPI ID

Petri Gynther (1):
  Bluetooth: btbcm: Fix handling of firmware not found

Wei-Ning Huang (1):
  Bluetooth: hci_core: cancel power off delayed work properly

 MAINTAINERS|   9 +-
 drivers/bluetooth/Kconfig  |  11 +
 drivers/bluetooth/Makefile |   1 +
 drivers/bluetooth/ath3k.c  |   7 +
 drivers/bluetooth/btbcm.c  |   3 +-
 drivers/bluetooth/btusb.c  |   3 +
 drivers/bluetooth/hci_ag6xx.c  | 337 +
 drivers/bluetooth/hci_bcm.c|   2 +
 drivers/bluetooth/hci_intel.c  |   4 +-
 drivers/bluetooth/hci_ldisc.c  |   6 +
 drivers/bluetooth/hci_uart.h   |   8 +-
 drivers/net/ieee802154/at86rf230.c |  25 ++-
 drivers/net/ieee802154/mrf24j40.c  |   1 +
 include/net/6lowpan.h  |  32 +++
 include/net/bluetooth/hci_core.h   |   3 +
 include/net/mac802154.h|   5 +-
 net/6lowpan/core.c |  39 +++-
 net/6lowpan/debugfs.c  | 247 +
 net/6lowpan/iphc.c | 413 +++-
 net/bluetooth/Kconfig  |   9 +
 net/bluetooth/Makefile |   1 +
 net/bluetooth/hci_core.c   |   7 +
 net/bluetooth/leds.c   |  74 +++
 net/bluetooth/leds.h   |  16 ++
 net/ieee802154/6lowpan/core.c  |   7 +-
 net/mac802154/main.c   |   2 +-
 26 files changed, 1192 insertions(+), 80 deletions(-)
 create mode 100644 drivers/bluetooth/hci_ag6xx.c
 create mode 100644 net/bluetooth/leds.c
 create mode 100644 net/bluetooth/leds.h


signature.asc
Description: PGP signature


pull request: bluetooth 2016-02-20

2016-02-20 Thread Johan Hedberg
Hi Dave,

Here's an important patch for 4.5 which fixes potential invalid pointer
access when processing completed Bluetooth HCI commands.

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit d07c0278da1f4cfc91c3d46d0d07a0d13a949892:

  net: bcmgenet: Fix internal PHY link state (2016-02-19 23:51:40 -0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to 3bd7594e69bd97c962faa6a5ae15dd8c6c082636:

  Bluetooth: hci_core: Avoid mixing up req_complete and req_complete_skb 
(2016-02-20 08:52:28 +0100)


Douglas Anderson (1):
  Bluetooth: hci_core: Avoid mixing up req_complete and req_complete_skb

 net/bluetooth/hci_core.c | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)


signature.asc
Description: PGP signature


Re: [PATCH] Bluetooth: hci_core: Avoid mixing up req_complete and req_complete_skb

2016-02-19 Thread Johan Hedberg
Hi Douglas,

On Fri, Feb 19, 2016, Douglas Anderson wrote:
> In commit 44d271377479 ("Bluetooth: Compress the size of struct
> hci_ctrl") we squashed down the size of the structure by using a union
> with the assumption that all users would use the flag to determine
> whether we had a req_complete or a req_complete_skb.
> 
> Unfortunately we had a case in hci_req_cmd_complete() where we weren't
> looking at the flag.  This can result in a situation where we might be
> storing a hci_req_complete_skb_t in a hci_req_complete_t variable, or
> vice versa.
> 
> During some testing I found at least one case where the function
> hci_req_sync_complete() was called improperly because the kernel thought
> that it didn't require an SKB.  Looking through the stack in kgdb I
> found that it was called by hci_event_packet() and that
> hci_event_packet() had both of its locals "req_complete" and
> "req_complete_skb" pointing to the same place: both to
> hci_req_sync_complete().
> 
> Let's make sure we always check the flag.
> 
> For more details on debugging done, see <http://crbug.com/588288>.
> 
> Fixes: 44d271377479 ("Bluetooth: Compress the size of struct hci_ctrl")
> Signed-off-by: Douglas Anderson 
> ---
> Testing was done on a Chrome OS device on kernel 3.14 w/
> bluetooth-next backports.  Since I couldn't reliably reproduce the
> problem, I simply confirmed that existing functionality worked.
> 
>  net/bluetooth/hci_core.c | 6 --
>  1 file changed, 4 insertions(+), 2 deletions(-)

Good catch.

Acked-by: Johan Hedberg 

Marcel, I think we want to send this through our stable tree to 4.5-rc
(where the patch introducing the bug is).

Johan


pull request: bluetooth 2016-01-30

2016-01-30 Thread Johan Hedberg
Hi Dave,

Here's a set of important Bluetooth fixes for the 4.5 kernel:

 - Two fixes to 6LoWPAN code (one fixing a potential crash)
 - Fix LE pairing with devices using both public and random addresses
 - Fix allocation of dynamic LE PSM values
 - Fix missing COMPATIBLE_IOCTL for UART line discipline

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 00ae40e71d85ea3fed1b906951ffd80e0321a96d:

  mlxsw: fix SWITCHDEV_OBJ_ID_PORT_MDB (2016-01-13 10:31:21 -0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to cff10ce7b4f02718ffd25e3914e60559f5ef6ca0:

  Bluetooth: Fix incorrect removing of IRKs (2016-01-29 11:47:24 +0100)


Glenn Ruben Bakke (1):
  Bluetooth: 6lowpan: Fix kernel NULL pointer dereferences

Johan Hedberg (4):
  Bluetooth: L2CAP: Introduce proper defines for PSM ranges
  Bluetooth: L2CAP: Fix auto-allocating LE PSM values
  Bluetooth: L2CAP: Fix setting chan src info before adding PSM/CID
  Bluetooth: Fix incorrect removing of IRKs

Lukasz Duda (1):
  Bluetooth: 6lowpan: Fix handling of uncompressed IPv6 packets

Marcel Holtmann (1):
  Bluetooth: Add missing COMPATIBLE_IOCTL for UART line discipline

 fs/compat_ioctl.c |  3 +++
 include/net/bluetooth/l2cap.h |  6 ++
 net/bluetooth/6lowpan.c   |  7 ++-
 net/bluetooth/hci_request.c   | 28 ++--
 net/bluetooth/l2cap_core.c| 14 --
 net/bluetooth/l2cap_sock.c| 12 ++--
 net/bluetooth/smp.c   | 16 
 7 files changed, 51 insertions(+), 35 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2015-12-31

2015-12-31 Thread Johan Hedberg
Hi Dave,

Here's (probably) the last bluetooth-next pull request for the 4.5
kernel:

 - Add support for BCM2E65 ACPI ID
 - Minor fixes/cleanups in the bcm203x & bfusb drivers
 - Minor debugfs related fix in 6lowpan code

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 07f6f4a31e5a8dee67960fc07bb0b37c5f879d4d:

  tcp: diag: add support for request sockets to tcp_abort() (2015-12-18 
16:06:39 -0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 7ddb69222d0fdc0bc83b60dbb21d9864ebf2907e:

  Bluetooth: bfusb: Fix the return error code (2015-12-22 15:25:33 +0100)


Alexander Aring (1):
  6lowpan: fix debugfs interface entry name

Geliang Tang (1):
  Bluetooth: use list_for_each_entry*

Luka Karinja (1):
  Bluetooth: hci_bcm: Add BCM2E65 ACPI ID

Syam Sidhardhan (3):
  Bluetooth: bcm203x: Remove redundant error message
  Bluetooth: bfusb: Remove redundant error message
  Bluetooth: bfusb: Fix the return error code

 drivers/bluetooth/bcm203x.c  |  4 +---
 drivers/bluetooth/bfusb.c|  6 ++
 drivers/bluetooth/hci_bcm.c  |  1 +
 net/6lowpan/core.c   |  6 +++---
 net/bluetooth/af_bluetooth.c | 12 +--
 net/bluetooth/cmtp/capi.c|  8 ++--
 net/bluetooth/hci_core.c |  8 +++-
 net/bluetooth/rfcomm/core.c  | 46 +-
 8 files changed, 32 insertions(+), 59 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2015-12-11

2015-12-11 Thread Johan Hedberg
Hi Dave,

(resending since I forgot to sign the previous one)

Here's another set of Bluetooth & 802.15.4 patches for the 4.5 kernel:

 - 6LoWPAN debugfs support
 - New 802.15.4 driver for ADF7242 MAC IEEE802154
 - Initial code for 6LoWPAN Generic Header Compression (GHC) support
 - Refactor Bluetooth LE scan & advertising behind dedicated workqueue
 - Cleanups to Bluetooth H:5 HCI driver
 - Support for Toshiba Broadcom based Bluetooth controllers
 - Use continuous scanning when establishing Bluetooth LE connections

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit ad2c8c73d29702c3193f739390f6661f9a4ecad9:

  cgroup: fix sock_cgroup_data initialization on earlier compilers (2015-12-09 
15:02:31 -0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 7302b9d90117496049dd4bfa28755f7c2ed55b27:

  ieee802154/adf7242: Driver for ADF7242 MAC IEEE802154 (2015-12-11 11:27:22 
+0100)


Alexander Aring (4):
  6lowpan: add lowpan dev register helpers
  6lowpan: add debugfs support
  ipv6: add ipv6_addr_prefix_copy
  mac802154: tx: fix synced xmit deadlock

Andrei Emeltchenko (3):
  Bluetooth: Use hexadecimal notation for mask
  Bluetooth: Simplify setting Configuration Field
  Bluetooth: h5: Do not initialize Configuration field

Danny Schweizer (1):
  Bluetooth: Do not filter multicast addresses by default

Dmitry Tunin (1):
  Bluetooth: Add support of Toshiba Broadcom based devices

Johan Hedberg (19):
  Bluetooth: Run page scan updates through hdev->req_workqueue
  Bluetooth: Move __hci_update_background_scan up in hci_request.c
  Bluetooth: Move advertising instance management to hci_request.c
  Bluetooth: Move connectable changes to hdev->req_workqueue
  Bluetooth: Perform Class of Device changes through hdev->req_workqueue
  Bluetooth: Move discoverable changes to hdev->req_workqueue
  Bluetooth: Move discoverable timeout behind hdev->req_workqueue
  Bluetooth: HCI name update to hci_request.c
  Bluetooth: Move EIR update to hci_request.c
  Bluetooth: Move fast connectable code to hci_request.c
  Bluetooth: Perform HCI update for power on synchronously
  Bluetooth: Simplify read_adv_features code
  Bluetooth: Remove unnecessary HCI_ADVERTISING_INSTANCE flag
  Bluetooth: Fix updating wrong instance's scan_rsp data
  Bluetooth: Remove redundant check for req.cmd_q
  Bluetooth: Clean up advertising initialization in powered_update_hci()
  Bluetooth: Clean up current advertising instance tracking
  Bluetooth: Use continuous scanning when creating LE connections
  Bluetooth: Don't treat connection timeout as a failure

Loic Poulain (3):
  Bluetooth: hci_intel: Use shorter timeout for HCI commands
  Bluetooth: btintel: Add manufacturing enter/exit helpers
  Bluetooth: btintel: Create common Intel Version Read function

Markus Elfring (1):
  ieee802154-atusb: Delete an unnecessary check before the function call 
"kfree_skb"

Michael Hennerich (1):
  ieee802154/adf7242: Driver for ADF7242 MAC IEEE802154

Peter Hurley (1):
  Bluetooth: hci_ldisc: Remove dead code

Stefan Schmidt (7):
  6lowpan: clarify Kconfig entries for upcoming GHC support
  6lowpan: add nhc module for GHC hop-by-hopextension header detection
  6lowpan: add nhc module for GHC UDP detection
  6lowpan: add nhc module for GHC ICMPv6 detection
  6lowpan: add nhc module for GHC destination extension header detection
  6lowpan: add nhc module for GHC fragmentation extension header detection
  6lowpan: add nhc module for GHC routing extension header detection

Yichen Zhao (1):
  Bluetooth: Fix locking in bt_accept_dequeue after disconnection

 .../devicetree/bindings/net/ieee802154/adf7242.txt |   18 +
 MAINTAINERS|9 +
 drivers/bluetooth/btintel.c|  129 +-
 drivers/bluetooth/btintel.h|   19 +
 drivers/bluetooth/btusb.c  |  138 +-
 drivers/bluetooth/hci_h5.c |   12 +-
 drivers/bluetooth/hci_intel.c  |   52 +-
 drivers/bluetooth/hci_ldisc.c  |8 +-
 drivers/net/ieee802154/Kconfig |   11 +
 drivers/net/ieee802154/Makefile|1 +
 drivers/net/ieee802154/adf7242.c   | 1285 +++
 drivers/net/ieee802154/atusb.c |3 +-
 include/net/6lowpan.h  |   10 +-
 include/net/bluetooth/hci.h|1 -
 include/net/bluetooth/hci_core.h   |   18 +-
 include/net/ipv6.h  

pull request: bluetooth-next 2015-12-11

2015-12-11 Thread Johan Hedberg
Hi Dave,

Here's another set of Bluetooth & 802.15.4 patches for the 4.5 kernel:

 - 6LoWPAN debugfs support
 - New 802.15.4 driver for ADF7242 MAC IEEE802154
 - Initial code for 6LoWPAN Generic Header Compression (GHC) support
 - Refactor Bluetooth LE scan & advertising behind dedicated workqueue
 - Cleanups to Bluetooth H:5 HCI driver
 - Support for Toshiba Broadcom based Bluetooth controllers
 - Use continuous scanning when establishing Bluetooth LE connections

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit ad2c8c73d29702c3193f739390f6661f9a4ecad9:

  cgroup: fix sock_cgroup_data initialization on earlier compilers (2015-12-09 
15:02:31 -0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 7302b9d90117496049dd4bfa28755f7c2ed55b27:

  ieee802154/adf7242: Driver for ADF7242 MAC IEEE802154 (2015-12-11 11:27:22 
+0100)


Alexander Aring (4):
  6lowpan: add lowpan dev register helpers
  6lowpan: add debugfs support
  ipv6: add ipv6_addr_prefix_copy
  mac802154: tx: fix synced xmit deadlock

Andrei Emeltchenko (3):
  Bluetooth: Use hexadecimal notation for mask
  Bluetooth: Simplify setting Configuration Field
  Bluetooth: h5: Do not initialize Configuration field

Danny Schweizer (1):
  Bluetooth: Do not filter multicast addresses by default

Dmitry Tunin (1):
  Bluetooth: Add support of Toshiba Broadcom based devices

Johan Hedberg (19):
  Bluetooth: Run page scan updates through hdev->req_workqueue
  Bluetooth: Move __hci_update_background_scan up in hci_request.c
  Bluetooth: Move advertising instance management to hci_request.c
  Bluetooth: Move connectable changes to hdev->req_workqueue
  Bluetooth: Perform Class of Device changes through hdev->req_workqueue
  Bluetooth: Move discoverable changes to hdev->req_workqueue
  Bluetooth: Move discoverable timeout behind hdev->req_workqueue
  Bluetooth: HCI name update to hci_request.c
  Bluetooth: Move EIR update to hci_request.c
  Bluetooth: Move fast connectable code to hci_request.c
  Bluetooth: Perform HCI update for power on synchronously
  Bluetooth: Simplify read_adv_features code
  Bluetooth: Remove unnecessary HCI_ADVERTISING_INSTANCE flag
  Bluetooth: Fix updating wrong instance's scan_rsp data
  Bluetooth: Remove redundant check for req.cmd_q
  Bluetooth: Clean up advertising initialization in powered_update_hci()
  Bluetooth: Clean up current advertising instance tracking
  Bluetooth: Use continuous scanning when creating LE connections
  Bluetooth: Don't treat connection timeout as a failure

Loic Poulain (3):
  Bluetooth: hci_intel: Use shorter timeout for HCI commands
  Bluetooth: btintel: Add manufacturing enter/exit helpers
  Bluetooth: btintel: Create common Intel Version Read function

Markus Elfring (1):
  ieee802154-atusb: Delete an unnecessary check before the function call 
"kfree_skb"

Michael Hennerich (1):
  ieee802154/adf7242: Driver for ADF7242 MAC IEEE802154

Peter Hurley (1):
  Bluetooth: hci_ldisc: Remove dead code

Stefan Schmidt (7):
  6lowpan: clarify Kconfig entries for upcoming GHC support
  6lowpan: add nhc module for GHC hop-by-hopextension header detection
  6lowpan: add nhc module for GHC UDP detection
  6lowpan: add nhc module for GHC ICMPv6 detection
  6lowpan: add nhc module for GHC destination extension header detection
  6lowpan: add nhc module for GHC fragmentation extension header detection
  6lowpan: add nhc module for GHC routing extension header detection

Yichen Zhao (1):
  Bluetooth: Fix locking in bt_accept_dequeue after disconnection

 .../devicetree/bindings/net/ieee802154/adf7242.txt |   18 +
 MAINTAINERS|9 +
 drivers/bluetooth/btintel.c|  129 +-
 drivers/bluetooth/btintel.h|   19 +
 drivers/bluetooth/btusb.c  |  138 +-
 drivers/bluetooth/hci_h5.c |   12 +-
 drivers/bluetooth/hci_intel.c  |   52 +-
 drivers/bluetooth/hci_ldisc.c  |8 +-
 drivers/net/ieee802154/Kconfig |   11 +
 drivers/net/ieee802154/Makefile|1 +
 drivers/net/ieee802154/adf7242.c   | 1285 +++
 drivers/net/ieee802154/atusb.c |3 +-
 include/net/6lowpan.h  |   10 +-
 include/net/bluetooth/hci.h|1 -
 include/net/bluetooth/hci_core.h   |   18 +-
 include/net/ipv6.h |   15 +
 net/6lowpan/6lowpan_i.h 

pull request: bluetooth 2015-12-01

2015-12-01 Thread Johan Hedberg
Hi Dave,

Here's a Bluetooth fix for the 4.4-rc series that fixes a memory leak of
the Security Manager L2CAP channel that'll happen for every LE
connection.

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit c5a37883f42be712a989e54d5d6c0159b0e56599:

  Merge branch 'akpm' (patches from Andrew) (2015-11-10 21:14:23 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to 7883746bc663150e8acd7a57397fc889698b0b33:

  Bluetooth: Fix l2cap_chan leak in SMP (2015-11-11 23:48:34 +0100)

--------
Johan Hedberg (1):
  Bluetooth: Fix l2cap_chan leak in SMP

 net/bluetooth/smp.c | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2015-11-23

2015-11-23 Thread Johan Hedberg
Hi Dave,

Here's the first bluetooth-next pull request for the 4.5 kernel.

 - Add new Get Advertising Size Information management command
 - Add support for new system note message type on monitor channel
 - Refactor LE scan changes behind separate workqueue to avoid races
 - Fix issue with privacy feature when powering on adapter
 - Various minor fixes & cleanups here and there

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit d37b4c0a3647db23f41c5ee85701eec356d1:

  be2net: remove local variable 'status' (2015-11-18 15:21:41 -0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to dc4270c0cd880f1b28dd48f2a31d869d22da941e:

  Bluetooth: Increment management interface revision (2015-11-23 14:13:32 +0100)


Andrei Emeltchenko (2):
  Bluetooth: Fix mask for H5 header len
  Bluetooth: Use hex notation for mask

Andrzej Kaczmarek (1):
  Bluetooth: Fix powering on with privacy and advertising

Johan Hedberg (28):
  Bluetooth: Remove redundant setting to zero of bt_cb
  Bluetooth: Compress the size of struct hci_ctrl
  Bluetooth: Add clarifying comment why schedule_work is used
  Bluetooth: Remove unnecessary call to hci_update_background_scan
  Bluetooth: Move synchronous request handling into hci_request.c
  Bluetooth: Add 'sync' specifier to synchronous request APIs
  Bluetooth: Add stubs for synchronous HCI request functionality
  Bluetooth: Run all background scan updates through req_workqueue
  Bluetooth: Don't wait for HCI in Add/Remove Device
  Bluetooth: Add HCI status return parameter to hci_req_sync()
  Bluetooth: Use req_workqueue for explicit connect requests
  Bluetooth: Use req_workqueue for background scanning when powering on
  Bluetooth: Make __hci_update_background_scan private to hci_request.c
  Bluetooth: Move LE scan disable/restart behind req_workqueue
  Bluetooth: Add discovery type validity helper
  Bluetooth: Add error return value to hci_req_sync callback
  Bluetooth: Move Start Discovery to req_workqueue
  Bluetooth: Move Stop Discovery to req_workqueue
  Bluetooth: Fix BR/EDR Page Scan update with Add Device
  Bluetooth: Pass inquiry length to bredr_inquiry()
  Bluetooth: Simplify le_scan_disable_work()
  Bluetooth: Remove unnecessary le_scan_restart_work_complete() function
  Bluetooth: Fix specifying role for LE connections
  Bluetooth: Move check for ongoing connect earlier in hci_connect_le()
  Bluetooth: Remove conn_unfinished variable from hci_connect_le()
  Bluetooth: Simplify request cleanup code
  Bluetooth: Fix returning proper HCI status from __hci_req_sync
  Bluetooth: Increment management interface revision

Marcel Holtmann (14):
  Bluetooth: Move BR/EDR default events behind its features
  Bluetooth: Build LE event mask based on supported commands
  Bluetooth: Fix issue with HCI_QUIRK_FIXUP_INQUIRY_MODE and event mask
  Bluetooth: Make LE only events conditional on supported commands
  Bluetooth: Add hci_skb_* helper wrappers for bt_cb(skb) access
  Bluetooth: Use new hci_skb_pkt_* wrappers for core packet handling
  Bluetooth: Use new hci_skb_pkt_* wrappers for drivers
  Bluetooth: Add missing hci_skb_opcode for raw socket commands
  Bluetooth: Fix casting coding style within HCI sockets
  Bluetooth: Add support for sending system notes to monitor channel
  Bluetooth: Add support for controller specific logging
  Bluetooth: Add instance range check for Add Advertising command
  Bluetooth: Simplify if statements in tlv_data_is_valid function
  Bluetooth: Add support for Get Advertising Size Information command

Markus Elfring (2):
  mac802154: Delete an unnecessary check before the function call 
"kfree_skb"
  Bluetooth: Delete an unnecessary check before the function call 
"kfree_skb"

Prasanna Karthik (3):
  Bluetooth: clean up af_bluetooth code
  Bluetooth: Clean up hci_core code
  Bluetooth: remove unneeded variable in l2cap_stream_rx

 drivers/bluetooth/bfusb.c |   9 +-
 drivers/bluetooth/bluecard_cs.c   |  25 +-
 drivers/bluetooth/bpa10x.c|   4 +-
 drivers/bluetooth/bt3c_cs.c   |  11 +-
 drivers/bluetooth/btmrvl_main.c   |   8 +-
 drivers/bluetooth/btmrvl_sdio.c   |   4 +-
 drivers/bluetooth/btsdio.c|   6 +-
 drivers/bluetooth/btuart_cs.c |  11 +-
 drivers/bluetooth/btusb.c |  48 +--
 drivers/bluetooth/btwilink.c  |   8 +-
 drivers/bluetooth/dtl1_cs.c   |  11 +-
 drivers/bluetooth/hci_ath.c   |   6 +-
 drivers/bluetooth/hci_bcm.c   |   2 +-
 drivers/bluetooth/hci_bcsp.c  |  25 +-
 drivers/bluetooth/hci_h4.c   

pull request: bluetooth 2015-11-05

2015-11-04 Thread Johan Hedberg
Hi Dave,

The following set of Bluetooth patches would be good to get into 4.4-rc1
if possible:

 - Fix for missing LE CoC parameter validity checks
 - Fix for potential deadlock in btusb
 - Fix for issuing unsupported commands during HCI init

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit e1b8d903c6c3862160d2d5036806a94786c8fc4e:

  net: Fix prefsrc lookups (2015-11-04 21:34:37 -0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to 40624183c202278e7e0edd01d1273efc87ddd1f2:

  Bluetooth: L2CAP: Add missing checks for invalid LE DCID (2015-11-05 04:04:15 
+0100)


Johan Hedberg (3):
  Bluetooth: L2CAP: Fix returning correct LE CoC response codes
  Bluetooth: L2CAP: Fix checked range when allocating new CID
  Bluetooth: L2CAP: Add missing checks for invalid LE DCID

Kuba Pawlak (1):
  Bluetooth: Fix possible deadlock in btusb

Marcel Holtmann (1):
  Bluetooth: Check for supported white list before issuing commands

 drivers/bluetooth/btusb.c |  6 --
 include/net/bluetooth/l2cap.h |  2 ++
 net/bluetooth/hci_core.c  | 17 +++--
 net/bluetooth/l2cap_core.c| 20 +---
 4 files changed, 34 insertions(+), 11 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2015-10-28

2015-10-27 Thread Johan Hedberg
Hi Dave,

Here are a some more Bluetooth patches for 4.4 which collected up during
the past week. The most important ones are from Kuba Pawlak for fixing
locking issues with SCO sockets. There's also a fix from Alexander Aring
for 6lowpan, a memleak fix from Julia Lawall for the btmrvl driver and
some cleanup patches from Marcel.

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 13972adc3240ea8b18b44906b819c622941a64b6:

  Bluetooth: Increase minor version of core module (2015-10-22 13:37:26 +0300)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 324e786ee39c70ffbdc280c34b7d2b6da5c87879:

  bluetooth: 6lowpan: fix NOHZ: local_softirq_pending (2015-10-27 09:53:36 
+0100)


Alexander Aring (1):
  bluetooth: 6lowpan: fix NOHZ: local_softirq_pending

Julia Lawall (1):
  Bluetooth: btmrvl: add missing of_node_put

Kuba Pawlak (4):
  Bluetooth: Fix crash on SCO disconnect
  Bluetooth: Fix locking issue on SCO disconnection
  Bluetooth: Fix locking issue during fast SCO reconnection.
  Bluetooth: Fix crash on fast disconnect of SCO

Marcel Holtmann (4):
  Bluetooth: Remove unneeded parenthesis around MSG_OOB
  Bluetooth: Rename bt_cb()->req into bt_cb()->hci
  Bluetooth: Replace hci_notify with hci_sock_dev_event
  Bluetooth: Fix some obvious coding style issues in the SCO module

 drivers/bluetooth/btmrvl_main.c   |  5 -
 include/net/bluetooth/bluetooth.h | 14 ++--
 net/bluetooth/6lowpan.c   |  2 +-
 net/bluetooth/af_bluetooth.c  |  2 +-
 net/bluetooth/hci_core.c  | 43 -
 net/bluetooth/hci_event.c |  4 ++--
 net/bluetooth/hci_request.c   | 10 -
 net/bluetooth/hci_sock.c  |  4 ++--
 net/bluetooth/sco.c   | 44 --
 9 files changed, 73 insertions(+), 55 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2015-10-22

2015-10-22 Thread Johan Hedberg
Hi Dave,

Here's probably the last bluetooth-next pull request for 4.4. Among
several other changes it contains the rest of the fixes & cleanups from
the Bluetooth UnplugFest (that didn't need to be hurried to 4.3).

 - Refactoring & cleanups to 6lowpan code
 - New USB ids for two Atheros controllers and BCM43142A0 from Broadcom
 - Fix (quirk) for broken Broadcom BCM2045 controllers
 - Support for latest Apple controllers
 - Improvements to the vendor diagnostic message support

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 26440c835f8b1a491e2704118ac55bf87334366c:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2015-10-20 
06:08:27 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 13972adc3240ea8b18b44906b819c622941a64b6:

  Bluetooth: Increase minor version of core module (2015-10-22 13:37:26 +0300)


Alexander Aring (13):
  mac802154: llsec: use kzfree
  bluetooth: 6lowpan: use lowpan dispatch helpers
  6lowpan: introduce LOWPAN_IPHC_MAX_HC_BUF_LEN
  6lowpan: cleanup lowpan_header_compress
  6lowpan: cleanup lowpan_header_decompress
  6lowpan: remove lowpan_fetch_skb_u8
  6lowpan: nhc: move iphc manipulation out of nhc
  6lowpan: move IPHC functionality defines
  6lowpan: remove lowpan_is_addr_broadcast
  6lowpan: iphc: change define values
  6lowpan: rework tc and flow label handling
  6lowpan: put mcast compression in an own function
  ieee802154: 6lowpan: fix memory leak

Arnd Bergmann (1):
  Bluetooth: bpa10x: fix BT_HCIUART dependency

Dan Carpenter (1):
  Bluetooth: hci_bcm: checking for ERR_PTR instead of NULL

David Herrmann (1):
  Bluetooth: hidp: fix device disconnect on idle timeout

Dean Jenkins (3):
  Bluetooth: Unwind l2cap_sock_shutdown()
  Bluetooth: Reorganize mutex lock in l2cap_sock_shutdown()
  Bluetooth: l2cap_disconnection_req priority over shutdown

Dmitry Tunin (2):
  Bluetooth: ath3k: Add new AR3012 0930:021c id
  Bluetooth: ath3k: Add support of AR3012 0cf3:817b device

Johan Hedberg (16):
  Bluetooth: Don't use remote address type to decide IRK persistency
  Bluetooth: Fix removing connection parameters when unpairing
  Bluetooth: Fix missing hdev locking for LE scan cleanup
  Bluetooth: Add le_addr_type() helper function
  Bluetooth: Add hci_conn_hash_lookup_le() helper function
  Bluetooth: Use hci_conn_hash_lookup_le() when possible
  Bluetooth: 6lowpan: Use hci_conn_hash_lookup_le() when possible
  Bluetooth: Remove unnecessary indentation in unpair_device()
  Bluetooth: Add hdev helper variable to hci_le_create_connection_cancel
  Bluetooth: Remove redundant (and possibly wrong) flag clearing
  Bluetooth: Remove unnecessary hci_explicit_connect_lookup function
  Bluetooth: Disable auto-connection parameters when unpairing
  Bluetooth: Fix crash in SMP when unpairing
  Bluetooth: Introduce hci_req helper to abort a connection
  Bluetooth: Take advantage of connection abort helpers
  Bluetooth: Make hci_disconnect() behave correctly for all states

Marcel Holtmann (21):
  Bluetooth: bpa10x: Fix missing BT_HCIUART dependency
  Bluetooth: btusb: Add support for Broadcom LM_DIAG interface
  Bluetooth: btintel: Add support for enabling tracing functionality
  Bluetooth: Remove quirk for HCI_VENDOR_PKT filter handling
  Bluetooth: Restrict valid packet types via HCI_CHANNEL_RAW
  Bluetooth: Queue diagnostic messages together with HCI packets
  Bluetooth: btusb: Print information of Intel SfP lock states
  Bluetooth: Add new quirk for non-persistent diagnostic settings
  Bluetooth: btintel: Set quirk for non-persistent diagnostic settings
  Bluetooth: btintel: Add diagnostic support for older controllers
  Bluetooth: btusb: Mark BCM2045 devices to have broken link key commands
  Bluetooth: btbcm: Fix firmware version number calculation
  Bluetooth: btbcm: Read USB product information for Apple devices
  Bluetooth: Add support setup stage internal notification event
  Bluetooth: btusb: Set early vendor info for Intel and Broadcom
  Bluetooth: btusb: Add support for latest Apple controllers
  Bluetooth: hci_uart: Provide initial manufacturer information
  Bluetooth: Introduce driver specific post init callback
  Bluetooth: btusb: Set manufacturer for Intel bootloader devices
  Bluetooth: btintel: Enable extra Intel vendor events
  Bluetooth: Increase minor version of core module

Santtu Rekilä (1):
  Bluetooth: btusb: Add support for Foxconn/Lenovo BCM43142A0 (105b:e065)

 drivers/bluetooth/Kconfig|   2 +-
 drivers/bluetooth/ath3k.c|   4 +
 dr

pull request: bluetooth 2015-10-16

2015-10-16 Thread Johan Hedberg
Hi Dave,

First of all, sorry for the late set of patches for the 4.3 cycle. We
just finished an intensive week of testing at the Bluetooth UnPlugFest
and discovered (and fixed) issues there. Unfortunately a few issues
affect 4.3-rc5 in a way that they break existing Bluetooth LE mouse and
keyboard support.

The regressions result from supporting LE privacy in conjunction with
scanning for Resolvable Private Addresses before connecting. A feature
that has been tested heavily (including automated unit tests), but sadly
some regressions slipped in. The UnPlugFest with its multitude of test
platforms is a good battle testing ground for uncovering every corner
case.

The patches in this pull request focus only on fixing the regressions in
4.3-rc5. The patches look a bit larger since we also added comments in
the critical sections of the fixes to improve clarity.

I would appreciate if we can get these regression fixes to Linus
quickly. Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 53ca376eec4eb635e2249c8e89093f499e180731:

  mlxsw: core: Fix race condition in __mlxsw_emad_transmit (2015-10-15 06:03:06 
-0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to 5157b8a503fa834e8569c7fed06981e3d3d53db0:

  Bluetooth: Fix initializing conn_params in scan phase (2015-10-16 09:24:41 
+0200)


Jakub Pawlowski (2):
  Bluetooth: Fix double scan updates
  Bluetooth: Fix initializing conn_params in scan phase

Johan Hedberg (4):
  Bluetooth: Fix reference counting for LE-scan based connections
  Bluetooth: Fix LE reconnection logic
  Bluetooth: Fix remove_device behavior for explicit connects
  Bluetooth: Fix conn_params list update in hci_connect_le_scan_cleanup

 net/bluetooth/hci_conn.c  | 99 +-
 net/bluetooth/hci_core.c  |  7 
 net/bluetooth/hci_event.c | 11 --
 net/bluetooth/mgmt.c  | 24 +--
 4 files changed, 99 insertions(+), 42 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2015-10-08

2015-10-08 Thread Johan Hedberg
Hi Dave,

Here's another set of Bluetooth & 802.15.4 patches for the 4.4 kernel.

802.15.4:
 - Many improvements & fixes to the mrf24j40 driver
 - Fixes and cleanups to nl802154, mac802154 & ieee802154 code

Bluetooth:
 - New chipset support in btmrvl driver
 - Fixes & cleanups to btbcm, btmrvl, bpa10x & btintel drivers
 - Support for vendor specific diagnostic data through common API
 - Cleanups to the 6lowpan code
 - New events & message types for monitor channel

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 97170ea1823bf00cf6ed0f503129e9053a66c53a:

  drivers/net/ieee802154/at86rf230.c: seq_printf() now returns NULL (2015-09-21 
20:41:44 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to f640ee98bbeaa169684a571e0b96bea563bb6015:

  Bluetooth: Fix basic debugfs entries for unconfigured controllers (2015-10-08 
15:33:18 +0300)


Alexander Aring (42):
  mac802154: llsec: fix device deletion from list
  ieee802154: header_ops: fix frame control setting
  ieee802154: introduce wpan_dev_header_ops
  ieee802154: change needed headroom/tailroom
  mac802154: tx: add warning if MTU exceeds
  at86rf230: support edge triggered irq
  mrf24j40: cleanup define identation
  mrf24j40: use ieee802154_alloc_hw for private data
  mrf24j40: calling ieee802154_register_hw at last
  mrf24j40: remove spi settings overwrite
  mrf24j40: add device-tree support
  mrf24j40: add default channel setting
  mrf24j40: add random extended addr generation
  mrf24j40: add more register defines
  mrf24j40: add regmap support
  mrf24j40: use regmap for register access
  mrf24j40: change to frame delivery with crc
  ieee802154: add helpers for frame control checks
  mrf24j40: rework tx handling to async tx handling
  mrf24j40: rework rx handling to async rx handling
  mrf24j40: async interrupt handling
  mrf24j40: add csma params support
  mrf24j40: add cca mode support
  mrf24j40: add cca ed level support
  mrf24j40: add tx power support
  mrf24j40: add promiscuous mode support
  mrf24j40: change irq trigger type behaviour
  mrf24j40: replace magic numbers
  mrf24j40: remove trailing semicolon
  ieee802154: remove unnecessary includes
  mac802154: iface: assume big endian for af_packet
  netlink: add nla_get for le32 and le64
  nl802154: use nla_get_le64 for get extended addr
  nl802154: add support for security layer
  mac802154: add comments for llsec issues
  ieee802154: change mtu size behaviour
  mac802154: check on len instead mac_len
  ieee802154: 6lowpan: change datagram var types
  ieee802154: 6lowpan: don't skip first dsn while fragmentation
  ieee802154: 6lowpan: add tx/rx stats
  ieee802154: handle datagram variables as u16
  6lowpan: move shared settings to lowpan_netdev_setup

Amitkumar Karwar (2):
  Bluetooth: btmrvl: remove extra space in cast
  Bluetooth: btmrvl: add sd8997 chipset support

Dan Carpenter (1):
  nl802154: Missing return in nl802154_add_llsec_key()

Frederic Danis (5):
  Bluetooth: Add BT_WARN and bt_dev_warn logging macros
  Bluetooth: hci_bcm: Fix IRQ polarity for T100
  Bluetooth: hci_bcm: Prepare PM runtime support
  Bluetooth: Remove useless rx_lock spinlock
  Bluetooth: hci_bcm: Add suspend/resume runtime PM functions

Jarkko Nikula (6):
  Bluetooth: hci_intel: Cleanup the device probe code
  Bluetooth: hci_bcm: Add missing acpi_dev_free_resource_list()
  Bluetooth: hci_bcm: Handle possible error from acpi_dev_get_resources()
  Bluetooth: hci_bcm: Remove needless acpi_match_device() call
  Bluetooth: hci_bcm: Remove needless looking code
  Bluetooth: hci_bcm: Do not test ACPI companion in bcm_acpi_probe()

Johan Hedberg (6):
  Bluetooth: 6lowpan: Fix imtu & omtu values
  Bluetooth: 6lowpan: Remove redundant (and incorrect) MPS assignments
  Bluetooth: 6lowpan: Remove redundant BT_CONNECTED assignment
  Bluetooth: 6lowpan: Remove unnecessary chan_open() function
  Bluetooth: 6lowpan: Rename confusing 'pchan' variables
  Bluetooth: 6lowpan: Remove unnecessary chan_get() function

Loic Poulain (2):
  Bluetooth: Add hci_cmd_sync function
  Bluetooth: btintel: Add iBT register access over HCI support

Marcel Holtmann (18):
  Bluetooth: btbcm: Send HCI Reset before sending Apple specific commands
  Bluetooth: Limit userspace exposure of stack internal events
  Bluetooth: Introduce HCI_DEV_OPEN and HCI_DEV_CLOSE events
  Bluetooth: Move HCI_RUNNING check into hci_send_frame
  Bluetooth: Move handling of HCI_RUNNING flag into core
  Bluetoo

pull request: bluetooth-next 2015-09-18

2015-09-18 Thread Johan Hedberg
Hi Dave,

Here's the first bluetooth-next pull request for the 4.4 kernel:

 - ieee802154 cleanups & fixes
 - debugfs support for the at86rf230 driver
 - Support for quirky (seemingly counterfeit) CSR Bluetooth controllers
 - Power management and device config improvements for Intel controllers
 - Fix for devices with incorrect advertising data length
 - Fix for closing HCI user channel socket

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 37d2dbcdcca88e392009d7cbe8617d5af0ebcb32:

  net: fix cdc-phonet.c dependency and build error (2015-09-16 11:51:19 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 6818375e974aa8659c3d2b1bf4b660a2a7929077:

  Bluetooth: Fix reporting incorrect EIR in device found mgmt event (2015-09-18 
09:53:20 +0200)


Alexander Aring (22):
  ieee802154: 6lowpan: change dev vars to wdev and ldev
  ieee802154: 6lowpan: register packet layer while open
  ieee802154: 6lowpan: remove check on null
  ieee802154: 6lowpan: remove set to zero
  ieee802154: 6lowpan: remove EXPORT_SYMBOL
  ieee802154: 6lowpan: change if lowpan dev is running
  ieee802154: 6lowpan: cleanup pull of iphc bytes
  ieee802154: 6lowpan: trivial checks at first
  ieee802154: 6lowpan: earlier skb->dev switch
  ieee820154: 6lowpan: dispatch evaluation rework
  ieee802154: 6lowpan: add generic lowpan header check
  ieee802154: 6lowpan: add handler for all dispatch values
  ieee802154: 6lowpan: add check for reserved dispatch
  ieee802154: 6lowpan: check on valid 802.15.4 frame
  ieee802154: 6lowpan: remove packet type to host
  ieee802154: 6lowpan: remove tx full-size calc workaround
  ieee802154: 6lowpan: fix drop return value
  at86rf230: change trac status check behaviour
  at86rf230: interrupt tx with force trx_off
  at86rf230: add debugfs support
  at86rf230: detailed edge triggered irq warning
  atusb: add handling for different chipnames

Frederic Danis (3):
  Bluetooth: hci_bcm: Replace spinlock by mutex
  Bluetooth: hci_bcm: Use bt_dev logging helpers
  Bluetooth: hci_bcm: Add wake-up capability

Johan Hedberg (2):
  Bluetooth: Use BROKEN_STORED_LINK_KEY quirk for HCI_Read_Stored_Link_Key
  Bluetooth: btusb: Detect new kind of counterfeit CSR controllers

Kieran Bingham (1):
  Bluetooth: btmrvl: skb resource leak, and double free.

Kuba Pawlak (1):
  Bluetooth: Remove SCO fragments on connection close

Loic Poulain (15):
  Bluetooth: Add bt_dev logging macros
  Bluetooth: hci_intel: Retrieve host-wake IRQ
  Bluetooth: hci_intel: Introduce LPM support
  Bluetooth: hci_intel: Use bt_dev logging helpers
  Bluetooth: hci_intel: Replace spinlock with mutex
  Bluetooth: hci_intel: Implement LPM suspend/resume
  Bluetooth: hci_intel: Add PM support
  Bluetooth: hci_intel: Add runtime PM support
  Bluetooth: hci_intel: Show error in case of invalid LPM packet size
  Bluetooth: hci_intel: Fix warnings due to unused lpm functions
  Bluetooth: btintel: Add Device Configuration support
  Bluetooth: hci_intel: Add Device configuration
  Bluetooth: btusb: Use btintel_load_ddc_config for device config
  Bluetooth: hci_intel: Give priority to LPM packets
  Bluetooth: hci_intel: Enable IRQ wake capability

Marcel Holtmann (2):
  Bluetooth: hci_qca: Fix a few tab vs spaces issues
  Bluetooth: Fix typo in smp_ah comment for hash function

Prasanna Karthik (2):
  Bluetooth: bt3c_cs: clean up obsolete functions
  Bluetooth: hci_qca: Coding style clean up

Simon Fels (1):
  Bluetooth: close HCI device when user channel socket gets closed

Stefan Schmidt (3):
  ieee802154: 6lowpan: use correct ESC value for dispatch
  ieee802154: docs: fix project name to linux-wpan as well as some typos
  ieee802154: af_ieee802154: fix typo in comment.

Szymon Janc (2):
  Bluetooth: Add BT_ERR_RATELIMITED
  Bluetooth: Fix reporting incorrect EIR in device found mgmt event

Vincent Stehlé (1):
  Bluetooth: btintel: fix warning

 Documentation/networking/ieee802154.txt |   8 +-
 drivers/bluetooth/bt3c_cs.c |  12 +-
 drivers/bluetooth/btintel.c |  46 +++
 drivers/bluetooth/btintel.h |  10 +-
 drivers/bluetooth/btmrvl_main.c |  14 -
 drivers/bluetooth/btusb.c   |  51 +--
 drivers/bluetooth/hci_bcm.c | 222 ---
 drivers/bluetooth/hci_intel.c   | 590 ++
 drivers/bluetooth/hci_qca.c |  12 +-
 drivers/net/ieee802154/Kconfig  |   7 +
 drivers/net/ieee802154/at86rf230.c  | 195 +++---
 drivers/net/ieee802154/at86rf230.h  |   8 +
 drivers/net/ieee80

pull request: bluetooth 2015-09-17

2015-09-17 Thread Johan Hedberg
Hi Dave,

Here's one important patch for the 4.3-rc series that fixes an issue
with Bluetooth LE encryption failing because of a too early check for
the SMP context.

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 20471ed4d403a5f4de6aa0c10cd1e446f7f2b3c7:

  dccp: drop null test before destroy functions (2015-09-15 16:49:43 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to d8949aad3eab5d396f4fefcd581773bf07b9a79e:

  Bluetooth: Delay check for conn->smp in smp_conn_security() (2015-09-17 
12:28:27 +0200)

----
Johan Hedberg (1):
  Bluetooth: Delay check for conn->smp in smp_conn_security()

 net/bluetooth/smp.c | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)


signature.asc
Description: PGP signature


pull request: bluetooth-next 2015-08-28

2015-08-28 Thread Johan Hedberg
Hi Dave,

One more bunch of Bluetooth patches for 4.3:

 - Crash fix for hci_bcm driver
 - Enhancements to hci_intel driver (e.g. baudrate configuration)
 - Fix for SCO link type after multiple connect attempts
 - Cleanups & minor fixes in a few other places

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 9cd3778cd7e8f165675705511cfcd4ea6eb88d27:

  Merge branch 'mlx5e-next' (2015-08-17 15:51:36 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 917522aae169ad02010dcee6ae42c16155bcd285:

  Bluetooth: hci_bcm: Fix crash on suspend (2015-08-28 21:09:14 +0200)


Frederic Danis (1):
  Bluetooth: hci_bcm: Fix crash on suspend

Kuba Pawlak (1):
  Bluetooth: Fix SCO link type handling on connection complete

Loic Poulain (4):
  Bluetooth: hci_bcm: Use non-sleep version of gpio_set_value
  Bluetooth: hci_uart: Fix zero len data packet reception issue
  Bluetooth: hci_intel: Add Intel baudrate configuration support
  Bluetooth: hci_intel: Add support for platform driver

Marcel Holtmann (1):
  Bluetooth: btintel: Add MODULE_FIRMWARE entries for iBT 3.0 controllers

Minjune Kim (1):
  Bluetooth: btusb: Correct typos based on checkpatch.pl

Nicholas Krause (1):
  Bluetooth: Make the function sco_conn_del have a return type of void

Shengzhen Li (1):
  Bluetooth: btmrvl: change device pointer passed to dev_coredumpv

Stefan Schmidt (1):
  nl802154: stricter input checking for boolean inputs

 drivers/bluetooth/btintel.c |   2 +
 drivers/bluetooth/btmrvl_sdio.c |   3 +-
 drivers/bluetooth/btusb.c   |   4 +-
 drivers/bluetooth/hci_bcm.c |  40 +++--
 drivers/bluetooth/hci_h4.c  |   9 +-
 drivers/bluetooth/hci_intel.c   | 321 +--
 net/bluetooth/hci_event.c   |  12 +-
 net/bluetooth/sco.c |   5 +-
 net/ieee802154/nl802154.c   |  16 +-
 9 files changed, 372 insertions(+), 40 deletions(-)


pgplluCLIvgKn.pgp
Description: PGP signature


Re: [PATCH] bluetooth:Fix error checking in the function hci_disconn_complete_evt

2015-08-24 Thread Johan Hedberg
Hi Nicholas,

On Wed, Aug 19, 2015, Nicholas Krause wrote:
> This fixes error checking in the function hci_disconn_complete_evt
> to properly check if it's call to the function hci_remove_link_key
> returns NULL to signal it has not correctly removed the link key
> on the passed hci_dev structure pointer and if so jump to the goto
> label unlock to unlock the caller's passed hci_dev structure pointer
> as this function cannot continue its intended work after this failed
> 
> Signed-off-by: Nicholas Krause 
> ---
>  net/bluetooth/hci_event.c | 6 --
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
> index 32363c2..5174649 100644
> --- a/net/bluetooth/hci_event.c
> +++ b/net/bluetooth/hci_event.c
> @@ -2448,8 +2448,10 @@ static void hci_disconn_complete_evt(struct hci_dev 
> *hdev, struct sk_buff *skb)
>   reason, mgmt_connected);
>  
>   if (conn->type == ACL_LINK) {
> - if (test_bit(HCI_CONN_FLUSH_KEY, &conn->flags))
> - hci_remove_link_key(hdev, &conn->dst);
> + if (test_bit(HCI_CONN_FLUSH_KEY, &conn->flags)) {
> + if (!hci_remove_link_key(hdev, &conn->dst))
> + goto unlock;
> + }
>  
>   hci_update_page_scan(hdev);
>   }

This doesn't look correct to me. The only scenario where
hci_remove_link_key() may fail is if there was no existing key (it'll
return -ENOENT then). This is a perfectly normal thing that will occur
for a disconnection of a non-paired device, so any other cleanups like
hci_update_page_scan() should still go ahead.

Johan
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


pull request: bluetooth-next 2015-08-16

2015-08-15 Thread Johan Hedberg
Hi Dave,

Here's what's likely the last bluetooth-next pull request for 4.3:

 - 6lowpan/802.15.4 refactoring, cleanups & fixes
 - Document 6lowpan netdev usage in Documentation/networking/6lowpan.txt
 - Support for UART based QCA Bluetooth controllers
 - Power management support for Broeadcom Bluetooth controllers
 - Change LE connection initiation to always use passive scanning first
 - Support for new Silicon Wave USB ID

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 2cf1b5ce16b61259e3633fb61e6fedaad6e25fc5:

  Merge branch 'mlxsw-fixes' (2015-08-09 22:54:31 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to c0015bf3a34961342a27b021672049e535ab36a1:

  ieee802154: 6lowpan: fix non-lowpan wpan interfaces (2015-08-15 23:28:09 
+0200)


Alexander Aring (13):
  ieee802154: 6lowpan: remove multiple lowpan per wpan support
  mac802154: fix wpan mac setting while lowpan is there
  mac802154: cfg: remove test and set checks
  mac802154: change frame_retries behaviour
  at86rf230: use STATE_TX_ARET mode only
  ieee802154: add ack request default handling
  ieee802154: 6lowpan: fix error frag handling
  Bluetooth: 6lowpan: change netdev_priv to lowpan_dev
  6lowpan: add generic 6lowpan netdev private data
  6lowpan: move module_init into core functionality
  documentation: networking: add 6lowpan documentation
  ieee802154: 6lowpan: fix packet layer registration
  ieee802154: 6lowpan: fix non-lowpan wpan interfaces

Aniket Nagarnaik (1):
  Bluetooth: btmrvl: release sdio bus after firmware is up

Ben Young Tae Kim (2):
  Bluetooth: btqca: Introduce generic QCA ROME support
  Bluetooth: hciuart: Add support QCA chipset for UART

Ben YoungTae Kim (1):
  Bluetooth: hciuart: Fix to use boolean flag with u32 type

Dan Carpenter (1):
  Bluetooth: Fix breakage in amp_write_rem_assoc_frag()

Frederic Danis (5):
  Bluetooth: hci_bcm: Add PM for BCM devices
  net: rfkill: gpio: Remove BCM2E39 support
  Bluetooth: hci_bcm: Retrieve UART speed from ACPI
  Bluetooth: hci_bcm: Add suspend/resume PM functions
  Bluetooth: hci_bcm: Fix "implicit declaration"

Jakub Pawlowski (6):
  Bluetooth: preparation for new connect procedure
  Bluetooth: add hci_lookup_le_connect
  Bluetooth: add hci_connect_le_scan
  Bluetooth: advertisement handling in new connect procedure
  Bluetooth: timeout handling in new connect procedure
  Bluetooth: Enable new connection establishment procedure.

Lukasz Duda (1):
  6lowpan: Fix extraction of flow label field

Peter Poklop (1):
  Bluetooth: btusb: mark 0c10: devices with BTUSB_SWAVE

Uwe Kleine-König (1):
  Bluetooth: hci_bcm: improve use of gpios API

Yong Li (1):
  cc2520: set the default fifo pin value from platform data

 Documentation/networking/6lowpan.txt |  50 ++
 MAINTAINERS  |   1 +
 drivers/bluetooth/Kconfig|  17 +
 drivers/bluetooth/Makefile   |   2 +
 drivers/bluetooth/btmrvl_sdio.c  |   4 +-
 drivers/bluetooth/btqca.c| 392 ++
 drivers/bluetooth/btqca.h| 135 +
 drivers/bluetooth/btusb.c|   3 +
 drivers/bluetooth/hci_bcm.c  | 310 ++-
 drivers/bluetooth/hci_ldisc.c|   6 +
 drivers/bluetooth/hci_qca.c  | 969 ++
 drivers/bluetooth/hci_uart.h |   8 +-
 drivers/net/ieee802154/at86rf230.c   |  52 +-
 drivers/net/ieee802154/cc2520.c  |   1 +
 include/net/6lowpan.h|  23 +
 include/net/bluetooth/hci_core.h |  29 +
 include/net/cfg802154.h  |   8 +
 include/net/nl802154.h   |   4 +
 net/6lowpan/Makefile |   2 +-
 net/6lowpan/core.c   |  40 ++
 net/6lowpan/iphc.c   |  21 +-
 net/bluetooth/6lowpan.c  |  11 +-
 net/bluetooth/amp.c  |   2 +-
 net/bluetooth/hci_conn.c | 235 -
 net/bluetooth/hci_core.c |  33 ++
 net/bluetooth/hci_event.c|  55 +-
 net/bluetooth/hci_request.c  |   6 +-
 net/bluetooth/l2cap_core.c   |   6 +-
 net/bluetooth/mgmt.c |  15 +-
 net/ieee802154/6lowpan/6lowpan_i.h   |  11 +-
 net/ieee802154/6lowpan/core.c|  79 ++-
 net/ieee802154/6lowpan/rx.c  |  45 +-
 net/ieee802154/6lowpan/tx.c  |   4 +-
 net/ieee802154/nl802154.c|  33 ++
 net/ieee802154/rdev-ops.h|  13 +
 net/ieee802154/trace.h   |  19 +
 net/mac802154/cfg.c  |  27 +-
 net/mac802154/iface.c|  18 +-
 net/mac802154/main.c |   9 +-
 net/rfkill/rfkill-gpio.c |   1 -
 40 f

pull request: bluetooth 2015-08-11

2015-08-11 Thread Johan Hedberg
Hi Dave,

Here's an important regression fix for the 4.2-rc series that ensures
user space isn't given invalid LTK values. The bug essentially prevents
the encryption of subsequent LE connections, i.e. makes it impossible to
pair devices over LE.

Let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 2475b22526d70234ecfe4a1ff88aed69badefba9:

  xen-netback: Allocate fraglist early to avoid complex rollback (2015-08-03 
22:23:03 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to cb92205bad2e4dd630b884142dd707b72504c200:

  Bluetooth: fix MGMT_EV_NEW_LONG_TERM_KEY event (2015-08-06 16:36:03 +0200)


Jakub Pawlowski (1):
  Bluetooth: fix MGMT_EV_NEW_LONG_TERM_KEY event

 net/bluetooth/mgmt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


pgpVjr3jMhqxm.pgp
Description: PGP signature


pull request: bluetooth-next 2015-07-30

2015-07-30 Thread Johan Hedberg
Hi Dave,

Here's a set of Bluetooth & 802.15.4 patches intended for the 4.3 kernel.

 - Cleanups & fixes to mac802154
 - Refactoring of Intel Bluetooth HCI driver
 - Various coding style fixes to Bluetooth HCI drivers
 - Support for Intel Lightning Peak Bluetooth devices
 - Generic class code in interface descriptor in btusb to match more HW
 - Refactoring of Bluetooth HS code together with a new config option
 - Support for BCM4330B1 Broadcom UART controller

Let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit 045a0fa0c5f5ea0f16c009f924ea579634afbba8:

  ip_tunnel: Call ip_tunnel_core_init() from inet_init() (2015-07-23 01:28:21 
-0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 5857d1dbae7d5bf4219efc39996ad002362a2951:

  Bluetooth: 6lowpan: Fix possible race (2015-07-30 14:11:36 +0200)


Alexander Aring (6):
  mac802154: add llsec address update workaround
  6lowpan: add request for ipv6 module
  mac802154: util: add stop_device utility function
  mac802154: cfg: add suspend and resume callbacks
  at86rf230: remove hrtimer on 1 usec delay
  Bluetooth: 6lowpan: Fix possible race

Antonio Borneo (1):
  net: ieee802154: Remove redundant spi driver bus initialization

Arron Wang (5):
  Bluetooth: Add BT_HS config option
  Bluetooth: Move high speed specific event under BT_HS option
  Bluetooth: Move get info completed callback to a2mp.c
  Bluetooth: Move amp assoc read/write completed callback to amp.c
  Bluetooth: Move create/accept phy link completed callback to amp.c

Christophe JAILLET (1):
  Bluetooth: cmtp: Do not use list_for_each_safe when not needed

Daniel Drake (1):
  Bluetooth: btusb: match generic class code in interface descriptor

Dean Jenkins (5):
  Bluetooth: L2CAP ERTM shutdown protect sk and chan
  Bluetooth: Make __l2cap_wait_ack more efficient
  Bluetooth: Add BT_DBG to l2cap_sock_shutdown()
  Bluetooth: __l2cap_wait_ack() use msecs_to_jiffies()
  Bluetooth: __l2cap_wait_ack() add defensive timeout

Frederic Danis (1):
  Bluetooth: btbcm: Add BCM4330B1 UART device

Jakub Pawlowski (1):
  Bluetooth: Move IRK checking logic in preparation to new connect method

Lennert Buytenhek (1):
  mac802154: Fix memory corruption with global deferred transmit state.

Loic Poulain (1):
  Bluetooth: hci_uart: Add basic support for Intel Lightning Peak devices

Marcel Holtmann (5):
  Bluetooth: btintel: Add generic function for handling hardware errors
  Bluetooth: btusb: Use hardware error handler from Intel module
  Bluetooth: hci_uart: Add Intel address configuration support
  Bluetooth: btintel: Create common Intel Secure Send function
  Bluetooth: btintel: Create common function for Intel version info

Prasanna Karthik (7):
  Bluetooth: dtl1_cs: Fix coding style -- clean up
  Bluetooth: bfusb: Coding style fix reported by coccinelle
  Bluetooth: dtl1_cs: Fixed coding style
  Bluetooth: bt3c_cs: Fix coding style
  Bluetooth: btmrvl: Coding style Fix for btmrvl header
  Bluetooth: hci_ldisc: Cleaned up coding style warnings
  Bluetooth: hci_h5: Cleaned up coding style warnings

Seungyoun Ju (1):
  Bluetooth: hci_check_conn_params() check proper range

Varka Bhadram (5):
  mac802154: use WARN_ON() macro
  mac802154: remove unused macro
  cfg802154: add PM hooks
  mac802154: do not export ieee802154_rx()
  mac802154: fix ieee802154_rx handling

 drivers/bluetooth/Kconfig  |   1 +
 drivers/bluetooth/bfusb.c  |   2 +-
 drivers/bluetooth/bt3c_cs.c|   2 +-
 drivers/bluetooth/btbcm.c  |   8 +-
 drivers/bluetooth/btintel.c|  80 +
 drivers/bluetooth/btintel.h|  19 ++
 drivers/bluetooth/btmrvl_drv.h |   6 +-
 drivers/bluetooth/btusb.c  |  94 +-
 drivers/bluetooth/dtl1_cs.c|   6 +-
 drivers/bluetooth/hci_h5.c |   2 +-
 drivers/bluetooth/hci_intel.c  | 561 
 drivers/bluetooth/hci_ldisc.c  |   8 +-
 drivers/bluetooth/hci_uart.h   |   5 +
 drivers/net/ieee802154/at86rf230.c |   4 +-
 drivers/net/ieee802154/cc2520.c|   1 -
 drivers/net/ieee802154/mrf24j40.c  |   1 -
 include/net/bluetooth/hci_core.h   |   2 +-
 include/net/bluetooth/l2cap.h  |   2 +
 include/net/cfg802154.h|   2 +
 include/net/mac802154.h|  17 --
 net/6lowpan/iphc.c |   2 +
 net/bluetooth/6lowpan.c|  23 +-
 net/bluetooth/Kconfig  |   5 +
 net/bluetooth/Makefile |   3 +-
 net/bluetooth/a2mp.c   |  17 +-
 net/bluetooth/a2mp.h   |  19 ++
 net/bluetooth/amp.c| 134 -
 net/bluetooth/amp.h|

pull request: bluetooth 2015-07-23

2015-07-23 Thread Johan Hedberg
Hi Dave,

Here's another one-patch pull request for 4.2 which targets a potential
NULL pointer dereference in the LE Security Manager code that can be
triggered by using older user space tools. The issue has been there
since 4.0 so there's the appropriate "Cc: stable" in place.

Let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit c5dfd654d0ec0a28fe81e7bd4d4fd984a9855e09:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2015-07-22 
14:45:25 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to 25ba265390c09b0a2b2f3fd9ba82e37248b7a371:

  Bluetooth: Fix NULL pointer dereference in smp_conn_security (2015-07-23 
16:41:24 +0200)

--------
Johan Hedberg (1):
  Bluetooth: Fix NULL pointer dereference in smp_conn_security

 net/bluetooth/smp.c | 4 
 1 file changed, 4 insertions(+)


pgpzubXBpONK9.pgp
Description: PGP signature


pull request: bluetooth 2015-07-15

2015-07-15 Thread Johan Hedberg
Hi Dave,

Here's a regression fix for Broadcom Bluetooth adapters found at least
in certain Apple laptops. The issue was introduced in 4.1 so there's the
appropriate "Cc: stable" entry for it.

Let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit f760b87f8f12eb262f14603e65042996fe03720e:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2015-07-13 
11:18:25 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to 7bee8b08c428b63aa4a3765bb907602e36355378:

  Bluetooth: btbcm: allow btbcm_read_verbose_config to fail on Apple 
(2015-07-14 22:54:55 +0200)


Chris Mason (1):
  Bluetooth: btbcm: allow btbcm_read_verbose_config to fail on Apple

 drivers/bluetooth/btbcm.c | 11 +--
 1 file changed, 5 insertions(+), 6 deletions(-)



pgp4rhOGzCH2s.pgp
Description: PGP signature


pull request: bluetooth 2015-07-02

2015-07-02 Thread Johan Hedberg
Hi Dave,

A couple of regressions crept in because of a patch to use proper list
APIs rather than manually reading & writing the next/prev pointers
(commit 835a6a2f8603237a3e6cded5a6765090ecb06ea5). Turns out this was
masking a few bugs: a missing INIT_LIST_HEAD() call and incorrectly
using list_del() rather than list_del_init(). The two patches in this
set fix these, and it'd be nice they could still make it to 4.2-rc1 to
avoid new bug reports from users.

Please let me know if there are any issues pulling. Thanks.

Johan

--
The following changes since commit 011cb197a84ed547c2b6b12a86adbeec1be0fdaf:

  Merge branch 'bnx2x' (2015-06-25 06:30:43 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git 
for-upstream

for you to fetch changes up to ab944c83f6690df0c7f67e6bcc29fc0c82ef6021:

  Bluetooth: Reinitialize the list after deletion for session user list 
(2015-06-30 21:46:19 +0200)


Tedd Ho-Jeong An (2):
  Bluetooth: hidp: Initialize list header of hidp session user
  Bluetooth: Reinitialize the list after deletion for session user list

 net/bluetooth/hidp/core.c  | 1 +
 net/bluetooth/l2cap_core.c | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)


pgpLl4z8LLUSZ.pgp
Description: PGP signature


Re: pull request: bluetooth-next 2015-06-18

2015-06-23 Thread Johan Hedberg
Hi Markus,

On Tue, Jun 23, 2015, Markus Pfau wrote:
> Am 23.06.2015 um 12:22 schrieb David Miller:
> >From: Johan Hedberg 
> >Date: Thu, 18 Jun 2015 21:43:11 +0300
> >
> >>Here's the final bluetooth-next pull request for 4.2.
> >>
> >>  - Cleanups & fixes to 802.15.4 code and related drivers
> >>  - Fix btusb driver memory leak
> >>  - New USB IDs for Atheros controllers
> >>  - Support for BCM4324B3 UART based Broadcom controller
> >>  - Fix for Bluetooth encryption key size handling
> >>  - Broadcom controller initialization fixes
> >>  - Support for Intel controller DDC parameters
> >>  - Support for multiple Bluetooth LE advertising instances
> >>  - Fix for HCI user channel cleanup path
> >>
> >>Please let me know if there are any issues pulling. Thanks.
> >Pulled, thanks Johan,
> >--
> >To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> >the body of a message to majord...@vger.kernel.org
> >More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Hi David,
> 
> I didn't get any response to my issue "High CPU load when turning off BT
> keyboard" from 2015-06-15.
> Is it already fixed in "Fix for HCI user channel cleanup path" ?

Your issue (and fix) is user space related whereas this pull request was
for the kernel, so they are completely unrelated (we shouldn't bother
the netdev folks any further with this so please drop Dave and netdev if
you reply to this).

As for your fix, please resend it to linux-bluetooth using git
send-email so that we can continue the discussion around it there.

Johan
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


pull request: bluetooth-next 2015-06-18

2015-06-18 Thread Johan Hedberg
Hi Dave,

Here's the final bluetooth-next pull request for 4.2.

 - Cleanups & fixes to 802.15.4 code and related drivers
 - Fix btusb driver memory leak
 - New USB IDs for Atheros controllers
 - Support for BCM4324B3 UART based Broadcom controller
 - Fix for Bluetooth encryption key size handling
 - Broadcom controller initialization fixes
 - Support for Intel controller DDC parameters
 - Support for multiple Bluetooth LE advertising instances
 - Fix for HCI user channel cleanup path

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit a9ab2184f451ec78af245ebb8b663d8700d44672:

  Merge tag 'batman-adv-for-davem' of git://git.open-mesh.org/linux-merge 
(2015-05-31 01:07:06 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to 952497b159468477392f9b562b904da9bc76d468:

  Bluetooth: Fix warning of potentially uninitialized adv_instance variable 
(2015-06-18 21:05:31 +0300)


Aleksei Volkov (1):
  Bluetooth: btusb: Correct typo in Roper Class 1 Bluetooth Dongle

Alexander Aring (20):
  ieee802154: 6lowpan: set ackreq when needed
  mac802154: remove unneeded vif struct
  mac802154: cleanup address filtering flags
  mac802154: remove aack hw flag
  mac802154: cleanup ieee802154 hardware flags
  mac802154: remove unused hw_filt attribute
  mac802154: rearrange attribute in ieee802154_hw
  mac802154: add missing structure comments
  mac802154: change pan_coord type to bool
  mac802154: fix flags BIT definitions order
  mac802154: iface: fix hrtimer cancel on ifdown
  mac802154: iface: flush workqueue before stop
  at86rf230: use level high as fallback default
  at86rf230: add support for sleep state
  fakelb: add xmit_async after stop testcase
  at86rf230: fix phy settings while sleeping
  at86rf230: add recommended csma backoffs settings
  at86rf230: cleanup start and stop callbacks
  mac802154: iface: fix order while interface up
  mac802154: iface: cleanup stack variable

Alexey Dobriyan (1):
  Bluetooth: Stop sabotaging list poisoning

Arron Wang (2):
  Bluetooth: Make l2cap_recv_acldata() and sco_recv_scodata() return void
  Bluetooth: Move SCO support under BT_BREDR config option

Chan-yeol Park (1):
  Bluetooth: hci_uart: Fix dereferencing of ERR_PTR

Christoffer Holmstedt (1):
  nl802154: fix misspelled enum

Dmitry Tunin (3):
  ath3k: Add support of 0489:e076 AR3012 device
  ath3k: add support of 13d3:3474 AR3012 device
  Bluetooth: ath3k: Add support of 04ca:300d AR3012 device

Florian Grandel (20):
  Bluetooth: hci_core/mgmt: Introduce multi-adv list
  Bluetooth: hci_core/mgmt: move adv timeout to hdev
  Bluetooth: mgmt: dry update_scan_rsp_data()
  Bluetooth: mgmt: rename update_*_data_for_instance()
  Bluetooth: mgmt: multi adv for read_adv_features()
  Bluetooth: mgmt: multi adv for get_current_adv_instance()
  Bluetooth: mgmt: multi adv for get_adv_instance_flags()
  Bluetooth: mgmt: improve get_adv_instance_flags() readability
  Bluetooth: mgmt: multi adv for enable_advertising()
  Bluetooth: mgmt: multi adv for create_instance_scan_rsp_data()
  Bluetooth: mgmt: multi adv for create_instance_adv_data()
  Bluetooth: mgmt: multi adv for set_advertising*()
  Bluetooth: mgmt: multi adv for clear_adv_instances()
  Bluetooth: mgmt/hci_core: multi-adv for add_advertising*()
  Bluetooth: mgmt: multi adv for remove_advertising*()
  Bluetooth: mgmt: program multi-adv on power on
  Bluetooth: mgmt: multi-adv for trigger_le_scan()
  Bluetooth: mgmt: multi-adv for mgmt_reenable_advertising()
  Bluetooth: hci_core: remove obsolete adv_instance
  Bluetooth: hci_core: increase max adv inst

Frederic Danis (7):
  Bluetooth: btbcm: Move request/release_firmware()
  Bluetooth: btbcm: Add BCM4324B3 UART device
  Bluetooth: hci_uart: Support operational speed during setup
  Bluetooth: btbcm: Add helper functions for UART setup
  Bluetooth: hci_uart: Update Broadcom UART setup
  Bluetooth: hci_uart: Add bcm_set_baudrate()
  Bluetooth: hci_uart: Fix speed selection

Glenn Ruben Bakke (5):
  Bluetooth: 6lowpan: Enable delete_netdev to be scheduled when last peer 
is deleted
  Bluetooth: 6lowpan: Rename ambiguous variable
  Bluetooth: 6lowpan: Move netdev sysfs device reference
  Bluetooth: 6lowpan: Fix double kfree of netdev priv
  Bluetooth: 6lowpan: Fix module refcount

Ilya Faenson (2):
  Bluetooth: btbcm: Support the BCM4354 Bluetooth UART device
  Bluetooth: hci_uart: Add new line discipline enhancements

Jaganath Kanakkassery (1):
  Bluetooth: Fix potential NULL dereference in RFCOMM bind callback

pull request: bluetooth-next 2015-05-28

2015-05-28 Thread Johan Hedberg
Hi Dave,

Here's a set of patches intended for 4.2. The majority of the changes
are on the 802.15.4 side of things rather than Bluetooth related:

 - All sorts of cleanups & fixes to ieee802154 and related drivers
 - Rework of tx power support in ieee802154 and its drivers
 - Support for setting ieee802154 tx power through nl802154
 - New IDs for the btusb driver
 - Various cleanups & smaller fixes to btusb
 - New btrtl driver for Realtec devices
 - Fix suspend/resume for Realtek devices

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit f0b5e8a42f37a880b8467e59dc814f4f21581d3d:

  net: kill useless net_*_ingress_queue() definitions when NET_CLS_ACT is unset 
(2015-05-13 15:44:28 -0400)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 
for-upstream

for you to fetch changes up to b5a61c306b0dddb28e3a3ab5d782c73e5f665497:

  atusb: add support for at86rf230 (2015-05-27 19:29:54 +0200)


Alexander Aring (42):
  nl802154: cleanup invalid argument handling
  ieee802154: move validation check out of softmac
  ieee802154: change transmit power to s32
  ieee802154: change transmit power to mbm
  ieee802154: change cca ed level to mbm
  ieee802154: introduce wpan_phy_supported
  ieee802154: add several phy supported handling
  mac802154: check for really changes
  mac802154: remove check if operation is supported
  cfg802154: introduce wpan phy flags
  ieee802154: add iftypes capability
  at86rf230: set cca_modes supported flags
  at86rf230: rework tx power support
  at86rf230: rework tx cca energy detection level
  at86rf230: add cca ed level reset value
  at86rf230: add reset states of tx power level
  nl802154: add support for dump phy capabilities
  at86rf230: fix callback for aret handling
  mac802154: tx: allow xmit complete from hard irq
  ieee802154: add support for atusb transceiver
  fakelb: creating two virtual phys per default
  fakelb: use list_for_each_entry_safe
  fakelb: rename fakelb_dev_priv to fakelb_phy
  fakelb: don't deliver when one phy
  fakelb: declare rwlock static
  fakelb: declare fakelb list static
  fakelb: move lock out of iteration
  fakelb: introduce fakelb ifup phys list
  fakelb: use own channel and page attributes
  fakelb: add virtual phy reset defaults
  fakelb: remove fakelb_hw_deliver
  fakelb: add support for async xmit handling
  fakelb: cleanup code
  at86rf230: add missing cca ed level values
  mac802154: fix hold rtnl while ioctl
  mac802154: remove pib lock
  mac802154: use atomic ops for sequence incrementation
  mac802154: remove mib lock
  nl802154: fix cca mode wpan phy flag
  nl802154: add support for cca ed level info
  nl802154: add support to set cca ed level
  atusb: add support for at86rf230

Arnd Bergmann (1):
  mac802154: select CRYPTO when needed

Carlo Caione (1):
  Bluetooth: btrtl: Create separate module for Realtek BT driver

Chan-yeol Park (1):
  Bluetooth: btusb: Support QCA61x4 ROME v2.0

Daniel Drake (1):
  Bluetooth: btusb: fix Realtek suspend/resume

Florian Grandel (1):
  Bluetooth: mgmt: fix typos

Frederic Danis (4):
  Bluetooth: Fix calls to __hci_cmd_sync()
  Bluetooth: btusb: Fix calls to __hci_cmd_sync()
  Bluetooth: btintel: Fix calls to __hci_cmd_sync()
  Bluetooth: btbcm: Fix calls to __hci_cmd_sync()

Johan Hedberg (1):
  Bluetooth: Add debug logs for legacy SMP crypto functions

Lennert Buytenhek (7):
  mac802154: Avoid rtnl deadlock in mac802154_wpan_ioctl().
  ieee802154 socket: Return EMSGSIZE from raw_sendmsg() if packet too big.
  Documentation/networking/ieee802154.txt: fix various inaccuracies.
  ieee802154: Remove ieee802154_reduced_mlme_ops references.
  ieee802154: Remove 802.15.4/6LoWPAN checks for interface MTU.
  ieee802154 socket: No need to check for ARPHRD_IEEE802154 in raw_bind().
  mac802154: mac802154_mlme_start_req() optimisation.

Leo Yan (1):
  Bluetooth: btwilink: remove DEBUG define

Martin Townsend (1):
  mac802154: fakelb: Fix potential NULL pointer dereference.

Shailendra Verma (2):
  Bluetooth: btusb: Change 1 to true in bool type variable assignment
  Bluetooth: hci_uart: Change 1 to true for bool type variables assignments

Stefan Schmidt (3):
  ieee802154/atusb: Warn about outdated device firmware.
  ieee802154/atusb: Mark driver as AACK enabled in hardware.
  ieee802154/atusb: Set default ed level to 0xbe like the rest of these 
drivers

Varka Bhadram (2):
  ieee802154: add set transmit power support
  ieee802154: fix typo for file name

Xinming Hu (1):
  Bluetooth: btmrvl: fix compilation warning

 Documentation/network

  1   2   >