extraneous data and malformed packet in Hopping Channel

71 views
Skip to first unread message

moemu...@gmail.com

unread,
Jul 25, 2018, 3:25:00 AM7/25/18
to gr-gsm
Hi every one ..

First of All i send 5 msg to mobile .

i have hoping channel , i capture the spectrum using USRP N210 with 10M sampleRate and then channelize it to 4 channel with 1M sampleRate.

then i use grgsm_hopping_example.grc to put it in one binary File "h.binary"







then decode it using Kc Like this
grgsm_decode -b h.binary -f 1835e6 -s 1e6 -m SDCCH8 -t 2 -k 'F76A9298F93E6F31'

and then i got this in wireshark " also attach wireshark capture"




and this



and in last msg i have the number but also without tp-user-data with malformed packet





can Someone tell me what happen , and how can i fix this !


h.pcapng

Vasil Velichkov

unread,
Jul 25, 2018, 6:24:12 AM7/25/18
to gr-gsm
Hi moemusa0090,


On Wednesday, July 25, 2018 at 10:25:00 AM UTC+3, moemu...@gmail.com wrote:
then decode it using Kc Like this
grgsm_decode -b h.binary -f 1835e6 -s 1e6 -m SDCCH8 -t 2 -k 'F76A9298F93E6F31'

Which gr-gsm and wireshark versions do you use?

When I run the above command using the latest development branch (commit ac140210c93deb8918f7ab964c2ba8791aea711e) I get only 38 gsmtap packets and there is no any SMS-DELIVER in it.

moemu...@gmail.com

unread,
Jul 25, 2018, 7:03:40 AM7/25/18
to gr-gsm
Wireshark version 2.6.1
and grgsm from master brunch

Vasil Velichkov

unread,
Jul 25, 2018, 3:25:17 PM7/25/18
to gr-gsm
Hi,


On Wednesday, July 25, 2018 at 2:03:40 PM UTC+3, moemu...@gmail.com wrote:

In the master branch there are few bugs that are fixed in the development branch.

In short the return code of gsm0503_xcch_decode was not check and as a result a lot of malformed messages (with CRC errors or not successfully decrypted) were sent to Wireshark and Wireshark displays them as malformed because they are actually malformed.

You could validate this by applying this commit on top of current master (git cherry-pick bc2a23e0e7454fcba9770644055ac4d048db61e5), reinstall (make install) and then after running grgsm_decode you will get only 38 valid packets in the Wireshark.

My other advice is to use the development branch as it contains other bug fixes as well.

moemu...@gmail.com

unread,
Jul 28, 2018, 7:09:55 AM7/28/18
to gr-gsm
I install development branch , and as you say i have only 38 packet

So Now what is the problem , is it in my SDR , OR Bad Resiver Quality  ?

Piotr Krysik

unread,
Aug 2, 2018, 9:20:10 AM8/2/18
to gr-...@googlegroups.com
W dniu 25.07.2018 o 09:25, moemu...@gmail.com pisze:
> Hi every one ..
>
> First of All i send 5 msg to mobile .
>
> i have hoping channel , i capture the spectrum using USRP N210 with 10M
> sampleRate and then channelize it to 4 channel with 1M sampleRate.
>
> then i use grgsm_hopping_example.grc to put it in one binary File
> "h.binary"
>
> https://drive.google.com/file/d/127okn3mIWMqcr73LVJz77YIcgeZiQFnx/view
>

Try also to connect C0 output of the "GSM Receiver" block to "CX channel
hopper". Can you also show configuration of the "GSM Receiver"?

--
Best Regards,
Piotr Krysik

moemu...@gmail.com

unread,
Aug 8, 2018, 3:01:08 AM8/8/18
to gr-gsm

thank you for replay ,,

i will Connect C0 to Cx channel hopper , but still same output

and this Configuration of GSM Receiver
"osr = 4"


Reply all
Reply to author
Forward
0 new messages