Lines Matching full:tx
242 struct bt_mesh_net_tx tx = { in bt_mesh_friend_clear() local
278 tx.ctx->send_ttl = BT_MESH_TTL_MAX; in bt_mesh_friend_clear()
283 bt_mesh_ctl_send(&tx, TRANS_CTL_OP_FRIEND_CLEAR_CFM, &cfm, in bt_mesh_friend_clear()
359 * the normal TX IVI (which may be different) since the transport in create_friend_pdu()
649 struct bt_mesh_net_tx tx = { in send_friend_clear() local
662 bt_mesh_ctl_send(&tx, TRANS_CTL_OP_FRIEND_CLEAR, &req, in send_friend_clear()
1160 struct bt_mesh_net_tx *tx, in friend_lpn_enqueue_tx() argument
1171 friend_purge_old_ack(frnd, seq_auth, tx->src); in friend_lpn_enqueue_tx()
1174 info.src = tx->src; in friend_lpn_enqueue_tx()
1175 info.dst = tx->ctx->addr; in friend_lpn_enqueue_tx()
1177 info.ttl = tx->ctx->send_ttl; in friend_lpn_enqueue_tx()
1178 info.ctl = (tx->ctx->app_idx == BT_MESH_KEY_UNUSED); in friend_lpn_enqueue_tx()
1277 bool bt_mesh_friend_enqueue_tx(struct bt_mesh_net_tx *tx, in bt_mesh_friend_enqueue_tx() argument
1284 if (!bt_mesh_friend_match(tx->sub->net_idx, tx->ctx->addr) || in bt_mesh_friend_enqueue_tx()
1289 BT_DBG("net_idx 0x%04x dst 0x%04x src 0x%04x", tx->sub->net_idx, in bt_mesh_friend_enqueue_tx()
1290 tx->ctx->addr, tx->src); in bt_mesh_friend_enqueue_tx()
1295 if (friend_lpn_matches(frnd, tx->sub->net_idx, tx->ctx->addr)) { in bt_mesh_friend_enqueue_tx()
1296 friend_lpn_enqueue_tx(frnd, tx, type, seq_auth, sbuf); in bt_mesh_friend_enqueue_tx()