/* HCI read local supported features command. Returns the features supported by the controller. */
static int ble_ll_hci_le_read_local_features(uint8_t *rspbuf, uint8_t *rsplen)
/* HCI read local supported features command. Returns the features supported by the controller. */
static int ble_ll_hci_le_read_local_features(uint8_t *rspbuf, uint8_t *rsplen)
{
    struct ble_hci_le_rd_loc_supp_feat_rp *rsp = (void *) rspbuf;
    rsp->features = htole64(ble_ll_read_supp_features());
    *rsplen = sizeof(*rsp);
    return BLE_ERR_SUCCESS;
}