@@ -158,7 +158,7 @@ static void isr_rx(void *param)
158
158
}
159
159
}
160
160
161
- static uint32_t init (uint8_t chan , uint8_t phy , void (* isr )(void * ))
161
+ static uint8_t init (uint8_t chan , uint8_t phy , void (* isr )(void * ))
162
162
{
163
163
int err ;
164
164
@@ -198,12 +198,20 @@ static uint32_t init(uint8_t chan, uint8_t phy, void (*isr)(void *))
198
198
return 0 ;
199
199
}
200
200
201
- uint32_t ll_test_tx (uint8_t chan , uint8_t len , uint8_t type , uint8_t phy )
201
+ uint8_t ll_test_tx (uint8_t chan , uint8_t len , uint8_t type , uint8_t phy ,
202
+ uint8_t cte_len , uint8_t cte_type , uint8_t switch_pattern_len ,
203
+ const uint8_t * ant_id , int8_t tx_power )
202
204
{
203
205
uint32_t start_us ;
204
206
uint8_t * payload ;
205
207
uint8_t * pdu ;
206
- uint32_t err ;
208
+ uint8_t err ;
209
+
210
+ ARG_UNUSED (cte_len );
211
+ ARG_UNUSED (cte_type );
212
+ ARG_UNUSED (switch_pattern_len );
213
+ ARG_UNUSED (ant_id );
214
+ ARG_UNUSED (tx_power );
207
215
208
216
if ((type > 0x07 ) || !phy || (phy > 0x04 )) {
209
217
return 1 ;
@@ -277,14 +285,22 @@ uint32_t ll_test_tx(uint8_t chan, uint8_t len, uint8_t type, uint8_t phy)
277
285
return 0 ;
278
286
}
279
287
280
- uint32_t ll_test_rx (uint8_t chan , uint8_t phy , uint8_t mod_idx )
288
+ uint8_t ll_test_rx (uint8_t chan , uint8_t phy , uint8_t mod_idx , uint8_t expected_cte_len ,
289
+ uint8_t expected_cte_type , uint8_t slot_duration , uint8_t switch_pattern_len ,
290
+ const uint8_t * ant_ids )
281
291
{
282
- uint32_t err ;
292
+ uint8_t err ;
283
293
284
294
if (!phy || (phy > 0x03 )) {
285
295
return 1 ;
286
296
}
287
297
298
+ ARG_UNUSED (expected_cte_len );
299
+ ARG_UNUSED (expected_cte_type );
300
+ ARG_UNUSED (slot_duration );
301
+ ARG_UNUSED (switch_pattern_len );
302
+ ARG_UNUSED (ant_ids );
303
+
288
304
err = init (chan , phy , isr_rx );
289
305
if (err ) {
290
306
return err ;
@@ -303,7 +319,7 @@ uint32_t ll_test_rx(uint8_t chan, uint8_t phy, uint8_t mod_idx)
303
319
return 0 ;
304
320
}
305
321
306
- uint32_t ll_test_end (uint16_t * num_rx )
322
+ uint8_t ll_test_end (uint16_t * num_rx )
307
323
{
308
324
int err ;
309
325
uint8_t ack ;
0 commit comments