summaryrefslogtreecommitdiff
path: root/include/net/bluetooth/sco.h
diff options
context:
space:
mode:
authorAndrzej Kaczmarek <andrzej.kaczmarek@tieto.com>2011-03-17 12:17:30 +0100
committerUlf Hansson <ulf.hansson@stericsson.com>2011-09-19 16:05:59 +0200
commit1c0fbc2d1b56e0445812c15f24a6a9bf902efe70 (patch)
tree14f1542b3281d86fbd98d89d6c7ceb8d55b9139c /include/net/bluetooth/sco.h
parentb0601f1cd535e501155d7b070848f8ea0b3b2afb (diff)
bluetooth: Add SCO parameters support for socket
Adds ability to setup SCO connection parameters through socket option. ST-Ericsson Linux next: Not tested, ER 256277 ST-Ericsson ID: 256277 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10137 Change-Id: If859341019fd9f7cc7c0efe95750779e84fac801 Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30136 Reviewed-by: Par-Gunnar HJALMDAHL <par-gunnar.p.hjalmdahl@stericsson.com> Tested-by: Par-Gunnar HJALMDAHL <par-gunnar.p.hjalmdahl@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Diffstat (limited to 'include/net/bluetooth/sco.h')
-rw-r--r--include/net/bluetooth/sco.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/bluetooth/sco.h b/include/net/bluetooth/sco.h
index 6d1857ab8e5..e6b5a94f7e8 100644
--- a/include/net/bluetooth/sco.h
+++ b/include/net/bluetooth/sco.h
@@ -37,7 +37,6 @@
struct sockaddr_sco {
sa_family_t sco_family;
bdaddr_t sco_bdaddr;
- __u16 sco_pkt_type;
};
/* SCO socket options */
@@ -73,7 +72,8 @@ struct sco_conn {
struct sco_pinfo {
struct bt_sock bt;
- __u16 pkt_type;
+ struct bt_sco_parameters param;
+ __u8 no_autoretry;
struct sco_conn *conn;
};