diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-05-01 15:15:40 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-05-10 03:28:49 -0400 |
commit | 14b5aa71ec506f4e38ca6a1dc02ecd668ecfd902 (patch) | |
tree | afd8fc766f81d1c436433ca010eb12a606538b47 /include | |
parent | 855666cccc939d392316de17512e17a08b2fa05a (diff) |
Bluetooth: Add sockopt configuration for txWindow on L2CAP
Now we can set/get Transmission Window size via sockopt.
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Reviewed-by: João Paulo Rechi Vita <jprvita@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index 0f4e4234c5fa..07ae4ccfffbd 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h | |||
@@ -56,6 +56,7 @@ struct l2cap_options { | |||
56 | __u16 flush_to; | 56 | __u16 flush_to; |
57 | __u8 mode; | 57 | __u8 mode; |
58 | __u8 fcs; | 58 | __u8 fcs; |
59 | __u16 txwin_size; | ||
59 | }; | 60 | }; |
60 | 61 | ||
61 | #define L2CAP_CONNINFO 0x02 | 62 | #define L2CAP_CONNINFO 0x02 |
@@ -339,6 +340,7 @@ struct l2cap_pinfo { | |||
339 | 340 | ||
340 | __u8 ident; | 341 | __u8 ident; |
341 | 342 | ||
343 | __u8 tx_win; | ||
342 | __u8 remote_tx_win; | 344 | __u8 remote_tx_win; |
343 | __u8 remote_max_tx; | 345 | __u8 remote_max_tx; |
344 | __u16 retrans_timeout; | 346 | __u16 retrans_timeout; |