mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
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>
This commit is contained in:
parent
855666cccc
commit
14b5aa71ec
2 changed files with 8 additions and 1 deletions
|
|
@ -56,6 +56,7 @@ struct l2cap_options {
|
|||
__u16 flush_to;
|
||||
__u8 mode;
|
||||
__u8 fcs;
|
||||
__u16 txwin_size;
|
||||
};
|
||||
|
||||
#define L2CAP_CONNINFO 0x02
|
||||
|
|
@ -339,6 +340,7 @@ struct l2cap_pinfo {
|
|||
|
||||
__u8 ident;
|
||||
|
||||
__u8 tx_win;
|
||||
__u8 remote_tx_win;
|
||||
__u8 remote_max_tx;
|
||||
__u16 retrans_timeout;
|
||||
|
|
|
|||
Loading…
Reference in a new issue