summaryrefslogtreecommitdiffstats
path: root/tools/hcisecfilter.c
diff options
context:
space:
mode:
authorMax Krasnyansky <maxk@qualcomm.com>2003-01-28 01:55:08 +0000
committerMax Krasnyansky <maxk@qualcomm.com>2003-01-28 01:55:08 +0000
commitf03489827214efb7e5314e61b57278eec173b786 (patch)
tree4edb9382d808a94801594d9296ffab3c5bd1b86b /tools/hcisecfilter.c
parent0c19759d355a83b63158c66d5f601be816f90424 (diff)
Added OGF_PARAM_STATUS
Diffstat (limited to 'tools/hcisecfilter.c')
-rw-r--r--tools/hcisecfilter.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/hcisecfilter.c b/tools/hcisecfilter.c
index 8cd47420..13dee183 100644
--- a/tools/hcisecfilter.c
+++ b/tools/hcisecfilter.c
@@ -77,4 +77,14 @@ int main(void)
printf("OGF_INFO_PARAM: { 0x%lx, 0x%lx, 0x%lx, 0x%lx}\n",
ocf_mask[0], ocf_mask[1], ocf_mask[2], ocf_mask[3]);
+
+ // OGF_INFO_PARAM
+ memset((void *) ocf_mask, 0, sizeof(ocf_mask));
+ hci_set_bit(OCF_READ_FAILED_CONTACT_COUNTER, ocf_mask);
+ hci_set_bit(OCF_RESET_FAILED_CONTACT_COUNTER, ocf_mask);
+ hci_set_bit(OCF_GET_LINK_QUALITY, ocf_mask);
+ hci_set_bit(OCF_READ_RSSI, ocf_mask);
+
+ printf("OGF_STATUS_PARAM: { 0x%lx, 0x%lx, 0x%lx, 0x%lx}\n",
+ ocf_mask[0], ocf_mask[1], ocf_mask[2], ocf_mask[3]);
}