1. 20 Dec, 2014 2 commits
    • Marcel Holtmann's avatar
      Bluetooth: Add skeleton functions for debugfs creation · 60c5f5fb
      Marcel Holtmann authored
      The debugfs file creation has been part of the core initialization
      handling of controllers. With the introduction of Bluetooth 4.2 core
      specification, the number of debugfs files is increasing even further.
      
      To avoid cluttering the core controller handling, create a separate
      file hci_debugfs.c to centralize all debugfs file creation. For now
      leave the current files in the core, but in the future all debugfs
      file creation will be moved.
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
      60c5f5fb
    • Marcel Holtmann's avatar
      Bluetooth: Support static address when BR/EDR has been disabled · 50b5b952
      Marcel Holtmann authored
      Every BR/EDR/LE dual-mode controller requires to have a public address
      and so far that has become the identity address and own address. The
      only way to change that behavior was with a force_static_address
      debugfs option.
      
      However the host can actually disable the BR/EDR part of a dual-mode
      controller and turn into a single mode LE controller. In that case
      it makes perfect sense for a host to use a chosen static address
      instead of the public address.
      
      So if the host disables BR/EDR and configures a static address, then
      that static address is used as identity address and own address. If
      the host does not configure a static address, then the public address
      is used as before.
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
      50b5b952
  2. 19 Dec, 2014 12 commits
  3. 18 Dec, 2014 26 commits