Home
last modified time | relevance | path

Searched refs:d (Results 1 – 10 of 10) sorted by relevance

/babblesim_ext_2G4_phy_v1-latest/src/
Dp2G4_main.c32 static void p2G4_handle_next_request(uint d);
34 static void f_wait_done(uint d){ in f_wait_done() argument
35 bs_trace_raw_time(8,"Device %u - Wait done\n", d); in f_wait_done()
36 p2G4_phy_resp_wait(d); in f_wait_done()
37 p2G4_handle_next_request(d); in f_wait_done()
40 static void f_tx_end(uint d){ in f_tx_end() argument
45 tx_el = &tx_l_c.tx_list[d]; in f_tx_end()
47 bs_trace_raw_time(8,"Device %u - Tx done (Tx aborted)\n", d); in f_tx_end()
49 bs_trace_raw_time(8,"Device %u - Tx done (Tx ended)\n", d); in f_tx_end()
52 dump_tx(tx_el, d); in f_tx_end()
[all …]
Dp2G4_com.c26 void p2G4_phy_resp_wait(uint d) { in p2G4_phy_resp_wait() argument
27 pb_phy_resp_wait(&cb_med_state, d); in p2G4_phy_resp_wait()
33 void p2G4_phy_resp_tx(uint d, p2G4_tx_done_t *tx_done_s) { in p2G4_phy_resp_tx() argument
34 if (pb_phy_is_connected_to_device(&cb_med_state, d)) { in p2G4_phy_resp_tx()
35 pb_send_msg(cb_med_state.ff_ptd[d], P2G4_MSG_TX_END, in p2G4_phy_resp_tx()
44 void p2G4_phy_resp_rx_addr_found(uint d, p2G4_rx_done_t* rx_done_s, uint8_t *packet) { in p2G4_phy_resp_rx_addr_found() argument
45 if (pb_phy_is_connected_to_device(&cb_med_state, d)) { in p2G4_phy_resp_rx_addr_found()
46 pb_send_msg(cb_med_state.ff_ptd[d], P2G4_MSG_RX_ADDRESSFOUND, in p2G4_phy_resp_rx_addr_found()
48 pb_send_payload(cb_med_state.ff_ptd[d], packet, rx_done_s->packet_size); in p2G4_phy_resp_rx_addr_found()
56 void p2G4_phy_resp_rxv2_addr_found(uint d, p2G4_rxv2_done_t* rx_done_s, uint8_t *packet) { in p2G4_phy_resp_rxv2_addr_found() argument
[all …]
Dp2G4_pending_tx_list.c30 for (int d = 0 ; d < nbr_devs; d++){ in txl_free() local
31 if ( tx_list[d].packet != NULL ) { in txl_free()
32 free(tx_list[d].packet); in txl_free()
44 void txl_register(uint d, p2G4_txv2_t *tx_s, uint8_t* packet){ in txl_register() argument
45 tx_l_c.used[d] = TXS_OFF; in txl_register()
46 memcpy(&(tx_list[d].tx_s), tx_s, sizeof(p2G4_txv2_t) ); in txl_register()
47 tx_list[d].packet = packet; in txl_register()
53 void txl_start_tx(uint d){ in txl_start_tx() argument
54 tx_l_c.used[d] = TXS_NOISE; in txl_start_tx()
56 max_tx_nbr = BS_MAX(max_tx_nbr, ((int)d)); in txl_start_tx()
[all …]
Dp2G4_com.h18 void p2G4_phy_resp_rx(uint d, p2G4_rx_done_t* rx_d);
19 void p2G4_phy_resp_rxv2(uint d, p2G4_rxv2_done_t* rx_done_s);
20 void p2G4_phy_resp_RSSI(uint d, p2G4_rssi_done_t* RSSI_d);
21 void p2G4_phy_resp_IMRSSI(uint d, p2G4_rssi_done_t* RSSI_done_s);
22 void p2G4_phy_resp_tx(uint d, p2G4_tx_done_t * tx_d);
23 void p2G4_phy_resp_rx_addr_found(uint d, p2G4_rx_done_t* rx_d, uint8_t *p);
24 void p2G4_phy_resp_rxv2_addr_found(uint d, p2G4_rxv2_done_t* rx_done_s, uint8_t *packet);
25 void p2G4_phy_resp_cca(uint d, p2G4_cca_done_t *sc_done_s);
26 void p2G4_phy_resp_wait(uint d);
27 void p2G4_phy_get(uint d, void* b, size_t size);
[all …]
Dp2G4_channel_and_modem.c78 uint d; in channel_and_modem_init() local
83 for (d = 0; d < n_devs; d ++){ in channel_and_modem_init()
84 rec_status[d].att = (double*) bs_calloc(n_devs, sizeof(double)); in channel_and_modem_init()
85 rec_status[d].rx_pow = (double*) bs_calloc(n_devs, sizeof(double)); in channel_and_modem_init()
128 for (d = 0; d < n_devs; d++) { in channel_and_modem_init()
130 snprintf(mo_lib_name,1024,"../lib/lib_2G4Modem_%s.so",mo_name[d]); in channel_and_modem_init()
131 modem_lib[d] = dlopen (mo_lib_name, RTLD_NOW); in channel_and_modem_init()
139 *(void **) (&(m_init[d])) = dlsym(modem_lib[d], "modem_init"); in channel_and_modem_init()
144 *(void **) (&(m_delete[d])) = dlsym(modem_lib[d], "modem_delete"); in channel_and_modem_init()
149 *(void **) (&(m_analog_rx[d])) = dlsym(modem_lib[d], "modem_analog_rx"); in channel_and_modem_init()
[all …]
Dp2G4_dump.h49 void dump_rx(rx_status_t *rx_st, uint8_t* packet, uint d);
54 void dump_RSSImeas(p2G4_rssi_t *RSSI_req, p2G4_rssi_done_t* RSSI_res, uint d);
64 void dump_ModemRx(bs_time_t now, uint tx_nbr, uint d, uint n_dev, uint CalNotRecal, p2G4_modemdigpa…
Dp2G4_func_queue.c75 void fq_remove(uint32_t d){ in fq_remove() argument
76 f_queue[d].f_index = State_None; in fq_remove()
77 f_queue[d].time = TIME_NEVER; in fq_remove()
Dp2G4_pending_tx_rx_list.h65 void txl_register(uint d, p2G4_txv2_t *tx_s, uint8_t* packet);
/babblesim_ext_2G4_phy_v1-latest/
D.gitignore3 *.d
7 *.d
/babblesim_ext_2G4_phy_v1-latest/docs/
DLICENSE106 (d) If the Work includes a "NOTICE" text file as part of its