Deleted Added
full compact
host_controller_baseband.c (133178) host_controller_baseband.c (228976)
1/*
2 * host_controller_baseband.c
3 *
4 * Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 12 unchanged lines hidden (view full) ---

21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
28 * $Id: host_controller_baseband.c,v 1.4 2003/08/18 19:19:53 max Exp $
1/*
2 * host_controller_baseband.c
3 *
4 * Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 12 unchanged lines hidden (view full) ---

21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
28 * $Id: host_controller_baseband.c,v 1.4 2003/08/18 19:19:53 max Exp $
29 * $FreeBSD: head/usr.sbin/bluetooth/hccontrol/host_controller_baseband.c 133178 2004-08-05 16:32:41Z emax $
29 * $FreeBSD: head/usr.sbin/bluetooth/hccontrol/host_controller_baseband.c 228976 2011-12-30 00:59:08Z uqs $
30 */
31
32#include <bluetooth.h>
33#include <errno.h>
34#include <stdio.h>
35#include <string.h>
36#include "hccontrol.h"
37

--- 1589 unchanged lines hidden (view full) ---

1627"write_page_scan_activity interval(dddd) window(dddd)",
1628"\nThis command will write the value for Page_Scan_Activity configuration\n" \
1629"parameter. The Page_Scan_Interval configuration parameter defines the\n" \
1630"amount of time between consecutive page scans. This is defined as the time\n" \
1631"interval from when the Host Controller started its last page scan until it\n" \
1632"begins the next page scan. The Page_Scan_Window configuration parameter\n" \
1633"defines the amount of time for the duration of the page scan. \n" \
1634"The Page_Scan_Window can only be less than or equal to the Page_Scan_Interval.\n\n" \
30 */
31
32#include <bluetooth.h>
33#include <errno.h>
34#include <stdio.h>
35#include <string.h>
36#include "hccontrol.h"
37

--- 1589 unchanged lines hidden (view full) ---

1627"write_page_scan_activity interval(dddd) window(dddd)",
1628"\nThis command will write the value for Page_Scan_Activity configuration\n" \
1629"parameter. The Page_Scan_Interval configuration parameter defines the\n" \
1630"amount of time between consecutive page scans. This is defined as the time\n" \
1631"interval from when the Host Controller started its last page scan until it\n" \
1632"begins the next page scan. The Page_Scan_Window configuration parameter\n" \
1633"defines the amount of time for the duration of the page scan. \n" \
1634"The Page_Scan_Window can only be less than or equal to the Page_Scan_Interval.\n\n" \
1635"\t<interval> - Range: 0x0012 - 0x100, Time = N * 0.625 msec\n" \
1636"\t<window> - Range: 0x0012 - 0x100, Time = N * 0.625 msen",
1635"\t<interval> - Range: 0x0012 -- 0x100, Time = N * 0.625 msec\n" \
1636"\t<window> - Range: 0x0012 -- 0x100, Time = N * 0.625 msen",
1637&hci_write_page_scan_activity
1638},
1639{
1640"read_inquiry_scan_activity",
1641"\nThis command will read the value for Inquiry_Scan_Activity configuration\n" \
1642"parameter. The Inquiry_Scan_Interval configuration parameter defines the\n" \
1643"amount of time between consecutive inquiry scans. This is defined as the\n" \
1644"time interval from when the Host Controller started its last inquiry scan\n" \

--- 4 unchanged lines hidden (view full) ---

1649"write_inquiry_scan_activity interval(dddd) window(dddd)",
1650"\nThis command will write the value for Inquiry_Scan_Activity configuration\n"\
1651"parameter. The Inquiry_Scan_Interval configuration parameter defines the\n" \
1652"amount of time between consecutive inquiry scans. This is defined as the\n" \
1653"time interval from when the Host Controller started its last inquiry scan\n" \
1654"until it begins the next inquiry scan. The Inquiry_Scan_Window configuration\n" \
1655"parameter defines the amount of time for the duration of the inquiry scan.\n" \
1656"The Inquiry_Scan_Window can only be less than or equal to the Inquiry_Scan_Interval.\n\n" \
1637&hci_write_page_scan_activity
1638},
1639{
1640"read_inquiry_scan_activity",
1641"\nThis command will read the value for Inquiry_Scan_Activity configuration\n" \
1642"parameter. The Inquiry_Scan_Interval configuration parameter defines the\n" \
1643"amount of time between consecutive inquiry scans. This is defined as the\n" \
1644"time interval from when the Host Controller started its last inquiry scan\n" \

--- 4 unchanged lines hidden (view full) ---

1649"write_inquiry_scan_activity interval(dddd) window(dddd)",
1650"\nThis command will write the value for Inquiry_Scan_Activity configuration\n"\
1651"parameter. The Inquiry_Scan_Interval configuration parameter defines the\n" \
1652"amount of time between consecutive inquiry scans. This is defined as the\n" \
1653"time interval from when the Host Controller started its last inquiry scan\n" \
1654"until it begins the next inquiry scan. The Inquiry_Scan_Window configuration\n" \
1655"parameter defines the amount of time for the duration of the inquiry scan.\n" \
1656"The Inquiry_Scan_Window can only be less than or equal to the Inquiry_Scan_Interval.\n\n" \
1657"\t<interval> - Range: 0x0012 - 0x100, Time = N * 0.625 msec\n" \
1658"\t<window> - Range: 0x0012 - 0x100, Time = N * 0.625 msen",
1657"\t<interval> - Range: 0x0012 -- 0x100, Time = N * 0.625 msec\n" \
1658"\t<window> - Range: 0x0012 -- 0x100, Time = N * 0.625 msen",
1659&hci_write_inquiry_scan_activity
1660},
1661{
1662"read_authentication_enable",
1663"\nThis command will read the value for the Authentication_Enable parameter.\n"\
1664"The Authentication_Enable parameter controls if the local unit requires\n"\
1665"to authenticate the remote unit at connection setup (between the\n" \
1666"Create_Connection command or acceptance of an incoming ACL connection\n"\

--- 211 unchanged lines hidden ---
1659&hci_write_inquiry_scan_activity
1660},
1661{
1662"read_authentication_enable",
1663"\nThis command will read the value for the Authentication_Enable parameter.\n"\
1664"The Authentication_Enable parameter controls if the local unit requires\n"\
1665"to authenticate the remote unit at connection setup (between the\n" \
1666"Create_Connection command or acceptance of an incoming ACL connection\n"\

--- 211 unchanged lines hidden ---