diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-06-25 17:40:10 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-06-25 17:40:10 +0200 |
commit | 149376dd928b5a668afba113104a2ca6b1bcaf4b (patch) | |
tree | f8db8fa8aaf5e4cef691dd0ad509df11199940d5 /src/target/firmware/include/rf | |
parent | b647b4be79fc93e4ddc7b883fe8d2b47c3984fb3 (diff) |
[layer1] fix AGC computation (dbm vs. dbm8 mistakes)
Also, separate the rx window function from the AGC LNA value computation
Diffstat (limited to 'src/target/firmware/include/rf')
-rw-r--r-- | src/target/firmware/include/rf/trf6151.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/firmware/include/rf/trf6151.h b/src/target/firmware/include/rf/trf6151.h index f1b54f2e..c7951c0c 100644 --- a/src/target/firmware/include/rf/trf6151.h +++ b/src/target/firmware/include/rf/trf6151.h @@ -38,13 +38,13 @@ void trf6151_test(uint16_t arfcn); void trf6151_tx_test(uint16_t arfcn); /* prepare a Rx window with the TRF6151 finished at time 'start' (in qbits) */ -void trf6151_rx_window(int16_t start_qbits, uint16_t arfcn, uint8_t vga_dbm, int rf_gain_high); +void trf6151_rx_window(int16_t start_qbits, uint16_t arfcn); /* prepare a Tx window with the TRF6151 finished at time 'start' (in qbits) */ void trf6151_tx_window(int16_t start_qbits, uint16_t arfcn); -/* Given the expected input level of exp_inp dBm/8 and the target of target_bb - * dBm8, configure the RF Frontend with the respective gain */ +/* Given the expected input level of exp_inp dBm and the target of target_bb + * dBm, configure the RF Frontend with the respective gain */ void trf6151_compute_gain(int16_t exp_inp, int16_t target_bb); #endif /* TRF6151_H */ |