Searched refs:hci_hal_env (Results 1 – 1 of 1) sorted by relevance
85 static hci_hal_env_t hci_hal_env; variable106 hci_hal_env.hci_h4_thread = task_thread; in hci_hal_env_init()107 hci_hal_env.callbacks = (hci_hal_callbacks_t *)upper_callbacks; in hci_hal_env_init()110 …hci_hal_env.adv_fc_cmd_buf = osi_calloc(HCI_CMD_LINKED_BUF_SIZE(HCIC_PARAM_SIZE_BLE_UPDATE_ADV_FLO… in hci_hal_env_init()111 assert(hci_hal_env.adv_fc_cmd_buf != NULL); in hci_hal_env_init()112 osi_mutex_new(&hci_hal_env.adv_flow_lock); in hci_hal_env_init()113 osi_mutex_lock(&hci_hal_env.adv_flow_lock, OSI_MUTEX_MAX_TIMEOUT); in hci_hal_env_init()114 hci_hal_env.adv_credits = BLE_ADV_REPORT_FLOW_CONTROL_NUM; in hci_hal_env_init()115 hci_hal_env.adv_credits_to_release = 0; in hci_hal_env_init()116 hci_hal_env.cmd_buf_in_use = false; in hci_hal_env_init()[all …]