analogdevicesinc/linux

AD9361 driver unable to restore RSSI gain step error data

ekigwana opened this issue · 2 comments

static IIO_DEVICE_ATTR(rssi_gain_step_error, S_IRUGO,

looks like it should be:
static IIO_DEVICE_ATTR(rssi_gain_step_error, S_IRUGO | S_IWUSR,

Is this something that Linux users have not needed? Or is the function not achieve anything practical? I am filtering IQ data and using 10 log 10(I^2 + q^2) - rx_hardwaregain_chan0 + offset to get absolute but seems like mag squared values have a std deviation of at least 2.5 dBm even in manual gain mode. <- I'll ask about this bit in the forum

Looks like a bug -
store/write support was added with this commit 1470706
but the permissions we're not set.
We fix this soon.

Should be fixed with #1463