FreeBSD Bugzilla – Attachment 216260 Details for
Bug 247809
Add support for [read|write] suggested data length commands
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to add read|write suggested data length defines and structs.
add_suggested_data_length.patch (text/plain), 1.27 KB, created by
Marc Veldman
on 2020-07-06 16:19:51 UTC
(
hide
)
Description:
Patch to add read|write suggested data length defines and structs.
Filename:
MIME Type:
Creator:
Marc Veldman
Created:
2020-07-06 16:19:51 UTC
Size:
1.27 KB
patch
obsolete
>Index: sys/netgraph/bluetooth/include/ng_hci.h >=================================================================== >--- sys/netgraph/bluetooth/include/ng_hci.h (revision 362951) >+++ sys/netgraph/bluetooth/include/ng_hci.h (working copy) >@@ -1730,12 +1730,27 @@ > #define NG_HCI_OCF_LE_LONG_TERM_KEY_REQUEST_NEGATIVE_REPLY 0x001b > typedef struct{ > u_int16_t connection_handle; >-}ng_hci_le_long_term_key_request_negative_reply_cp; >+}__attribute__((packed)) ng_hci_le_long_term_key_request_negative_reply_cp; > typedef struct { > u_int8_t status; > u_int16_t connection_handle; > }__attribute__ ((packed)) ng_hci_le_long_term_key_request_negative_reply_rp; > >+#define NG_HCI_OCF_LE_READ_SUGGESTED_DATA_LENGTH 0x0023 >+/*No command parameter*/ >+typedef struct { >+ u_int8_t status; >+ u_int16_t suggested_max_tx_octets; >+ u_int16_t suggested_max_tx_time; >+}__attribute__ ((packed)) ng_hci_le_read_suggested_data_length_rp; >+ >+#define NG_HCI_OCF_LE_WRITE_SUGGESTED_DATA_LENGTH 0x0024 >+typedef struct { >+ u_int16_t suggested_max_tx_octets; >+ u_int16_t suggested_max_tx_time; >+}__attribute__ ((packed)) ng_hci_le_write_suggested_data_length_cp; >+typedef ng_hci_status_rp ng_hci_le_write_suggested_data_length_rp; >+ > #define NG_HCI_OCF_LE_READ_BUFFER_SIZE_V2 0x0060 > /*No command parameter */ > typedef struct {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 247809
: 216260