This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SA application example for 3GPP Air Ciphering LTE

Hi,


 I am using CCS Version: 6.0.1.00040 on TI 6614 EVM and salld version is 1.0.8.0 for LTE 3gpp.

I am using "SA_BasicExample_exampleProject" project for testing  3GPP Air Ciphering LTE(test6.c). After having successfully passed this test for 84 byes, when the  SDU size is increased to 1024 I find that the length of received decrypted SDU is 512 bytes as shown below. Could you please let me know how this possible?

Console print:

[C66xx_0]

 ------- SA Unit Test Starting ---------
Instantiating SALLD ... DONE

Initialization of the PA, PA cpdma, QM and CPPI DONE
Make sure the setup matches what is expected DONE
saTestInit() DONE
Before Task_create()
Instantiating SALLD Channel 0 ...
 DONE

Opening SALLD Channel 0 ...
SALLD Channel 0: General Configuration
SALLD Channel 0: Key Configuration
SALLD Channel 0: Enable Tx
SALLD Channel 0: Enable Rx
SALLD channel 0: Register SA Info
 DONE

Routing Pkt to SA: BufPtr = 0x1081cdc0, pkt at 0x0080c9e8, size = 1024
hd->buffLen:512
MIPs consumed for SA: 118830
Receive Pkt from PA/SA
Software Info: 0x44440000, 0x00004444, 0x00000000
Packet of size 512 received at 0x1081bdc0
Receive TxPkt from PA/SA
Software Info: 0x44400000, 0x00004440, 0x00000000
Packet of size 512 received at 0x1081bfc0
SALLD channel 0: Send Null Packet
SALLD channel 0: Send Null Packet
Chan 0 (Air Ciphering) Statistics:
----------------------------------------------------
numPktsToAirHi =       0x00000000
numPktsToAirLo =       0x00000001
numPktsFromAirHi =     0x00000000
numPktsFromAirLo =     0x00000001
numAuthFail  =         0
toAirCount-C  =        0x00002000
fromAirCount-C  =      0x00002000
Closing SALLD Channel 0 ...
SALLD channel 0: Send Null Packet
SALLD channel 0: UnRegister Sw Info
SALLD channel 0: Send Null Packet
 DONE

Task_create() DONE
Task_stat() DONE
SA 3GPP LTE test:  PASSED
verifyTestFramework: Expected 16 entry count in linked buffer queue 1 (903), found 13
topLevelTest (C:/ti/salld_1_0_8_0/packages/ti/drv/sa/example/SaBasicExample/src/c66x/bios/testMain.c:302): verifyTestFramework returned error after test SA 3GPP LTE test. Exiting.


Test summary:
    Tests Passed: 1
    Tests Failed: 0
    Tests not run: 0



 ------- SA Unit Test Complete ---------

Thanks and Regards,

Shabrin