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>
Bluetooth: Add LE connection parameters to debugfs

Only reading the parameters is supported for now.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Bluetooth: Add support for setting LE connection parameters via debugfs

This will allow for much more pratical measures of the impact of
different connection parameters in different scenarios.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Bluetooth: Fix sec_level

We should set conn->pending_sec_level in hci_le_ltk_request_evt,
otherwise conn->sec_level is not properly updated once we get an
Encryption Change Event.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Bluetooth: Fix key size

We should set conn->enc_key_size in hci_le_ltk_request_evt, otherwise
it is left unitialized.

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