Date:2013-03-29 21:03:31 (6 years 3 months ago)
Author:Werner Almesberger
Commit:cd566129ec9e535331e7eea0657a92872d3a8aff
Message:tools/lib/misctxrx.c (set_power_step): set SPI_CMD_MODE to PHY_RSSI

This way, we don't interfere with "hard MAC" using it for CRC checking.
Files: tools/lib/misctxrx.c (1 diff)

Change Details

tools/lib/misctxrx.c
155155        tmp = (tmp & ~TX_PWR_MASK) | power;
156156        atrf_reg_write(dsc, REG_PHY_TX_PWR, tmp);
157157        atrf_reg_write(dsc, REG_TRX_CTRL_1,
158            crc ? TX_AUTO_CRC_ON : 0);
158            (crc ? TX_AUTO_CRC_ON : 0) |
159            SPI_CMD_MODE_PHY_RSSI << SPI_CMD_MODE_SHIFT);
159160        break;
160161    default:
161162        abort();

Archive Download the corresponding diff file



interactive