Lines Matching refs:_conn
61 #define CHECK_RX_PE_STATE(_conn, _pause, _enc) \ argument
63 zassert_equal(_conn.pause_rx_data, _pause, "Rx Data pause state is wrong.");\
64 zassert_equal(_conn.lll.enc_rx, _enc, "Rx Encryption state is wrong."); \
68 #define CHECK_TX_PE_STATE(_conn, _pause, _enc) \ argument
70 zassert_equal(_conn.tx_q.pause_data, _pause, "Tx Data pause state is wrong.");\
71 zassert_equal(_conn.lll.enc_tx, _enc, "Tx Encryption state is wrong."); \
79 #define CHECK_RX_CCM_STATE(_conn, _sk_be, _iv, _cnt, _dir) \ argument
81 zassert_mem_equal(_conn.lll.ccm_rx.key, _sk_be, sizeof(_sk_be), \
83 zassert_mem_equal(_conn.lll.ccm_rx.iv, _iv, sizeof(_iv), \
85 zassert_equal(_conn.lll.ccm_rx.counter, _cnt, "CCM Rx Counter is wrong"); \
86 zassert_equal(_conn.lll.ccm_rx.direction, _dir, "CCM Rx Direction is wrong");\
90 #define CHECK_TX_CCM_STATE(_conn, _sk_be, _iv, _cnt, _dir) \ argument
92 zassert_mem_equal(_conn.lll.ccm_tx.key, _sk_be, sizeof(_sk_be), \
94 zassert_mem_equal(_conn.lll.ccm_tx.iv, _iv, sizeof(_iv), \
96 zassert_equal(_conn.lll.ccm_tx.counter, _cnt, "CCM Tx Counter is wrong"); \
97 zassert_equal(_conn.lll.ccm_tx.direction, _dir, "CCM Tx Direction is wrong");\