Searched refs:seq_zero (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | transport.c | 346 uint16_t seq_zero = tx->seq_auth & TRANS_SEQ_ZERO_MASK; in seg_tx_buf_build() local 350 net_buf_simple_add_u8(buf, (tx->aszmic << 7) | seq_zero >> 6); in seg_tx_buf_build() 351 net_buf_simple_add_u8(buf, (((seq_zero & 0x3f) << 2) | (seg_o >> 3))); in seg_tx_buf_build() 816 static struct seg_tx *seg_tx_lookup(uint16_t seq_zero, uint8_t obo, uint16_t addr) in seg_tx_lookup() argument 824 if ((tx->seq_auth & TRANS_SEQ_ZERO_MASK) != seq_zero) { in seg_tx_lookup() 853 uint16_t seq_zero; in trans_ack() local 861 seq_zero = net_buf_simple_pull_be16(buf); in trans_ack() 862 obo = seq_zero >> 15; in trans_ack() 863 seq_zero = (seq_zero >> 2) & TRANS_SEQ_ZERO_MASK; in trans_ack() 868 *seq_auth = SEQ_AUTH(BT_MESH_NET_IVI_RX(rx), seq_zero); in trans_ack() [all …]
|
D | friend.c | 1076 static bool is_seg(struct bt_mesh_friend_seg *seg, uint16_t src, uint16_t seq_zero) in is_seg() argument 1094 return ((src == buf_src) && (seq_zero == buf_seq_zero)); in is_seg() 1098 uint16_t src, uint16_t seq_zero, in get_seg() argument 1107 if (is_seg(seg, src, seq_zero)) { in get_seg() 1137 uint16_t seq_zero = (((buf->data[10] << 8 | buf->data[11]) >> 2) & TRANS_SEQ_ZERO_MASK); in enqueue_friend_pdu() local 1139 seg = get_seg(frnd, src, seq_zero, seg_count); in enqueue_friend_pdu()
|