During driver initialization path, add support to query controller for the local supported codecs and cache the details at driver. This information can be made available to user space audio modules to select the codec for audio offload use cases Kiran K (3): Bluetooth: add support to enumerate codec capabilities Bluetooth: add support to enumerate local supports codecs v2 Bluetooth: cache local supported codec capabilities include/net/bluetooth/hci.h | 20 ++++ include/net/bluetooth/hci_core.h | 23 ++++ net/bluetooth/hci_core.c | 35 +++++- net/bluetooth/hci_event.c | 185 +++++++++++++++++++++++++++++++ 4 files changed, 262 insertions(+), 1 deletion(-) -- 2.17.1