Bluetooth: Add BT_PHY socket option
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 14 Feb 2020 18:08:57 +0000 (10:08 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 14 Feb 2020 18:15:30 +0000 (19:15 +0100)
commiteab2404ba798a8efda2a970f44071c3406d94e57
tree577b8b7c2a49eacd4382310c4f77236f301735b3
parentcee5f20fece32cd1722230cb05333f39db860698
Bluetooth: Add BT_PHY socket option

This adds BT_PHY socket option (read-only) which can be used to read
the PHYs in use by the underline connection.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/bluetooth.h
include/net/bluetooth/hci_core.h
net/bluetooth/hci_conn.c
net/bluetooth/l2cap_sock.c
net/bluetooth/sco.c