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.