linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/13] Discovery Cleanup - Step 1
@ 2011-04-28 22:36 Claudio Takahasi
  2011-04-28 22:36 ` [PATCH 01/13] Move EIR related functions to a new file Claudio Takahasi
                   ` (13 more replies)
  0 siblings, 14 replies; 38+ messages in thread
From: Claudio Takahasi @ 2011-04-28 22:36 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Claudio Takahasi

This patch series is the first step to cleanup the device discovery
procedure. The main changes are:
  - Unify advertising reports and inquiry results: mgmt sends
    one device found event
  - Logic improvement/cleanup: device found
  - Move EIR functions to a new file

Andre Guedes will send soon a patch series changing the discovery state
control to be make hciops and mgmtops functional.

There is excessive dynamic memory allocations/deallocations for EIR data.
This is not a problem introduced by this patch serie. eir_data_free
will be removed soon.

***** Open Issues *****

* Use BDADDR_TYPE_NON_LE instead of BR?
#define BDADDR_TYPE_LE_PUBLIC  0x00
#define BRADDR_TYPE_LE_RANDOM  0x01
#define BDADDR_TYPE_BR         0xff

Bruna Moreira (3):
  Remove btd_event_advertising_report
  Replace EIR_DATA_LENGTH with HCI_MAX_EIR_LENGTH
  Drop variable EIR length

Claudio Takahasi (10):
  Move EIR related functions to a new file
  Add Bluetooth address type definition
  Initial device found cleanup
  Move legacy verification to a new function
  Cleanup read name and alias from storage
  Don't resolve name if the name is in the storage
  Unify inquiry results and advertises
  Fix memory leak of EIR data
  Change the order to write/read the remote's name
  Cleanup inserting new device found entry

 Makefile.am       |    2 +-
 lib/bluetooth.h   |    4 +
 plugins/hciops.c  |  202 +++++----------------------------
 plugins/mgmtops.c |    3 +-
 src/adapter.c     |  178 ++++++++++++++++++-----------
 src/adapter.h     |    9 +-
 src/eir.c         |  328 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/eir.h         |   41 +++++++
 src/event.c       |  222 +-----------------------------------
 src/event.h       |    5 +-
 src/sdpd.h        |   14 ---
 11 files changed, 526 insertions(+), 482 deletions(-)
 create mode 100644 src/eir.c
 create mode 100644 src/eir.h

-- 
1.7.5.rc3


^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2011-05-16 20:49 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-28 22:36 [PATCH 00/13] Discovery Cleanup - Step 1 Claudio Takahasi
2011-04-28 22:36 ` [PATCH 01/13] Move EIR related functions to a new file Claudio Takahasi
2011-05-03 21:32   ` [PATCH v2 " Claudio Takahasi
2011-04-28 22:36 ` [PATCH 02/13] Add Bluetooth address type definition Claudio Takahasi
2011-05-03 21:32   ` [PATCH v2 " Claudio Takahasi
2011-05-04  6:03     ` Johan Hedberg
2011-05-04 11:14       ` Anderson Lizardo
2011-05-05  0:31       ` Vinicius Costa Gomes
2011-05-12  1:20       ` Marcel Holtmann
2011-05-12 17:55         ` Claudio Takahasi
2011-05-12 19:10           ` Marcel Holtmann
2011-04-28 22:36 ` [PATCH 03/13] Initial device found cleanup Claudio Takahasi
2011-05-03 21:32   ` [PATCH v2 " Claudio Takahasi
2011-04-28 22:37 ` [PATCH 04/13] Move legacy verification to a new function Claudio Takahasi
2011-05-03 21:32   ` [PATCH v2 " Claudio Takahasi
2011-04-28 22:37 ` [PATCH 05/13] Cleanup read name and alias from storage Claudio Takahasi
2011-05-03 21:33   ` [PATCH v2 " Claudio Takahasi
2011-04-28 22:37 ` [PATCH 06/13] Don't resolve name if the name is in the storage Claudio Takahasi
2011-05-03 21:33   ` [PATCH v2 " Claudio Takahasi
2011-04-28 22:37 ` [PATCH 07/13] Unify inquiry results and advertises Claudio Takahasi
2011-05-03 21:33   ` [PATCH v2 " Claudio Takahasi
2011-04-28 22:37 ` [PATCH 08/13] Fix memory leak of EIR data Claudio Takahasi
2011-05-03 21:33   ` [PATCH v2 " Claudio Takahasi
2011-04-28 22:37 ` [PATCH 09/13] Remove btd_event_advertising_report Claudio Takahasi
2011-05-03 21:33   ` [PATCH v2 " Claudio Takahasi
2011-04-28 22:37 ` [PATCH 10/13] Change the order to write/read the remote's name Claudio Takahasi
2011-05-03 21:33   ` [PATCH v2 " Claudio Takahasi
2011-04-28 22:37 ` [PATCH 11/13] Cleanup inserting new device found entry Claudio Takahasi
2011-05-03 21:33   ` [PATCH v2 " Claudio Takahasi
2011-04-28 22:37 ` [PATCH 12/13] Replace EIR_DATA_LENGTH with HCI_MAX_EIR_LENGTH Claudio Takahasi
2011-05-03 21:33   ` [PATCH v2 " Claudio Takahasi
2011-04-28 22:37 ` [PATCH 13/13] Drop variable EIR length Claudio Takahasi
2011-05-03 21:34   ` [PATCH v2 " Claudio Takahasi
2011-04-29 21:07 ` [PATCH 00/13] Discovery Cleanup - Step 1 Claudio Takahasi
2011-05-03 21:32   ` [PATCH v2 " Claudio Takahasi
2011-05-05  8:34     ` Johan Hedberg
2011-05-05 17:34       ` Claudio Takahasi
2011-05-16 20:49         ` [PATCH v3 00/12] Discovery Cleanup Claudio Takahasi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).