/Zephyr-latest/tests/bsim/bluetooth/host/misc/conn_stress/peripheral/src/ |
D | main.c | 82 static struct active_conn_info conn_info; variable 123 atomic_set_bit(conn_info.flags, CONN_INFO_MTU_EXCHANGED); in mtu_updated() 135 memset(&conn_info, 0x00, sizeof(struct active_conn_info)); in connected() 143 conn_info.conn_ref = conn; in connected() 145 atomic_set(&conn_info.tx_notify_counter, 0); in connected() 146 atomic_set(&conn_info.notify_counter, 0); in connected() 147 atomic_set_bit(conn_info.flags, CONN_INFO_CONNECTED); in connected() 165 memset(&conn_info, 0x00, sizeof(struct active_conn_info)); in disconnected() 206 atomic_set_bit(conn_info.flags, CONN_INFO_SECURITY_LEVEL_UPDATED); in security_changed() 240 __ASSERT(atomic_get(&conn_info.notify_counter) == received_counter, in rx_notification() [all …]
|
/Zephyr-latest/samples/bluetooth/central_gatt_write/src/ |
D | gatt_write_common.c | 90 struct bt_conn_info conn_info; in connected() local 102 err = bt_conn_get_info(conn, &conn_info); in connected() 108 printk("%s: %s role %u\n", __func__, addr, conn_info.role); in connected() 115 if (conn_info.role == BT_CONN_ROLE_CENTRAL) { in connected() 126 struct bt_conn_info conn_info; in disconnected() local 132 err = bt_conn_get_info(conn, &conn_info); in disconnected() 138 printk("%s: %s role %u, reason %u %s\n", __func__, addr, conn_info.role, in disconnected() 145 if (conn_info.role == BT_CONN_ROLE_CENTRAL) { in disconnected()
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/conn_stress/central/src/ |
D | main.c | 83 struct conn_info { struct 94 static struct conn_info conn_infos[CONFIG_BT_MAX_CONN] = {0}; argument 101 void clear_info(struct conn_info *info) in clear_info() 126 static struct conn_info *get_new_conn_info_ref(const bt_addr_le_t *addr) in get_new_conn_info_ref() 147 static struct conn_info *get_conn_info_ref(struct bt_conn *conn_ref) in get_conn_info_ref() 168 static struct conn_info *get_connected_conn_info_ref(struct bt_conn *conn) in get_connected_conn_info_ref() 182 struct conn_info *conn_info_ref; in notify_func() 216 struct conn_info *conn_info_ref; in discover_func() 399 struct conn_info *conn_info_ref; in connected_cb() 435 struct conn_info *conn_info_ref; in disconnected() [all …]
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_bap_unicast.c | 534 struct bt_conn_info conn_info; in stream_enabled() local 540 (void)bt_conn_get_info(stream->conn, &conn_info); in stream_enabled() 541 if (conn_info.role == BT_HCI_ROLE_PERIPHERAL && info.dir == BT_AUDIO_DIR_SINK) { in stream_enabled() 645 struct bt_conn_info conn_info; in stream_connected() local 652 (void)bt_conn_get_info(stream->conn, &conn_info); in stream_connected() 653 if (conn_info.role == BT_HCI_ROLE_CENTRAL && ep_info.dir == BT_AUDIO_DIR_SOURCE) { in stream_connected() 935 struct bt_conn_info conn_info; in btp_bap_discover() local 945 (void)bt_conn_get_info(conn, &conn_info); in btp_bap_discover() 947 if (u_conn->end_points_count > 0 || conn_info.role != BT_HCI_ROLE_CENTRAL) { in btp_bap_discover() 1241 struct bt_conn_info conn_info; in btp_ascs_configure_codec() local [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/ll/cis/src/ |
D | main.c | 162 struct bt_conn_info conn_info; in connected() local 166 err = bt_conn_get_info(conn, &conn_info); in connected() 172 printk("%s: %s role %u\n", __func__, addr, conn_info.role); in connected() 174 if (conn_info.role == BT_CONN_ROLE_CENTRAL) { in connected() 188 struct bt_conn_info conn_info; in disconnected() local 196 err = bt_conn_get_info(conn, &conn_info); in disconnected() 202 printk("%s: %s role %u\n", __func__, addr, conn_info.role); in disconnected() 204 if (conn_info.role == BT_CONN_ROLE_CENTRAL) { in disconnected()
|
/Zephyr-latest/drivers/serial/ |
D | uart_bt.c | 87 struct bt_conn_info conn_info; in foreach_conn_handler_get_att_mtu() local 90 err = bt_conn_get_info(conn, &conn_info); in foreach_conn_handler_get_att_mtu() 91 if (!err && conn_info.state == BT_CONN_STATE_CONNECTED) { in foreach_conn_handler_get_att_mtu()
|
/Zephyr-latest/drivers/wifi/nrf_wifi/inc/ |
D | fmac_main.h | 67 struct wpa_conn_info *conn_info; member
|
/Zephyr-latest/modules/hostap/src/ |
D | supp_api.c | 1498 struct wpa_conn_info *conn_info = NULL; local 1588 conn_info = os_zalloc(sizeof(struct wpa_conn_info)); 1589 if (!conn_info) { 1596 ret = wpa_drv_get_conn_info(wpa_s, conn_info); 1598 status->beacon_interval = conn_info->beacon_interval; 1599 status->dtim_period = conn_info->dtim_period; 1600 status->twt_capable = conn_info->twt_capable; 1611 os_free(conn_info);
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | bap_broadcast_assistant.c | 433 struct bt_conn_info conn_info; in long_bap_read() local 435 err = bt_conn_get_info(conn, &conn_info); in long_bap_read() 439 conn_info.le.interval = BT_GAP_INIT_CONN_INT_MIN; in long_bap_read() 444 K_USEC(BT_CONN_INTERVAL_TO_US(conn_info.le.interval))); in long_bap_read()
|
D | bap_unicast_client.c | 405 struct bt_conn_info conn_info; in unicast_client_ep_iso_disconnected() local 408 err = bt_conn_get_info(stream->conn, &conn_info); in unicast_client_ep_iso_disconnected() 409 if (err != 0 || conn_info.state == BT_CONN_STATE_DISCONNECTED) { in unicast_client_ep_iso_disconnected() 1701 struct bt_conn_info conn_info; in long_ase_read() local 1703 err = bt_conn_get_info(conn, &conn_info); in long_ase_read() 1707 conn_info.le.interval = BT_GAP_INIT_CONN_INT_MIN; in long_ase_read() 1712 K_USEC(BT_CONN_INTERVAL_TO_US(conn_info.le.interval))); in long_ase_read()
|
D | ascs.c | 217 struct bt_conn_info conn_info; in ase_state_notify() local 224 err = bt_conn_get_info(conn, &conn_info); in ase_state_notify() 227 if (conn_info.state != BT_CONN_STATE_CONNECTED || in ase_state_notify()
|
/Zephyr-latest/drivers/wifi/nrf_wifi/src/ |
D | wpa_supp_if.c | 1845 vif_ctx_zep->conn_info = info; in nrf_wifi_supp_get_conn_info() 1943 struct wpa_conn_info *conn_info = NULL; in nrf_wifi_supp_event_proc_get_conn_info() local 1951 conn_info = vif_ctx_zep->conn_info; in nrf_wifi_supp_event_proc_get_conn_info() 1953 conn_info->beacon_interval = info->beacon_interval; in nrf_wifi_supp_event_proc_get_conn_info() 1954 conn_info->dtim_period = info->dtim_interval; in nrf_wifi_supp_event_proc_get_conn_info() 1955 conn_info->twt_capable = info->twt_capable; in nrf_wifi_supp_event_proc_get_conn_info()
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | bap.c | 2885 struct bt_conn_info conn_info; in stream_enabled_cb() local 2888 err = bt_conn_get_info(stream->conn, &conn_info); in stream_enabled_cb() 2894 if (conn_info.role == BT_CONN_ROLE_CENTRAL) { in stream_enabled_cb()
|