Bluetooth: Export discovery parameters to debugfs

This patch exports discovery parameters under hciX directory/. All
parameter files have read and write permissions. This means, we
are able to change discovery parameters by writing new values into
the files. For instance, to change the default value for the scanning
interval we can run:
$ echo 0x0016 > /sys/kernel/debug/bluetooth/hci0/discov_scan_interval

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Bluetooth: Keep the LE connection parameters in its own structure

This will allow for easier parameterization of these fields. This is
the first step for allowing to change the parameters during runtime.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Bluetooth: Export LE connection parameters to debugfs

This patch exports LE connection parameters under hciX directory/ if
controller is LE capable. All parameter files have read and write
permissions. This means, we are able to change LE connection parameters
by writing new values into the files. For instance, to change the
default value for the scanning interval we can run:
$ echo 0x0040 > /sys/kernel/debug/bluetooth/hci0/le_conn_supervision_timeout

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>