Re: [PATCH 16/22] Store new configuration values in l2cap_pinfo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Thu, 26 Aug 2010, haijun liu wrote:

From d093975dde6d85c824a5aaac943d676100810010 Mon Sep 17 00:00:00 2001
From: haijun.liu <haijun.liu@xxxxxxxxxxx>
Date: Mon, 23 Aug 2010 00:09:56 +0800
Subject: [PATCH 16/22] Store new configuration values in l2cap_pinfo.

---
include/net/bluetooth/l2cap.h |    9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index 2d864d4..f2dd65d 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -406,6 +406,15 @@ struct l2cap_pinfo {
	__u16		remote_mps;
	__u16		mps;

+	__u8		ext_flowspec_enable;
+	struct ext_flow_spec	loc_efs;
+	struct ext_flow_spec	rem_efs;
+
+	__u8		extwin_enable;
+	__u16		extwin_size;
+	__u8		rem_extwin_enable;
+	__u16		rem_extwin_size;
+
	__le16		sport;

	struct timer_list	retrans_timer;

Regarding the new "extwin" structure members, have you considered changing the existing tx_win and remote_tx_win members to __u16 and using them with both standard and extended window sizes?

The spec also requires that both directions of the link use the same type of control field (standard or extended). After L2CAP configuration is done, all the information required for the transmit window is the control field type, tx_win, and remote_tx_win. The control field would be set to 'extended' if a successful configuration response is sent or received for the extended window size option.


--
Mat Martineau
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux