Too many UDP packets dropped during the streaming #92
Replies: 4 comments
-
Do you use ath10k driver? As I know it doesn't support packet injection. Check the following:
|
Beta Was this translation helpful? Give feedback.
-
sudo systemctl stop NetworkManager ## disabling wifi interferences sudo ufw disable ## disabling firewall sleep 2 cd wifibroadcast sudo ./scripts/rx_standalone.sh wlx00c0ca4aafe0 wlp2s0 I followed your recommendation and I ran the transmission script that contains the above instructions, however the packets are being dropped still; Furthermore, I added to NetworkManager.conf and tried to run the script. But it's still losing too many packets. Then I tried to test run rx_standalone script just with wlp2s0 antenna, but I noticed the streaming didn't work (it just got 0). Is it possible this is a hardware limitation problem and my Wi-Fi card doens't work well with wifibroadcast? |
Beta Was this translation helpful? Give feedback.
-
I don't know if it helps to understand the problem, but I ran tcpdump and got this output: 16:28:28.820358 IP localhost > localhost: ICMP localhost udp port 5600 unreachable, length 556 |
Beta Was this translation helpful? Give feedback.
-
Try to change wifi channel and/or band (2.4 or 5.8). You need to run tcpdump on radio card on wlp2s0 not on localhost: |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
I'm working on a image streaming project in my drone and I had a trouble:
too many packets dropped during the streaming.
Unfortunately, I tested the same wifibroadcast setup on my friend PC and the streaming worked well (literally I copied the same wifibroadcast directory to my friend PC)
The image quality on my friend PC is a lot better than my PC. We noticed the quality was improved on his PC when we added the wlp3s0 internal antenna on the transmission script. But the same doesn't occur on my PC, when I add the internal antenna (wlp2s0) to the transmission (further the external antenna that I'm using to stream).
The HW setup is:
TX: alfa AWUS036NH with 9dB antenna
RX: alfa AWUS036NH with 9dB antenna
Both computers running Ubuntu 16.04
WiFi card specs on my PC:
WiFi card specs on my friend PC:
*-network
description: Wireless interface
product: QCA9377 802.11ac Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlp3s0
version: 31
serial: 98:83:89:94:46:31
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath10k_pci driverversion=4.15.0-46-generic firmware=WLAN.TF.1.0-00267-1 ip=192.168.42.28 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:127 memory:ef200000-ef3fffff
Output during the streaming on my PC:
8 packets lost
13 packets lost
1086331 ANT 1 102:-55:-48:-45
1086331 PKT 103:0:103:50:44:0
13 packets lost
8 packets lost
12 packets lost
16 packets lost
1087331 ANT 1 136:-47:-45:-43
1087331 PKT 137:0:137:64:49:0
14 packets lost
8 packets lost
8 packets lost
8 packets lost
1088331 ANT 1 128:-47:-45:-45
1088331 PKT 128:0:128:74:38:0
30 packets lost
7 packets lost
10 packets lost
7 packets lost
2 packets lost
7 packets lost
1089331 ANT 1 132:-47:-45:-45
1089331 PKT 133:0:133:57:63:0
8 packets lost
8 packets lost
24 packets lost
16 packets lost
1090331 ANT 1 123:-47:-44:-43
1090331 PKT 124:0:124:55:56:0
15 packets lost
6 packets lost
16 packets lost
33 packets lost
1091331 ANT 1 105:-49:-46:-43
1091331 PKT 105:0:105:35:70:0
23 packets lost
8 packets lost
15 packets lost
1092331 ANT 1 113:-51:-47:-45
1092331 PKT 114:0:114:57:46:0
15 packets lost
7 packets lost
17 packets lost
16 packets lost
1093331 ANT 1 129:-49:-46:-45
1093331 PKT 130:0:130:47:55:0
Sorry for this generic question, but I didn't understand what is happening with my wifibroadcast streaming.
Beta Was this translation helpful? Give feedback.
All reactions