LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-04-2011, 02:43 PM   #1
saywei89
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Rep: Reputation: 0
channel sensing in CRCN (cognitive radio cognitive network) patch


Hello everyone.

My project is to simulate the dynamic spectrum access network which is consisted of some primary and also secondary users, and there are N channels for them to communicate.For example 6 PU, 10 SU and 3 channels.

And below is my network environment

i) Primary users will only communicate within each other and so does with secondary user.
ii) Primary users have the priority to use the channel. If primary user want to use the channel, the secondary users which are using the channel will detect the existence of PU and must free the channel.

I am still working to implement such algorithm and link below is the website that i refer to. I using the CRCN provided by the website.

http://stuweb.ee.mtu.edu/~ljialian/

Here is my problem. In the CRCN the detection of primary user is by sending a packet from a PU which indicates it is a PU.
My lecturer does not want this algorithm. He want me to detect the PU by sensing the channel energy in physical layer.

Can anybody gives me the idea/any website on how to implement channel sensing in ns 2?There are 2 objectives I need to achieve now.

1.SU sense the channel enegy before using it.
2.SU can sense the PU while using channel and free it for PU.

I tried to read through the documentation by CRCN and cant find any helpful information.

Thank in advance and sorry for my lousy english.
 
Old 03-04-2011, 03:44 AM   #2
jaibaba1
LQ Newbie
 
Registered: Dec 2009
Location: Tezpur, India
Distribution: Fedora11
Posts: 12

Rep: Reputation: 1
I don't have answer to your question, but i have one query. Can you tell me how to know which channel is being used by which node? In "Design Test Case Study" (in the website) they have shown the use of a trace file. I can't find any information on channel use in the trace file.
Moreover what do Traffic and IT file represent? What is their format?
 
Old 03-05-2011, 03:01 AM   #3
saywei89
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Hey jaibaba,

For you 1st question, i am still working on it and still dont have answer for it.

IT file and trafficfile format.

IT file format
Timestamp node id interference channel id


Trafficfile format
Timestamp node id traffic information

the traffic information means the amount of packet received by current node.

you could read here for more details.
http://stuweb.ee.mtu.edu/~ljialian/C...C%20detail.htm
 
Old 03-07-2011, 01:09 AM   #4
jaibaba1
LQ Newbie
 
Registered: Dec 2009
Location: Tezpur, India
Distribution: Fedora11
Posts: 12

Rep: Reputation: 1
Thank you very much. I now understand Traffic file.
But in IT file what does the last column represent? I think second last column represent the channel.

I simulated the test4maccon.tcl file.

Last edited by jaibaba1; 03-07-2011 at 01:12 AM.
 
Old 07-10-2012, 12:27 AM   #5
fazlullah
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Rep: Reputation: Disabled
Channel sensing and detecting PU signal

.....

Last edited by fazlullah; 10-31-2012 at 09:16 PM.
 
Old 10-31-2012, 09:14 PM   #6
fazlullah
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Rep: Reputation: Disabled
PU channel sensing

saywei89!
I hope you will be fine and enjoying good health.
I just want to know had you successful in implementing you lecturer idea, if yes how you did or from where did you get help.
Thanks
 
Old 10-31-2012, 09:15 PM   #7
fazlullah
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Rep: Reputation: Disabled
PU Chanel sensing

saywei89!
I hope you will be fine and enjoying good health.
I just want to know had you successful in implementing you lecturer idea, if yes how you did or from where did you get help.
Thanks

Quote:
Originally Posted by saywei89 View Post
Hello everyone.

My project is to simulate the dynamic spectrum access network which is consisted of some primary and also secondary users, and there are N channels for them to communicate.For example 6 PU, 10 SU and 3 channels.

And below is my network environment

i) Primary users will only communicate within each other and so does with secondary user.
ii) Primary users have the priority to use the channel. If primary user want to use the channel, the secondary users which are using the channel will detect the existence of PU and must free the channel.

I am still working to implement such algorithm and link below is the website that i refer to. I using the CRCN provided by the website.

http://stuweb.ee.mtu.edu/~ljialian/

Here is my problem. In the CRCN the detection of primary user is by sending a packet from a PU which indicates it is a PU.
My lecturer does not want this algorithm. He want me to detect the PU by sensing the channel energy in physical layer.

Can anybody gives me the idea/any website on how to implement channel sensing in ns 2?There are 2 objectives I need to achieve now.

1.SU sense the channel enegy before using it.
2.SU can sense the PU while using channel and free it for PU.

I tried to read through the documentation by CRCN and cant find any helpful information.

Thank in advance and sorry for my lousy english.
 
Old 02-04-2014, 10:00 AM   #8
Retta
LQ Newbie
 
Registered: Nov 2013
Posts: 16

Rep: Reputation: Disabled
Angry which channel is being used

#2 and #3
Have you got the information needed to know which channel is being used by which node?
If yes pls tell me, i really need that info cause i fed up.
 
Old 04-02-2014, 01:05 AM   #9
nkthalia
LQ Newbie
 
Registered: Feb 2014
Posts: 3

Rep: Reputation: Disabled
Channel sensing in CRCN

hey saywei89, I also need implementation of channel sensing in CRCN. If you understood the idea please share.

thank you
 
Old 05-02-2014, 06:44 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
Post #9, @nkthalia.

Ref. post #1 :
""PU by sensing the channel energy in physical layer.""

The "PU code" is available in the "TFRC-CRAHN" patch(es).
http://www.linuxquestions.org/questi...or-4175503446/

-
 
  


Reply

Tags
crcn, ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
audio recording on sensing level similar to motion detect traigo Linux - Software 0 08-13-2009 09:11 PM
hard drive spindown [scsi, fibre channel, sata]... anything or kernel hack / patch av jc179 Linux - Hardware 10 06-25-2009 12:53 AM
pen drive not sensing. dipanjan Linux - Desktop 1 03-07-2009 07:02 PM
Grub not sensing arrow keys in FC7 knikhil271083 Linux - Hardware 2 04-29-2008 04:07 AM
Linux Network Radio startx_kdm Linux - Software 1 12-12-2005 07:23 PM


All times are GMT -5. The time now is 12:54 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration