1. 16 10月, 2013 1 次提交
    • M
      Bluetooth: Add support for entering limited discoverable mode · 310a3d48
      Marcel Holtmann 提交于
      The limited discoverable mode should be used when a device is only
      discoverable for a certain amount of time and after that it returns
      back into being non-discoverable.
      
      This adds another option to the set discoverable management command
      to clearly distinguish limited discoverable from general discoverable
      mode.
      
      While the general discoverable mode can be set with a specific
      timeout or as permanent setting, the limited discoverable mode
      requires a timeout. The timeout is flexible and the kernel will
      not enforce any specific limitations. That GAP part of this is
      required by userspace to enforce according to the Bluetooth core
      specification.
      
      Devices in limited discoverable mode can still be found by the
      general discovery procedure. It is mandatory that a device sets
      both GIAC and LIAC when entering limited discoverable mode.
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      310a3d48
  2. 15 10月, 2013 14 次提交
  3. 14 10月, 2013 4 次提交
  4. 13 10月, 2013 1 次提交
    • M
      Bluetooth: Remove pointless bdaddr_to_le() helper function · 79d95a19
      Marcel Holtmann 提交于
      The bdaddr_to_le() function tries to convert the internal address
      type to one that matches the HCI address type for LE. It does not
      handle any address types not used by LE and in the end just make
      the code a lot harder to read.
      
      So instead of just hiding behind a magic function, just convert
      the internal address type where it needs to be converted. And it
      turns out that these are only two cases anyway. One when creating
      new LE connections and the other when loading the long term keys.
      In both cases this makes it more clear on what it going on.
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      79d95a19
  5. 12 10月, 2013 3 次提交
  6. 11 10月, 2013 4 次提交
  7. 10 10月, 2013 2 次提交
  8. 08 10月, 2013 1 次提交
  9. 07 10月, 2013 10 次提交