]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Bluetooth: Fix using PHYs bitfields as PHY value
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 22 Dec 2025 19:36:45 +0000 (14:36 -0500)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 29 Jan 2026 18:27:47 +0000 (13:27 -0500)
commit0e2a6af81042e048bef1fddc70a022272d11ae84
treed1fb96e235ec789eaa3978eec5f991e38625b10b
parente07094a51ad8faf98ea64320799ce550828e97cd
Bluetooth: Fix using PHYs bitfields as PHY value

This renames the PHY fields in bt_iso_io_qos to PHYs (plural) since it
represents a bitfield where multiple PHYs can be set and make the same
change also to HCI_OP_LE_SET_CIG_PARAMS since both c_phy and p_phy
fields are bitfields.

This also fixes the assumption that hci_evt_le_cis_established PHYs
fields are compatible with bt_iso_io_qos, they are not, the fields in
hci_evt_le_cis_established represent just a single PHY value so they
need to be converted to bitfield when set in bt_iso_io_qos.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
include/net/bluetooth/bluetooth.h
include/net/bluetooth/hci.h
net/bluetooth/hci_conn.c
net/bluetooth/hci_event.c
net/bluetooth/hci_sync.c
net/bluetooth/iso.c