Sniffing to RACH
Akib Sayyed
akibsayyed at gmail.com
Thu Feb 14 17:43:52 CET 2013
Hello list I am trying to sniff TS0 of BTS for purpose of sniffing RACH.
but i am bit confused in this.
i attached my code in mail.
short description:
1. changed IMM_ASS to single RF and allow to jump as per IMM_ASS only
once and no Hoppoing
2. while jumping to single RF imm ass used chan_nr=40 (40 & 7 =0)
3. added own function for decoding ccch.
current problem
able to decode PCH and AGCH properly
but its slow in action.
but if i use following modification in mframe_sched.c
static const struct mframe_sched_item mf_ccch[] = {
{ .sched_set = SNIFF_QUAD_DL, .modulo = 51, .frame_nr = 6 },
{ .sched_set = SNIFF_QUAD_UL, .modulo = 51, .frame_nr = 6 +15 },
{ .sched_set = SNIFF_QUAD_DL, .modulo = 51, .frame_nr = 12},
{ .sched_set = SNIFF_QUAD_UL, .modulo = 51, .frame_nr = 12 +15},
{ .sched_set = SNIFF_QUAD_DL, .modulo = 51, .frame_nr = 16 },
{ .sched_set = SNIFF_QUAD_UL, .modulo = 51, .frame_nr = 16 +15},
{ .sched_set = SNIFF_QUAD_DL, .modulo = 51, .frame_nr = 22 },
{ .sched_set = SNIFF_QUAD_UL, .modulo = 51, .frame_nr = 22 +15},
{ .sched_set = SNIFF_QUAD_DL, .modulo = 51, .frame_nr = 26 },
{ .sched_set = SNIFF_QUAD_UL, .modulo = 51, .frame_nr = 26+15 },
{ .sched_set = SNIFF_QUAD_DL, .modulo = 51, .frame_nr = 32 },
{ .sched_set = SNIFF_QUAD_UL, .modulo = 51, .frame_nr = 32 +15},
{ .sched_set = SNIFF_QUAD_DL, .modulo = 51, .frame_nr = 36 },
{ .sched_set = SNIFF_QUAD_UL, .modulo = 51, .frame_nr = 36 +15},
{ .sched_set = SNIFF_QUAD_DL, .modulo = 51, .frame_nr = 42 },
{ .sched_set = SNIFF_QUAD_UL, .modulo = 51, .frame_nr = 42 +15},
{ .sched_set = SNIFF_QUAD_DL, .modulo = 51, .frame_nr = 46 },
{ .sched_set = SNIFF_QUAD_UL, .modulo = 51, .frame_nr = 46 +15},
{ .sched_set = NULL }
};
it becomes very faster but I am not sure whether its correct or will give
me correct out put.
--
Akib Sayyed
Matrix-Shell
akibsayyed at gmail.com
akibsayyed at matrixshell.com
Mob:- +91-966-514-2243
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/baseband-devel/attachments/20130214/d39f8809/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: app_ccch_scan.c
Type: text/x-csrc
Size: 22880 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/baseband-devel/attachments/20130214/d39f8809/attachment-0001.c>
More information about the baseband-devel
mailing list