Hello Patrick,
I had a look at the net/dect/mac_csf.c file source code. dect_bc_si_cycle_complete() often returns false with "incomplete: SSI" kernel logs:
Aug 15 15:33:25 amanda kernel: [18609.133852] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.143816] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.153819] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.163822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.173820] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.183821] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.193820] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.203820] page: RFPI: d7ce8 bearer description: bt: 50000000 sn: 2 sp: 0 cn: 23 Aug 15 15:33:26 amanda kernel: [18609.213817] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.233819] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.243822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.253821] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.263822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.273818] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.283820] extended fixed part capabilities: fpc: 01000 hlc: 000000 Aug 15 15:33:26 amanda kernel: [18609.283826] incomplete: SSI Aug 15 15:33:26 amanda kernel: [18609.293831] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.303818] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.323822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.333823] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.343819] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.353817] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.363819] page: RFPI: d7ce8 blind full slots: 8aa Aug 15 15:33:26 amanda kernel: [18609.373820] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.383816] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.393842] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.403823] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.413822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.433816] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.443818] multi-frame number: 4282678 Aug 15 15:33:26 amanda kernel: [18609.443825] incomplete: SSI
As far as I understand the code, in this case, the driver never locks, this would be the reason why dectmon never displays any message…
The driver never logs any DBC message. This was the case before patching for US DECT. It seems there are EU DECT stations where I am testing this driver.
[ 1112.263021] DBC slot 4 carrier 8: quality control: confirm quality [ 1112.267631] DBC slot 4 carrier 8: RSSI: selection: 60 now: 64 [ 1112.272821] DBC slot 4 carrier 8: quality control: wait [ 1112.272884] TX 17.00.04: FT T-MUX: N-channel [ 1112.272890] TX 17.00.04: trx0: Q1: 0 Q2: 0 A/B: 6e carrier: 8 PSCN: 2 [ 1112.283008] RX 17.00.16: trx0: Q1: 0 Q2: 0 A/B: 2a carrier: 2 A-CRC: 0 X-CRC: 0 Z-CRC: 0 TX 17.01.04: FT T-MUX: N-channel [ 1112.283017] TX 17.01.04: trx0: Q1: 0 Q2: 0 A/B: 6e carrier: 8 PSCN: 3 [ 1112.292781] TX 17.02.04: FT T-MUX: N-channel [ 1112.292786] TX 17.02.04: trx0: Q1: 0 Q2: 0 A/B: 6e carrier: 8 PSCN: 4 [ 1112.302781] TX 17.03.04: FT T-MUX: N-channel [ 1112.302785] TX 17.03.04: trx0: Q1: 0 Q2: 0 A/B: 6e carrier: 8 PSCN: 5 [ 1112.312813] TX 17.04.04: FT T-MUX: N-channel [ 1112.312817] TX 17.04.04: trx0: Q1: 0 Q2: 0 A/B: 6e carrier: 8 PSCN: 6 [ 1112.322783] TX 17.05.04: FT T-MUX: N-channel [ 1112.322789] TX 17.05.04: trx0: Q1: 0 Q2: 0 A/B: 6e carrier: 8 PSCN: 7 [ 1112.332781] TX 17.06.04: FT T-MUX: N-channel [ 1112.332785] TX 17.06.04: trx0: Q1: 0 Q2: 0 A/B: 6e carrier: 8 PSCN: 8 [ 1112.342780] TX 17.07.04: FT T-MUX: N-channel [ 1112.342784] TX 17.07.04: trx0: Q1: 0 Q2: 0 A/B: 6e carrier: 8 PSCN: 9 [ 1112.352813] TX 17.08.04: FT T-MUX: Q-channel [ 1112.352817] TX 17.08.04: trx0: Q1: 0 Q2: 0 A/B: 8e carrier: 8 PSCN: 0 [ 1112.362797] TX 17.09.04: FT T-MUX: N-channel [ 1112.362803] TX 17.09.04: trx0: Q1: 0 Q2: 0 A/B: 6e carrier: 8 PSCN: 1 [ 1112.372794] TX 17.10.04: FT T-MUX: N-channel[ 1112.372800] TX 17.10.04: trx0: Q1: 0 Q2: 0 A/B: 6e carrier: 8 PSCN: 2 [ 1112.382788] TX 17.11.04: FT T-MUX: N-channel [ 1112.382794] TX 17.11.04: trx0: Q1: 0 Q2: 0 A/B: 6e carrier: 8 PSCN: 3 [ 1112.392821] TX 17.12.04: FT T-MUX: N-channel [ 1112.392827] TX 17.12.04: trx0: Q1: 0 Q2: 0 A/B: 6e carrier: 8 PSCN: 4 [ 1112.395383] RX 17.11.20: trx0: Q1: 0 Q2: 0 A/B: a0 carrier: 3 A-CRC: 0 X-CRC: 0 Z-CRC: 0
On Aug 14, 2012, at 12:00 PM, linux-dect-request@lists.osmocom.org wrote:
Send linux-dect mailing list submissions to linux-dect@lists.osmocom.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.osmocom.org/mailman/listinfo/linux-dect or, via email, send a message with subject or body 'help' to linux-dect-request@lists.osmocom.org
You can reach the person managing the list at linux-dect-owner@lists.osmocom.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of linux-dect digest..." Today's Topics:
- Re: linux-dect Digest, Vol 37, Issue 6 (Fr?d?ric LECAILLE)
- Re: linux-dect Digest, Vol 37, Issue 6 (henrik hansen)
From: Frédéric LECAILLE frednews78@free.fr Subject: Re: linux-dect Digest, Vol 37, Issue 6 Date: August 13, 2012 9:53:23 PM GMT+02:00 To: linux-dect@lists.osmocom.org
Hello Henrik,
If you type this command in a terminal this will give you an idea about your issue:
ldd /usr/lib/asterisk/modules/chan_dect.so
On Aug 11, 2012, at 12:00 PM, linux-dect-request@lists.osmocom.org wrote:
Send linux-dect mailing list submissions to linux-dect@lists.osmocom.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.osmocom.org/mailman/listinfo/linux-dect or, via email, send a message with subject or body 'help' to linux-dect-request@lists.osmocom.org
You can reach the person managing the list at linux-dect-owner@lists.osmocom.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of linux-dect digest..." Today's Topics:
- undefined symbol: dect_mm_endpoint_get (henrik hansen)
- Re: undefined symbol: dect_mm_endpoint_get (Patrick McHardy)
From: henrik hansen hhansen06@googlemail.com Subject: undefined symbol: dect_mm_endpoint_get Date: August 10, 2012 4:35:09 PM GMT+02:00 To: linux-dect@lists.osmocom.org
Hey, my Asterisk got a problem with the chan_dect module. I build it like it's written here: http://dect.osmocom.org/trac/dect/wiki/Build%20instructions
debian*CLI> module load chan_dect Unable to load module chan_dect Command 'module load chan_dect' failed. [Aug 10 14:23:41] WARNING[19284]: loader.c:449 load_dynamic_module: Error loading module 'chan_dect': /usr/lib/asterisk/modules/chan_dect.so: undefined symbol: dect_mm_endpoint_get [Aug 10 14:23:41] WARNING[19284]: loader.c:839 load_resource: Module 'chan_dect' could not be loaded.
Could someone help me, getting this fixed?
--
Mit freundlichen Grüßen Henrik Hansen
From: Patrick McHardy kaber@trash.net Subject: Re: undefined symbol: dect_mm_endpoint_get Date: August 10, 2012 4:37:12 PM GMT+02:00 To: henrik hansen hhansen06@googlemail.com Cc: linux-dect@lists.osmocom.org
On Fri, 10 Aug 2012, henrik hansen wrote:
Hey, my Asterisk got a problem with the chan_dect module. I build it like it's written here: http://dect.osmocom.org/trac/dect/wiki/Build%20instructions
debian*CLI> module load chan_dect Unable to load module chan_dect Command 'module load chan_dect' failed. [Aug 10 14:23:41] WARNING[19284]: loader.c:449 load_dynamic_module: Error loading module 'chan_dect': /usr/lib/asterisk/modules/chan_dect.so: undefined symbol: dect_mm_endpoint_get [Aug 10 14:23:41] WARNING[19284]: loader.c:839 load_resource: Module 'chan_dect' could not be loaded.
Could someone help me, getting this fixed?
Its basically that chan_dect hasn't been converted to use the new API for wideband audio support yet. Just fixing this problem without actually adding wideband support should be relatively easy, I'll try to have a look during the weekend.
linux-dect mailing list linux-dect@lists.osmocom.org https://lists.osmocom.org/mailman/listinfo/linux-dect
From: henrik hansen hhansen06@googlemail.com Subject: Re: linux-dect Digest, Vol 37, Issue 6 Date: August 13, 2012 10:50:52 PM GMT+02:00 To: Frédéric LECAILLE frednews78@free.fr Cc: linux-dect@lists.osmocom.org
Hey Frédéric, for me it looks like there are no problems:
root@debian:~# ldd /usr/lib/asterisk/modules/chan_dect.so linux-gate.so.1 => (0xb77a6000) libdect.so.0 => /usr/lib/libdect.so.0 (0xb7765000) libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb774c000) libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7604000) libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7600000) libnl-dect.so.3 => /usr/local/lib/libnl-dect.so.3 (0xb75f5000) libnl.so.3 => /usr/local/lib/libnl.so.3 (0xb75e1000) /lib/ld-linux.so.2 (0xb77a7000) libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb75bb000)
My System is a Debian 6.0 x86
2012/8/13 Frédéric LECAILLE frednews78@free.fr Hello Henrik,
If you type this command in a terminal this will give you an idea about your issue:
ldd /usr/lib/asterisk/modules/chan_dect.so
On Aug 11, 2012, at 12:00 PM, linux-dect-request@lists.osmocom.org wrote:
Send linux-dect mailing list submissions to linux-dect@lists.osmocom.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.osmocom.org/mailman/listinfo/linux-dect or, via email, send a message with subject or body 'help' to linux-dect-request@lists.osmocom.org
You can reach the person managing the list at linux-dect-owner@lists.osmocom.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of linux-dect digest..." Today's Topics:
- undefined symbol: dect_mm_endpoint_get (henrik hansen)
- Re: undefined symbol: dect_mm_endpoint_get (Patrick McHardy)
From: henrik hansen hhansen06@googlemail.com Subject: undefined symbol: dect_mm_endpoint_get Date: August 10, 2012 4:35:09 PM GMT+02:00 To: linux-dect@lists.osmocom.org
Hey, my Asterisk got a problem with the chan_dect module. I build it like it's written here: http://dect.osmocom.org/trac/dect/wiki/Build%20instructions
debian*CLI> module load chan_dect Unable to load module chan_dect Command 'module load chan_dect' failed. [Aug 10 14:23:41] WARNING[19284]: loader.c:449 load_dynamic_module: Error loading module 'chan_dect': /usr/lib/asterisk/modules/chan_dect.so: undefined symbol: dect_mm_endpoint_get [Aug 10 14:23:41] WARNING[19284]: loader.c:839 load_resource: Module 'chan_dect' could not be loaded.
Could someone help me, getting this fixed?
--
Mit freundlichen Grüßen Henrik Hansen
From: Patrick McHardy kaber@trash.net Subject: Re: undefined symbol: dect_mm_endpoint_get Date: August 10, 2012 4:37:12 PM GMT+02:00 To: henrik hansen hhansen06@googlemail.com Cc: linux-dect@lists.osmocom.org
On Fri, 10 Aug 2012, henrik hansen wrote:
Hey, my Asterisk got a problem with the chan_dect module. I build it like it's written here: http://dect.osmocom.org/trac/dect/wiki/Build%20instructions
debian*CLI> module load chan_dect Unable to load module chan_dect Command 'module load chan_dect' failed. [Aug 10 14:23:41] WARNING[19284]: loader.c:449 load_dynamic_module: Error loading module 'chan_dect': /usr/lib/asterisk/modules/chan_dect.so: undefined symbol: dect_mm_endpoint_get [Aug 10 14:23:41] WARNING[19284]: loader.c:839 load_resource: Module 'chan_dect' could not be loaded.
Could someone help me, getting this fixed?
Its basically that chan_dect hasn't been converted to use the new API for wideband audio support yet. Just fixing this problem without actually adding wideband support should be relatively easy, I'll try to have a look during the weekend.
linux-dect mailing list linux-dect@lists.osmocom.org https://lists.osmocom.org/mailman/listinfo/linux-dect
--
Mit freundlichen Grüßen Henrik Hansen
Waldstr 29 28816 Stuhr
Tel.: 04206 6698 Mobil: 0170 2350 222 Mail: hhansen06@googlemail.com
linux-dect mailing list linux-dect@lists.osmocom.org https://lists.osmocom.org/mailman/listinfo/linux-dect
On Wed, 15 Aug 2012, Fr�d�ric LECAILLE wrote:
Hello Patrick,
I had a look at the net/dect/mac_csf.c file source code. dect_bc_si_cycle_complete() often returns false with "incomplete: SSI" kernel logs:
Aug 15 15:33:25 amanda kernel: [18609.133852] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.143816] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.153819] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.163822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.173820] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.183821] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.193820] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.203820] page: RFPI: d7ce8 bearer description: bt: 50000000 sn: 2 sp: 0 cn: 23 Aug 15 15:33:26 amanda kernel: [18609.213817] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.233819] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.243822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.253821] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.263822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.273818] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.283820] extended fixed part capabilities: fpc: 01000 hlc: 000000 Aug 15 15:33:26 amanda kernel: [18609.283826] incomplete: SSI Aug 15 15:33:26 amanda kernel: [18609.293831] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.303818] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.323822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.333823] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.343819] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.353817] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.363819] page: RFPI: d7ce8 blind full slots: 8aa Aug 15 15:33:26 amanda kernel: [18609.373820] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.383816] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.393842] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.403823] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.413822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.433816] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.443818] multi-frame number: 4282678 Aug 15 15:33:26 amanda kernel: [18609.443825] incomplete: SSI
so how exactly was this test performed? I assume you used a real US-DECT FP and configured the cell to PP mode?
As far as I understand the code, in this case, the driver never locks, this would be the reason why dectmon never displays any message�
Correct, we need a full set of system information messages for locking.
The driver never logs any DBC message. This was the case before patching for US DECT. It seems there are EU DECT stations where I am testing this driver.
[ 1112.263021] DBC slot 4 carrier 8: quality control: confirm quality [ 1112.267631] DBC slot 4 carrier 8: RSSI: selection: 60 now: 64 [ 1112.272821] DBC slot 4 carrier 8: quality control: wait [ 1112.272884] TX 17.00.04: FT T-MUX: N-channel
... these are messages from FP mode. In PP mode you won't see them.
On Aug 16, 2012, at 1:22 AM, Patrick McHardy wrote:
On Wed, 15 Aug 2012, Frédéric LECAILLE wrote:
Hello Patrick,
I had a look at the net/dect/mac_csf.c file source code. dect_bc_si_cycle_complete() often returns false with "incomplete: SSI" kernel logs:
Aug 15 15:33:25 amanda kernel: [18609.133852] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.143816] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.153819] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.163822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.173820] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.183821] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.193820] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.203820] page: RFPI: d7ce8 bearer description: bt: 50000000 sn: 2 sp: 0 cn: 23 Aug 15 15:33:26 amanda kernel: [18609.213817] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.233819] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.243822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.253821] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.263822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.273818] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.283820] extended fixed part capabilities: fpc: 01000 hlc: 000000 Aug 15 15:33:26 amanda kernel: [18609.283826] incomplete: SSI Aug 15 15:33:26 amanda kernel: [18609.293831] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.303818] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.323822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.333823] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.343819] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.353817] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.363819] page: RFPI: d7ce8 blind full slots: 8aa Aug 15 15:33:26 amanda kernel: [18609.373820] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.383816] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.393842] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.403823] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.413822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.433816] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.443818] multi-frame number: 4282678 Aug 15 15:33:26 amanda kernel: [18609.443825] incomplete: SSI
so how exactly was this test performed? I assume you used a real US-DECT FP and configured the cell to PP mode?
Yes, this was exactly the case:
dect-cluster-add --name cluster0 --emc 0x2284 --fpn 0x1af9d --mode PP dect-cell-add --name cell0 --cluster cluster0 --flags monitor dect-transceiver-bind --transceiver trx0 --cell cell0 dect-transceiver-bind --transceiver trx1 --cell cell0 dect-transceiver-bind --transceiver trx2 --cell cell0
then I run the dectmon tool..
As far as I understand the code, in this case, the driver never locks, this would be the reason why dectmon never displays any message…
Correct, we need a full set of system information messages for locking.
The driver never logs any DBC message. This was the case before patching for US DECT. It seems there are EU DECT stations where I am testing this driver.
[ 1112.263021] DBC slot 4 carrier 8: quality control: confirm quality [ 1112.267631] DBC slot 4 carrier 8: RSSI: selection: 60 now: 64 [ 1112.272821] DBC slot 4 carrier 8: quality control: wait [ 1112.272884] TX 17.00.04: FT T-MUX: N-channel
... these are messages from FP mode. In PP mode you won't see them.
On Thu, 16 Aug 2012, Frédéric LECAILLE wrote:
On Aug 16, 2012, at 1:22 AM, Patrick McHardy wrote:
On Wed, 15 Aug 2012, Frédéric LECAILLE wrote:
Hello Patrick,
I had a look at the net/dect/mac_csf.c file source code. dect_bc_si_cycle_complete() often returns false with "incomplete: SSI" kernel logs:
Aug 15 15:33:25 amanda kernel: [18609.133852] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.143816] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.153819] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.163822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.173820] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.183821] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.193820] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.203820] page: RFPI: d7ce8 bearer description: bt: 50000000 sn: 2 sp: 0 cn: 23 Aug 15 15:33:26 amanda kernel: [18609.213817] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.233819] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.243822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.253821] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.263822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.273818] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.283820] extended fixed part capabilities: fpc: 01000 hlc: 000000 Aug 15 15:33:26 amanda kernel: [18609.283826] incomplete: SSI Aug 15 15:33:26 amanda kernel: [18609.293831] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.303818] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.323822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.333823] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.343819] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.353817] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.363819] page: RFPI: d7ce8 blind full slots: 8aa Aug 15 15:33:26 amanda kernel: [18609.373820] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.383816] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.393842] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.403823] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.413822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.433816] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.443818] multi-frame number: 4282678 Aug 15 15:33:26 amanda kernel: [18609.443825] incomplete: SSI
so how exactly was this test performed? I assume you used a real US-DECT FP and configured the cell to PP mode?
Yes, this was exactly the case:
dect-cluster-add --name cluster0 --emc 0x2284 --fpn 0x1af9d --mode PP dect-cell-add --name cell0 --cluster cluster0 --flags monitor dect-transceiver-bind --transceiver trx0 --cell cell0 dect-transceiver-bind --transceiver trx1 --cell cell0 dect-transceiver-bind --transceiver trx2 --cell cell0
Please send me the full mac layer debugging output.
in fact there was no only such messages:
[12732.158373] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12732.178368] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12732.328372] extended fixed part capabilities: fpc: 01000 hlc: 000000 [12732.328382] incomplete: SSI [12732.338377] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12732.548369] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12732.708377] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12732.898374] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12733.018377] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12733.038377] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12733.088375] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12733.168377] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12733.178373] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12733.188379] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12733.208376] page: RFPI: b9220 bearer description: bt: 50000000 sn: 4 sp: 0 cn : 23 [12733.298375] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12733.318383] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12733.338368] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12733.428370] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12733.568370] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12733.578372] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12733.588372] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12733.678370] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12733.688374] page: RFPI: b9220 blind full slots: a2a [12733.788369] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12733.808378] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12733.818375] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12733.908372] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12733.918373] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12734.008375] page: RFPI: b9220 bearer description: bt: 50000000 sn: 4 sp: 0 cn : 23 [12734.018379] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12734.028373] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12734.038377] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12734.108373] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12734.128380] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12734.148380] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12734.208377] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12734.218373] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12734.228372] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12734.318371] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12734.398372] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12734.418372] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12734.488373] page: RFPI: b9220 RFP status: rfp_busy: 0 sys_busy: 0 [12734.578372] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12734.598373] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12734.608373] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12734.668371] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12734.678374] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12734.688373] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12736.298375] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12736.438375] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12736.478376] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12736.538380] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12736.588378] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12736.618376] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12736.798383] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12736.848378] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12736.988376] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12736.998379] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12737.028376] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12737.108376] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12737.148375] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12737.188376] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12737.228384] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12737.258377] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12737.268377] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12737.298376] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12737.338377] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12737.368378] page: RFPI: b9220 bearer description: bt: 50000000 sn: 4 sp: 0 cn : 23 [12737.378385] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12737.498376] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12737.538384] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12737.578377] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12737.698378] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12737.738377] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12737.938377] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12737.988377] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12738.028378] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12738.068378] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12738.158377] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12738.188381] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12738.198381] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12738.318383] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12738.328383] page: RFPI: b9220 bearer description: bt: 50000000 sn: 4 sp: 0 cn: 23 [12738.358378] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12738.368381] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12738.498382] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12738.548382] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12738.588384] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12738.668382] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12738.678381] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12738.708381] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12738.718385] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12738.768382] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12738.808382] page: RFPI: b9220 blind full slots: a2a [12739.338385] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12739.358387] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12739.408382] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12739.458385] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12739.488384] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12739.508382] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12739.528385] extended rf carrier information: rfcars: 003e00 band: 1 num: 1 er fc2: 0 [12739.528389] incomplete: SSI [12739.538383] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12739.618382] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12739.628383] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12739.658383] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12739.668383] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12739.698383] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12739.738384] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12739.748391] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12739.778383] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12739.818383] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12739.858383] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12739.868383] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12739.898386] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12739.918385] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12739.948395] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12739.988391] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.028389] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.068387] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.078386] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.108384] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.118384] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.148388] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.188392] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.228394] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.268395] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.308393] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.318385] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.378387] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.388385] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.418385] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.428390] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.458386] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.498384] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.508385] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.578384] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.618388] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.688390] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.698390] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.728389] page: RFPI: b9220 RFP status: rfp_busy: 0 sys_busy: 0 [12740.768389] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.808389] extended rf carrier information: rfcars: 003e00 band: 1 num: 1 er fc2: 0 [12740.808393] incomplete: SSI [12740.838391] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.848389] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.878390] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.918389] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.968385] multi-frame number: 16666971 [12740.968389] incomplete: SSI [12740.988394] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12740.998391] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.068389] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.078390] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.088391] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.108388] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.138387] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.148388] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.178391] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.208390] page: RFPI: b9220 RFP status: rfp_busy: 0 sys_busy: 0 [12741.218389] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.248388] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.258390] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.288389] extended fixed part capabilities: fpc: 01000 hlc: 000000 [12741.288393] incomplete: SSI [12741.318385] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.328386] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.338387] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.358390] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.398388] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.408390] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.428390] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.468395] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.478391] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.508394] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.518390] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.588391] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.608385] multi-frame number: 16666975 [12741.608389] incomplete: SSI [12741.648386] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.678387] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.688390] page: RFPI: b9220 bearer description: bt: 50000000 sn: 4 sp: 0 cn : 23 [12741.718393] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.788387] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0 [12741.798391] identities information: e: 0 class: 0 emc: 21d4 fpn: 17244 rpn: 0
On Aug 16, 2012, at 7:23 PM, Patrick McHardy wrote:
On Thu, 16 Aug 2012, Frédéric LECAILLE wrote:
On Aug 16, 2012, at 1:22 AM, Patrick McHardy wrote:
On Wed, 15 Aug 2012, Frédéric LECAILLE wrote:
Hello Patrick,
I had a look at the net/dect/mac_csf.c file source code. dect_bc_si_cycle_complete() often returns false with "incomplete: SSI" kernel logs:
Aug 15 15:33:25 amanda kernel: [18609.133852] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.143816] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.153819] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.163822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.173820] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.183821] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.193820] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.203820] page: RFPI: d7ce8 bearer description: bt: 50000000 sn: 2 sp: 0 cn: 23 Aug 15 15:33:26 amanda kernel: [18609.213817] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.233819] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.243822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.253821] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.263822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.273818] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.283820] extended fixed part capabilities: fpc: 01000 hlc: 000000 Aug 15 15:33:26 amanda kernel: [18609.283826] incomplete: SSI Aug 15 15:33:26 amanda kernel: [18609.293831] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.303818] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.323822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.333823] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.343819] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.353817] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.363819] page: RFPI: d7ce8 blind full slots: 8aa Aug 15 15:33:26 amanda kernel: [18609.373820] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.383816] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.393842] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.403823] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.413822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.433816] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.443818] multi-frame number: 4282678 Aug 15 15:33:26 amanda kernel: [18609.443825] incomplete: SSI
so how exactly was this test performed? I assume you used a real US-DECT FP and configured the cell to PP mode?
Yes, this was exactly the case:
dect-cluster-add --name cluster0 --emc 0x2284 --fpn 0x1af9d --mode PP dect-cell-add --name cell0 --cluster cluster0 --flags monitor dect-transceiver-bind --transceiver trx0 --cell cell0 dect-transceiver-bind --transceiver trx1 --cell cell0 dect-transceiver-bind --transceiver trx2 --cell cell0
Please send me the full mac layer debugging output.
I will give you hex dumps of the concerned structures asap if you want… when I will have an access to the machine again…
On Aug 16, 2012, at 1:22 AM, Patrick McHardy wrote:
On Wed, 15 Aug 2012, Frédéric LECAILLE wrote:
Hello Patrick,
I had a look at the net/dect/mac_csf.c file source code. dect_bc_si_cycle_complete() often returns false with "incomplete: SSI" kernel logs:
Aug 15 15:33:25 amanda kernel: [18609.133852] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.143816] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.153819] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.163822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.173820] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:25 amanda kernel: [18609.183821] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.193820] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.203820] page: RFPI: d7ce8 bearer description: bt: 50000000 sn: 2 sp: 0 cn: 23 Aug 15 15:33:26 amanda kernel: [18609.213817] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.233819] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.243822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.253821] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.263822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.273818] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.283820] extended fixed part capabilities: fpc: 01000 hlc: 000000 Aug 15 15:33:26 amanda kernel: [18609.283826] incomplete: SSI Aug 15 15:33:26 amanda kernel: [18609.293831] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.303818] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.323822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.333823] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.343819] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.353817] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.363819] page: RFPI: d7ce8 blind full slots: 8aa Aug 15 15:33:26 amanda kernel: [18609.373820] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.383816] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.393842] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.403823] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.413822] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.433816] identities information: e: 0 class: 0 emc: 2284 fpn: 1af9d rpn: 0 Aug 15 15:33:26 amanda kernel: [18609.443818] multi-frame number: 4282678 Aug 15 15:33:26 amanda kernel: [18609.443825] incomplete: SSI
so how exactly was this test performed? I assume you used a real US-DECT FP and configured the cell to PP mode?
As far as I understand the code, in this case, the driver never locks, this would be the reason why dectmon never displays any message…
Correct, we need a full set of system information messages for locking.
The driver never logs any DBC message. This was the case before patching for US DECT. It seems there are EU DECT stations where I am testing this driver.
[ 1112.263021] DBC slot 4 carrier 8: quality control: confirm quality [ 1112.267631] DBC slot 4 carrier 8: RSSI: selection: 60 now: 64 [ 1112.272821] DBC slot 4 carrier 8: quality control: wait [ 1112.272884] TX 17.00.04: FT T-MUX: N-channel
... these are messages from FP mode. In PP mode you won't see them.