Kernel interace for LE Set/Read PHY API's

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

 



Hi,
 Is there is any plan or on-going work to support kernel interface for BT 5.0 PHY based HCI commands - 'LE Set PHY', 'LE Read PHY'?
Actually, we would want to have support for the above, such that PHY parameters can be updated\indicated from user space BlueZ for any particular connection.
As I see, currently there is no kernel interface via which application can change PHY or atleast request controller to change PHY (for a particular connection)

In order to support these via kernel interface, I think following could be possible approaches.
 - via kernel's MGMT interface (I am not sure if this would be ideal approach to set PHY preferrence from user space)
 - via L2CAP socket options (Bluez user space would be able to read\Set Preference for a particular connection handle)
 - via kernel internal logic (Don't expose control to user space and handle Read/Set PHY internally inside kernel. Choose 2M always, irrespective of user's preference.
       But, i am not sure, if this would conflict with different application's requirement for a particular PHY.

Also please suggest if there is any other better way to support these?

Why we would require these support?:  Even though LE Set Default PHY can be used to indicate controller about preferrence/mix of certain PHY's, it will be applied (unless controller denies it based on Connection interval or other requirements)
for all subsequent connections and hence no per connection(application) control over PHY.

Please provide your suggestions/comments on how to go about with these! 
Thank You very much!

BR,
-Anupam Roy



[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