Searched refs:brg_tbl (Results 1 – 3 of 3) sorted by relevance
24 static struct bt_mesh_brg_cfg_row brg_tbl[CONFIG_BT_MESH_BRG_TABLE_ITEMS_MAX]; variable40 if (brg_tbl[k].direction != 0) { in brg_tbl_compact()41 brg_tbl[j] = brg_tbl[k]; in brg_tbl_compact()46 memset(&brg_tbl[j], 0, sizeof(brg_tbl[j]) * (bt_mesh_brg_cfg_row_cnt - j)); in brg_tbl_compact()81 memset(brg_tbl, 0, sizeof(brg_tbl)); in brg_tbl_set()87 if (len_rd % sizeof(brg_tbl[0])) { in brg_tbl_set()92 if (len_rd > sizeof(brg_tbl)) { in brg_tbl_set()97 len = read_cb(cb_arg, brg_tbl, sizeof(brg_tbl)); in brg_tbl_set()98 if (len < 0 || len % sizeof(brg_tbl[0])) { in brg_tbl_set()103 bt_mesh_brg_cfg_row_cnt = len / sizeof(brg_tbl[0]); in brg_tbl_set()[all …]
130 const struct bt_mesh_brg_cfg_row *brg_tbl; in bridged_subnets_get() local131 int rows = bt_mesh_brg_cfg_tbl_get(&brg_tbl); in bridged_subnets_get()152 net_idx1 = brg_tbl[i].net_idx1; in bridged_subnets_get()153 net_idx2 = brg_tbl[i].net_idx2; in bridged_subnets_get()239 const struct bt_mesh_brg_cfg_row *brg_tbl; in bridging_table_get() local240 int rows = bt_mesh_brg_cfg_tbl_get(&brg_tbl); in bridging_table_get()243 if (brg_tbl[i].net_idx1 == net_idx1 && brg_tbl[i].net_idx2 == net_idx2) { in bridging_table_get()250 net_buf_simple_add_le16(&msg, brg_tbl[i].addr1); in bridging_table_get()251 net_buf_simple_add_le16(&msg, brg_tbl[i].addr2); in bridging_table_get()252 net_buf_simple_add_u8(&msg, brg_tbl[i].direction); in bridging_table_get()
179 const struct bt_mesh_brg_cfg_row *brg_tbl; in ZTEST() local180 int n = bt_mesh_brg_cfg_tbl_get(&brg_tbl); in ZTEST()185 zassert_true(brg_tbl[i].net_idx1 != net_idx1); in ZTEST()186 zassert_true(brg_tbl[i].net_idx2 != net_idx2); in ZTEST()194 n = bt_mesh_brg_cfg_tbl_get(&brg_tbl); in ZTEST()199 zassert_true(brg_tbl[i].net_idx1 != net_idx1); in ZTEST()200 zassert_true(brg_tbl[i].net_idx2 != net_idx2); in ZTEST()201 zassert_true(brg_tbl[i].addr1 != addr1); in ZTEST()210 n = bt_mesh_brg_cfg_tbl_get(&brg_tbl); in ZTEST()215 zassert_true(brg_tbl[i].net_idx1 != net_idx1); in ZTEST()[all …]