Re: [Discuss-gnuradio] Running gr-ieee 802.11 and gr-ieee 802.15.4 under same flowgraph (interference and co-existence)

2017-07-08 Thread Bastian Bloessl

Hi,
On 07/08/2017 07:11 PM, sumitstop wrote:

Wao superb! you cleaned it out also. Yes it works. Thanks much.

But did you figure out what was the issue at the first place :)


I'm not sure. Maybe it was related to one of the Packet Pad blocks. 
Since you resampled, you also changed the length of the frame, which 
might have confused the block (the length tag at the start of the frame 
didn't correspond to the length of the frame anymore).




I have another related question about the wireshark connector in
transceiver_OQPSK.grc. I see that wireshark connector gets input from two
different outputs.

One from pdu_out of IEEE802.15.4 MAC and another from rxout of IEEE802.15.4
OQPSK PHY

When I see the output pcap file i..e sensor.pcap, same packet is logged
twice. I realized this by observing their sequence number field, which
repeats two times for every broadcast frame.


Yes, in the loopback configuration it logs all frames twice. Once they 
are sent and once they are received. The setup makes more sense when you 
actually transmit frames over the air. Then you might want to log what 
was sent and what was received.


In your simulations you probably know what you sent and are only 
interested in which frames made it through. In that case, just remove 
the connection from the sender to the Wireshark block.


Best,
Bastian

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Running gr-ieee 802.11 and gr-ieee 802.15.4 under same flowgraph (interference and co-existence)

2017-07-08 Thread sumitstop
Wao superb! you cleaned it out also. Yes it works. Thanks much. 

But did you figure out what was the issue at the first place :) 

I have another related question about the wireshark connector in
transceiver_OQPSK.grc. I see that wireshark connector gets input from two
different outputs. 

One from pdu_out of IEEE802.15.4 MAC and another from rxout of IEEE802.15.4
OQPSK PHY 

When I see the output pcap file i..e sensor.pcap, same packet is logged
twice. I realized this by observing their sequence number field, which
repeats two times for every broadcast frame.
 
I have attached the pcap file for your reference. 
sensor.pcap   

I solved the issue by disconnecting one of the connectors but I am not sure
which one is correct. 
pdu_out of IEEE802.15.4 MAC should go to wireshark 
or 
rxout of IEEE802.15.4 OQPSK PHY should go to wireshark

Both of the above dump correct wireshark capture.

Regards
Sumit



 





--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Running-gr-ieee-802-11-and-gr-ieee-802-15-4-under-same-flowgraph-interference-and-co-existence-tp64474p64517.html
Sent from the GnuRadio mailing list archive at Nabble.com.

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Running gr-ieee 802.11 and gr-ieee 802.15.4 under same flowgraph (interference and co-existence)

2017-07-06 Thread Bastian Bloessl

Hi,

On 07/06/2017 07:55 AM, sumitstop wrote:

Hello Bastian,
Sorry for late response.
I am attaching the files for your reference. There are 2 grc files

1. wifi_zigbee.grc : wifi and zigbee loopbacks are running in parallel >>
works good

2. wifi_zigbee_interference.grc : Here I interpolate the zigbee output by 5,
feed to channel, add to 20 MHz wifi signal. Added signal is fed directly to
wifi receiver however I decimate it by 5 before feeding it to zigbee
receiver.

I see the following on the terminal for the 2nd grc file.

[INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800;
UHD_4.0.0.rfnoc-devel-283-g7ff43262
MAPPER: encoding: 0
set_min_output_buffer on block 9 to 397056
set_min_output_buffer on block 11 to 397056
set_min_output_buffer on block 13 to 397056
set_min_output_buffer on block 14 to 397056
set_min_output_buffer on block 16 to 397056
sender started
set_min_output_buffer on block 58 to 96000


After that nothing happens, just the cursor keeps blinking.

wifi_zigbee.grc


wifi_zigbee_interference.grc




I was playing a bit around with the flow graph. Forgot what the actual 
problem was, but this adapted version works for me:


http://www.ccs-labs.org/~bloessl/wifi_zigbee_interference.grc

Best,
Bastian

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Running gr-ieee 802.11 and gr-ieee 802.15.4 under same flowgraph (interference and co-existence)

2017-07-06 Thread sumitstop
Hello Bastian, 
Sorry for late response. 
I am attaching the files for your reference. There are 2 grc files 

1. wifi_zigbee.grc : wifi and zigbee loopbacks are running in parallel >>
works good

2. wifi_zigbee_interference.grc : Here I interpolate the zigbee output by 5,
feed to channel, add to 20 MHz wifi signal. Added signal is fed directly to
wifi receiver however I decimate it by 5 before feeding it to zigbee
receiver. 

I see the following on the terminal for the 2nd grc file.

[INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800;
UHD_4.0.0.rfnoc-devel-283-g7ff43262
MAPPER: encoding: 0
set_min_output_buffer on block 9 to 397056
set_min_output_buffer on block 11 to 397056
set_min_output_buffer on block 13 to 397056
set_min_output_buffer on block 14 to 397056
set_min_output_buffer on block 16 to 397056
sender started
set_min_output_buffer on block 58 to 96000


After that nothing happens, just the cursor keeps blinking.

wifi_zigbee.grc
  

wifi_zigbee_interference.grc
  



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Running-gr-ieee-802-11-and-gr-ieee-802-15-4-under-same-flowgraph-interference-and-co-existence-tp64474p64483.html
Sent from the GnuRadio mailing list archive at Nabble.com.

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Running gr-ieee 802.11 and gr-ieee 802.15.4 under same flowgraph (interference and co-existence)

2017-07-05 Thread Bastian Bloessl
Hi,

thanks for the detailed description. I’m not sure what the actual error is. 
What do you mean with grc turns dark.
Does it crash or stop receiving or actually show a black window? Did grc turn 
dark or the flow graph?

Best,
Bastian



> On 4. Jul 2017, at 22:10, sumitstop  wrote:
> 
> Hello, 
> (Its a long post :) as I want to give as much details as possible)
> 
> Today I did a strange experiment. Under GNU Radio companion, I created a
> blank project. Then I copy pasted the wifi_loopback.grc from gr-ieee 802.11
> to my blank project and made it run. Off course I took care of the initial
> settings of the variables and all. It ran successfully. Then I copy pasted
> the transceiver_OQPSK.grc from gr-ieee 802.15.4 to the same grc project
> where wifi_loopback.grc was there. Then I separated the variables carefully
> and make both wifi_loopback and transceiver_OQPSK to run under the same flow
> graph at the same time. They ran successfully without any issue! 
> 
> In the next step, I tried to create an environment of interference between
> WiFi and ZigBee by adding the baseband output of WiFi transmitter and ZigBee
> transmitter. But before that I upsampled the ZigBee 5 times to make it 20
> MHz wide. 
> 
> In the next step, I took the output of mixed signal i.e. ZigBee + WiFi and
> fed it to individual receivers. Here also I downsampled the mixed signal to
> 4 MHz before feeding it to the ZigBee receiver. 
> 
> But this setup din't work at all. The grc just turned dark. There were no
> error messages. I am not sure where I am theoretically and/or practically
> wrong. 
> 
> * I am trying to analyse WiFi and ZigBee interference. 
> 
> Regards


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Running gr-ieee 802.11 and gr-ieee 802.15.4 under same flowgraph (interference and co-existence)

2017-07-04 Thread sumitstop
Hello, 
(Its a long post :) as I want to give as much details as possible)

Today I did a strange experiment. Under GNU Radio companion, I created a
blank project. Then I copy pasted the wifi_loopback.grc from gr-ieee 802.11
to my blank project and made it run. Off course I took care of the initial
settings of the variables and all. It ran successfully. Then I copy pasted
the transceiver_OQPSK.grc from gr-ieee 802.15.4 to the same grc project
where wifi_loopback.grc was there. Then I separated the variables carefully
and make both wifi_loopback and transceiver_OQPSK to run under the same flow
graph at the same time. They ran successfully without any issue! 

In the next step, I tried to create an environment of interference between
WiFi and ZigBee by adding the baseband output of WiFi transmitter and ZigBee
transmitter. But before that I upsampled the ZigBee 5 times to make it 20
MHz wide. 

In the next step, I took the output of mixed signal i.e. ZigBee + WiFi and
fed it to individual receivers. Here also I downsampled the mixed signal to
4 MHz before feeding it to the ZigBee receiver. 

But this setup din't work at all. The grc just turned dark. There were no
error messages. I am not sure where I am theoretically and/or practically
wrong. 

* I am trying to analyse WiFi and ZigBee interference. 

Regards
Sumit 



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Running-gr-ieee-802-11-and-gr-ieee-802-15-4-under-same-flowgraph-interference-and-co-existence-tp64474.html
Sent from the GnuRadio mailing list archive at Nabble.com.

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio