netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bluetooth: document config options
@ 2017-07-21  7:49 Pavel Machek
  2017-07-21  9:55 ` Marcel Holtmann
  0 siblings, 1 reply; 7+ messages in thread
From: Pavel Machek @ 2017-07-21  7:49 UTC (permalink / raw)
  To: marcel, gustavo, johan.hedberg, linux-bluetooth, kernel list; +Cc: Netdev list

[-- Attachment #1: Type: text/plain, Size: 1199 bytes --]


Kernel config options should include useful help text; I had to look
up the terms on wikipedia.

Signed-off-by: Pavel Machek <pavel@ucw.cz>

diff --git a/net/bluetooth/Kconfig b/net/bluetooth/Kconfig
index 68f951b..133c8a6 100644
--- a/net/bluetooth/Kconfig
+++ b/net/bluetooth/Kconfig
@@ -45,6 +45,8 @@ config BT_BREDR
 	bool "Bluetooth Classic (BR/EDR) features"
 	depends on BT
 	default y
+	help
+	  Support Bluetooth version 1 and 2 connections.
 
 source "net/bluetooth/rfcomm/Kconfig"
 
@@ -58,11 +60,17 @@ config BT_HS
 	bool "Bluetooth High Speed (HS) features"
 	depends on BT_BREDR
 	default y
+	help
+	  Bluetooth 3 introduces high-speed mode where bluetooth endpoints
+	  negotiate fast connection over WIFI. This controls its support.
 
 config BT_LE
 	bool "Bluetooth Low Energy (LE) features"
 	depends on BT
 	default y
+	help
+	  Bluetooth 4 introduces special low-energy protocol, designed
+	  for simple devices. This controls its support.
 
 config BT_6LOWPAN
 	tristate "Bluetooth 6LoWPAN support"

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] bluetooth: document config options
  2017-07-21  7:49 [PATCH] bluetooth: document config options Pavel Machek
@ 2017-07-21  9:55 ` Marcel Holtmann
  2017-07-21 10:42   ` Pavel Machek
  0 siblings, 1 reply; 7+ messages in thread
From: Marcel Holtmann @ 2017-07-21  9:55 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Gustavo F. Padovan, Johan Hedberg, linux-bluetooth, kernel list,
	Netdev list

Hi Pavel,

> Kernel config options should include useful help text; I had to look
> up the terms on wikipedia.
> 
> Signed-off-by: Pavel Machek <pavel@ucw.cz>
> 
> diff --git a/net/bluetooth/Kconfig b/net/bluetooth/Kconfig
> index 68f951b..133c8a6 100644
> --- a/net/bluetooth/Kconfig
> +++ b/net/bluetooth/Kconfig
> @@ -45,6 +45,8 @@ config BT_BREDR
> 	bool "Bluetooth Classic (BR/EDR) features"
> 	depends on BT
> 	default y
> +	help
> +	  Support Bluetooth version 1 and 2 connections.

so this is actually not correct. Version 5.0 is also Bluetooth BR/EDR.

I am fine if use the terms "Basic Rate" and "Enhanced Data Rate" in the description, but the version numbers are kinda not how this works. So some alternative wording needs to be used:

"Bluetooth Classic includes support for Basic Rate (BR) available with Bluetooth version 1.0b or later and support for Enhanced Data Rate (EDR) available with Bluetooth version 2.0 or later."

> source "net/bluetooth/rfcomm/Kconfig"
> 
> @@ -58,11 +60,17 @@ config BT_HS
> 	bool "Bluetooth High Speed (HS) features"
> 	depends on BT_BREDR
> 	default y
> +	help
> +	  Bluetooth 3 introduces high-speed mode where bluetooth endpoints
> +	  negotiate fast connection over WIFI. This controls its support.

Again, while Bluetooth version 3.0 introduces HS support, it is not what is selecting this.

I think here we can write something like this:

"Bluetooth High Speed includes support for off-loading Bluetooth connections via 802.11 physical layer available with Bluetooth version 3.0 or later."

> 
> config BT_LE
> 	bool "Bluetooth Low Energy (LE) features"
> 	depends on BT
> 	default y
> +	help
> +	  Bluetooth 4 introduces special low-energy protocol, designed
> +	  for simple devices. This controls its support.

I think here it is also better to have an alternative text:

"Bluetooth Low Energy includes support low-energy physical layer available with Bluetooth version 4.0 or later."

Regards

Marcel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] bluetooth: document config options
  2017-07-21  9:55 ` Marcel Holtmann
@ 2017-07-21 10:42   ` Pavel Machek
  2017-07-21 10:55     ` Marcel Holtmann
  2017-08-07  6:34     ` Marcel Holtmann
  0 siblings, 2 replies; 7+ messages in thread
From: Pavel Machek @ 2017-07-21 10:42 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: Gustavo F. Padovan, Johan Hedberg, linux-bluetooth, kernel list,
	Netdev list

[-- Attachment #1: Type: text/plain, Size: 2295 bytes --]

Hi!

> > Kernel config options should include useful help text; I had to look
> > up the terms on wikipedia.
> > 
> > Signed-off-by: Pavel Machek <pavel@ucw.cz>
> > 
> > diff --git a/net/bluetooth/Kconfig b/net/bluetooth/Kconfig
> > index 68f951b..133c8a6 100644
> > --- a/net/bluetooth/Kconfig
> > +++ b/net/bluetooth/Kconfig
> > @@ -45,6 +45,8 @@ config BT_BREDR
> > 	bool "Bluetooth Classic (BR/EDR) features"
> > 	depends on BT
> > 	default y
> > +	help
> > +	  Support Bluetooth version 1 and 2 connections.
> 
> so this is actually not correct. Version 5.0 is also Bluetooth BR/EDR.
> 
> I am fine if use the terms "Basic Rate" and "Enhanced Data Rate" in the description, but the version numbers are kinda not how this works. So some alternative wording needs to be used:
> 
> "Bluetooth Classic includes support for Basic Rate (BR) available with Bluetooth version 1.0b or later and support for Enhanced Data Rate (EDR) available with Bluetooth version 2.0 or later."
> 

Ok, works for me.

> > +	help
> > +	  Bluetooth 3 introduces high-speed mode where bluetooth endpoints
> > +	  negotiate fast connection over WIFI. This controls its support.
> 
> Again, while Bluetooth version 3.0 introduces HS support, it is not what is selecting this.
> 
> I think here we can write something like this:
> 
> "Bluetooth High Speed includes support for off-loading Bluetooth connections via 802.11 physical layer available with Bluetooth version 3.0 or later."
>

Ok.

> > config BT_LE
> > 	bool "Bluetooth Low Energy (LE) features"
> > 	depends on BT
> > 	default y
> > +	help
> > +	  Bluetooth 4 introduces special low-energy protocol, designed
> > +	  for simple devices. This controls its support.
> 
> I think here it is also better to have an alternative text:
> 
> "Bluetooth Low Energy includes support low-energy physical layer available with Bluetooth version 4.0 or later."
> 

Ok. Do I understand it correctly that Bluetooth LE basically has
nothing to do with bluetooth, and that Bluetooth 2 hardware will not
be able to detect / communicate with Bluetooth LE hardware?

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] bluetooth: document config options
  2017-07-21 10:42   ` Pavel Machek
@ 2017-07-21 10:55     ` Marcel Holtmann
  2017-08-07  6:34     ` Marcel Holtmann
  1 sibling, 0 replies; 7+ messages in thread
From: Marcel Holtmann @ 2017-07-21 10:55 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Gustavo F. Padovan, Johan Hedberg, linux-bluetooth, kernel list,
	Netdev list

Hi Pavel,

>>> Kernel config options should include useful help text; I had to look
>>> up the terms on wikipedia.
>>> 
>>> Signed-off-by: Pavel Machek <pavel@ucw.cz>
>>> 
>>> diff --git a/net/bluetooth/Kconfig b/net/bluetooth/Kconfig
>>> index 68f951b..133c8a6 100644
>>> --- a/net/bluetooth/Kconfig
>>> +++ b/net/bluetooth/Kconfig
>>> @@ -45,6 +45,8 @@ config BT_BREDR
>>> 	bool "Bluetooth Classic (BR/EDR) features"
>>> 	depends on BT
>>> 	default y
>>> +	help
>>> +	  Support Bluetooth version 1 and 2 connections.
>> 
>> so this is actually not correct. Version 5.0 is also Bluetooth BR/EDR.
>> 
>> I am fine if use the terms "Basic Rate" and "Enhanced Data Rate" in the description, but the version numbers are kinda not how this works. So some alternative wording needs to be used:
>> 
>> "Bluetooth Classic includes support for Basic Rate (BR) available with Bluetooth version 1.0b or later and support for Enhanced Data Rate (EDR) available with Bluetooth version 2.0 or later."
>> 
> 
> Ok, works for me.
> 
>>> +	help
>>> +	  Bluetooth 3 introduces high-speed mode where bluetooth endpoints
>>> +	  negotiate fast connection over WIFI. This controls its support.
>> 
>> Again, while Bluetooth version 3.0 introduces HS support, it is not what is selecting this.
>> 
>> I think here we can write something like this:
>> 
>> "Bluetooth High Speed includes support for off-loading Bluetooth connections via 802.11 physical layer available with Bluetooth version 3.0 or later."
>> 
> 
> Ok.
> 
>>> config BT_LE
>>> 	bool "Bluetooth Low Energy (LE) features"
>>> 	depends on BT
>>> 	default y
>>> +	help
>>> +	  Bluetooth 4 introduces special low-energy protocol, designed
>>> +	  for simple devices. This controls its support.
>> 
>> I think here it is also better to have an alternative text:
>> 
>> "Bluetooth Low Energy includes support low-energy physical layer available with Bluetooth version 4.0 or later."
>> 
> 
> Ok. Do I understand it correctly that Bluetooth LE basically has
> nothing to do with bluetooth, and that Bluetooth 2 hardware will not
> be able to detect / communicate with Bluetooth LE hardware?

if you have LE only on one side and BR/EDR only on the other side, then they can not communicate with each other. You need at least one side with dual-mode BR/EDR/LE support.

Regards

Marcel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] bluetooth: document config options
  2017-07-21 10:42   ` Pavel Machek
  2017-07-21 10:55     ` Marcel Holtmann
@ 2017-08-07  6:34     ` Marcel Holtmann
  2017-08-08 13:48       ` [PATCHv2] " Pavel Machek
  1 sibling, 1 reply; 7+ messages in thread
From: Marcel Holtmann @ 2017-08-07  6:34 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Gustavo F. Padovan, Johan Hedberg, linux-bluetooth, kernel list,
	Netdev list

Hi Pavel,

>>> Kernel config options should include useful help text; I had to look
>>> up the terms on wikipedia.
>>> 
>>> Signed-off-by: Pavel Machek <pavel@ucw.cz>
>>> 
>>> diff --git a/net/bluetooth/Kconfig b/net/bluetooth/Kconfig
>>> index 68f951b..133c8a6 100644
>>> --- a/net/bluetooth/Kconfig
>>> +++ b/net/bluetooth/Kconfig
>>> @@ -45,6 +45,8 @@ config BT_BREDR
>>> 	bool "Bluetooth Classic (BR/EDR) features"
>>> 	depends on BT
>>> 	default y
>>> +	help
>>> +	  Support Bluetooth version 1 and 2 connections.
>> 
>> so this is actually not correct. Version 5.0 is also Bluetooth BR/EDR.
>> 
>> I am fine if use the terms "Basic Rate" and "Enhanced Data Rate" in the description, but the version numbers are kinda not how this works. So some alternative wording needs to be used:
>> 
>> "Bluetooth Classic includes support for Basic Rate (BR) available with Bluetooth version 1.0b or later and support for Enhanced Data Rate (EDR) available with Bluetooth version 2.0 or later."
>> 
> 
> Ok, works for me.
> 
>>> +	help
>>> +	  Bluetooth 3 introduces high-speed mode where bluetooth endpoints
>>> +	  negotiate fast connection over WIFI. This controls its support.
>> 
>> Again, while Bluetooth version 3.0 introduces HS support, it is not what is selecting this.
>> 
>> I think here we can write something like this:
>> 
>> "Bluetooth High Speed includes support for off-loading Bluetooth connections via 802.11 physical layer available with Bluetooth version 3.0 or later."
>> 
> 
> Ok.

are you planning to send a patch with updated wording for this?

Regards

Marcel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCHv2] bluetooth: document config options
  2017-08-07  6:34     ` Marcel Holtmann
@ 2017-08-08 13:48       ` Pavel Machek
  2017-08-08 14:04         ` Marcel Holtmann
  0 siblings, 1 reply; 7+ messages in thread
From: Pavel Machek @ 2017-08-08 13:48 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: Gustavo F. Padovan, Johan Hedberg, linux-bluetooth, kernel list,
	Netdev list

[-- Attachment #1: Type: text/plain, Size: 1601 bytes --]

Kernel config options should include useful help text; I had to look
up the terms on wikipedia.

Signed-off-by: Pavel Machek <pavel@ucw.cz>

---

> are you planning to send a patch with updated wording for this?

Sorry for the delay, it is above. I added word "wifi" to 802.11
description.

							Pavel

diff --git a/net/bluetooth/Kconfig b/net/bluetooth/Kconfig
index 68f951b..48add1e 100644
--- a/net/bluetooth/Kconfig
+++ b/net/bluetooth/Kconfig
@@ -45,6 +45,11 @@ config BT_BREDR
 	bool "Bluetooth Classic (BR/EDR) features"
 	depends on BT
 	default y
+	help
+	  Bluetooth Classic includes support for Basic Rate (BR)
+	  available with Bluetooth version 1.0b or later and support
+	  for Enhanced Data Rate (EDR) available with Bluetooth
+	  version 2.0 or later.
 
 source "net/bluetooth/rfcomm/Kconfig"
 
@@ -58,12 +63,19 @@ config BT_HS
 	bool "Bluetooth High Speed (HS) features"
 	depends on BT_BREDR
 	default y
+	help
+	  Bluetooth High Speed includes support for off-loading
+	  Bluetooth connections via 802.11 (wifi) physical layer
+	  available with Bluetooth version 3.0 or later.
 
 config BT_LE
 	bool "Bluetooth Low Energy (LE) features"
 	depends on BT
 	default y
-
+	help
+	  Bluetooth Low Energy includes support low-energy physical
+	  layer available with Bluetooth version 4.0 or later.
+	  
 config BT_6LOWPAN
 	tristate "Bluetooth 6LoWPAN support"
 	depends on BT_LE && 6LOWPAN

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCHv2] bluetooth: document config options
  2017-08-08 13:48       ` [PATCHv2] " Pavel Machek
@ 2017-08-08 14:04         ` Marcel Holtmann
  0 siblings, 0 replies; 7+ messages in thread
From: Marcel Holtmann @ 2017-08-08 14:04 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Gustavo F. Padovan, Johan Hedberg, open list:BLUETOOTH DRIVERS,
	kernel list, Netdev list

Hi Pavel,

> On Aug 8, 2017, at 15:48, Pavel Machek <pavel@ucw.cz> wrote:
> 
> Kernel config options should include useful help text; I had to look
> up the terms on wikipedia.
> 
> Signed-off-by: Pavel Machek <pavel@ucw.cz>
> 
> ---
> 
>> are you planning to send a patch with updated wording for this?
> 
> Sorry for the delay, it is above. I added word "wifi" to 802.11
> description.
> 
> 							Pavel

patch has been applied to bluetooth-next tree.

Regards

Marcel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-08-08 14:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-21  7:49 [PATCH] bluetooth: document config options Pavel Machek
2017-07-21  9:55 ` Marcel Holtmann
2017-07-21 10:42   ` Pavel Machek
2017-07-21 10:55     ` Marcel Holtmann
2017-08-07  6:34     ` Marcel Holtmann
2017-08-08 13:48       ` [PATCHv2] " Pavel Machek
2017-08-08 14:04         ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).