Re: [PATCH v4 01/13] Bluetooth: Define default phys in hdev and set 1M as default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jaganath,

> 1M would be set as default and same would be set during power on
> if controller support SetDefaultPHY.
> 
> Signed-off-by: Jaganath Kanakkassery <jaganathx.kanakkassery@xxxxxxxxx>
> ---
> include/net/bluetooth/hci.h      | 4 ++++
> include/net/bluetooth/hci_core.h | 3 +++
> net/bluetooth/hci_core.c         | 9 +++++----
> 3 files changed, 12 insertions(+), 4 deletions(-)
> 
> diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
> index 73e48be..664fe1e 100644
> --- a/include/net/bluetooth/hci.h
> +++ b/include/net/bluetooth/hci.h
> @@ -1514,6 +1514,10 @@ struct hci_cp_le_set_default_phy {
> 	__u8    rx_phys;
> } __packed;
> 
> +#define HCI_LE_SET_PHY_1M		0x01
> +#define HCI_LE_SET_PHY_2M		0x02
> +#define HCI_LE_SET_PHY_CODED		0x04
> +

scrap the _SET here since that make no sense to me. Just call out the PHY name.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux