in fact I forgot to bind trx1 and 2 to the cell… now I also see trx2 slot2 scanning (with a-crc-errors) but no result regarding the stations:
dect-transceiver-list --name trx2 DECT Transceiver trx2@cell0: Type: sc1442x Features: slow-hopping,p64 RF-band: 00001 Events: busy: 0 late: 0
slot 0: <scanning> packet: P00 carrier: 23 (1921.536 MHz) RX: bytes 0 packets 0 a-crc-errors 48 x-crc-errors 0 z-crc-errors 0 TX: bytes 0 packets 0 slot 1: <idle> RX: bytes 0 packets 0 a-crc-errors 0 x-crc-errors 0 z-crc-errors 0 TX: bytes 0 packets 0
On Aug 9, 2012, at 8:05 PM, Frédéric LECAILLE wrote:
if my analyze is correct, the virtual interface vtrx is scanning, not the physical one… as fat as I understand the command outputs…
On Aug 9, 2012, at 8:02 PM, Frédéric LECAILLE wrote:
On Aug 9, 2012, at 12:20 AM, Patrick McHardy wrote:
Updated patch attached <usdect.diff>
Ok thank you a lot Patrick.
Here are the results:
with your last patch:
dect-transceiver-list --name trx0 DECT Transceiver trx0@cell0: Type: vtrx RF-band: 00000 Events: busy: 0 late: 0
slot 0: <scanning> packet: P00 carrier: 27 (0.000 MHz) RX: bytes 0 packets 0 a-crc-errors 0 x-crc-errors 0 z-crc-errors 0 TX: bytes 0 packets 0
*The frequency is always 0 MHz*
The kernel logs seems to be OK:
[15122.889144] vtrx trx0: set carrier: slot: 0 carrier: 23 [15122.899150] vtrx trx0: set carrier: slot: 0 carrier: 24 [15122.909150] vtrx trx0: set carrier: slot: 0 carrier: 25 [15122.919151] vtrx trx0: set carrier: slot: 0 carrier: 26 [15122.929150] vtrx trx0: set carrier: slot: 0 carrier: 27
So I have tried your last patch with mine to force the rf_band to 1:
dect-transceiver-list --name trx0 DECT Transceiver trx0@cell0: Type: vtrx RF-band: 00001 Events: busy: 0 late: 0
slot 0: <scanning> packet: P00 carrier: 23 (1921.536 MHz) RX: bytes 0 packets 0 a-crc-errors 0 x-crc-errors 0 z-crc-errors 0 TX: bytes 0 packets 0
The channel seems to be ok, but no station are visible during scanning… My contact in USA is not present, perhaps he is not at home… do not know if its station is on...
About trx2:
dect-transceiver-list --name trx2 DECT Transceiver trx2: Type: sc1442x Features: slow-hopping,p64 RF-band: 00001 Events: busy: 0 late: 0
slot 0: <idle> RX: bytes 0 packets 0 a-crc-errors 0 x-crc-errors 0 z-crc-errors 0 TX: bytes 0 packets 0
(no a-crc-errors)
If I remember well, with only my patch which forces the rf_band to 3 we got for trx2:
dect-transceiver-list --name trx2 I see that slot0 is scanning:
DECT Transceiver trx2@cell0: Type: sc1442x Features: slow-hopping,p64 RF-band: 00003 Events: busy: 0 late: 0
slot 0: <scanning> packet: P00 carrier: 5 (1888.704 MHz) RX: bytes 0 packets 0 a-crc-errors 1629 x-crc-errors 0 z-crc-errors 0