This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WL1837MOD: Latency in Ping

Part Number: WL1837MOD
Other Parts Discussed in Thread: WL1837

Hi, 

I am using WL1837MOD WiFi module with NXP's iMX6D processor (Android KitKat 4.4.3) for my ongoing project. we have created p2p go at 5180 freq(n mode) in one device and another device act as a client. Now I am trying to measure network latency using Ping command in between both devices. In to the ping command logs  I have observed that average latency is 2-3 ms. I have observed one more strange behavior, after every 10-15 sec latency increase to ~900ms. can you tell me the reason behind this?

Below are Ping command logs. I have highlighted high latency part.

root@nitrogen6x:/ # ping 192.168.49.1
PING 192.168.49.1 (192.168.49.1) 56(84) bytes of data.
64 bytes from 192.168.49.1: icmp_seq=1 ttl=64 time=2.44 ms
64 bytes from 192.168.49.1: icmp_seq=2 ttl=64 time=2.37 ms
64 bytes from 192.168.49.1: icmp_seq=3 ttl=64 time=2.17 ms
64 bytes from 192.168.49.1: icmp_seq=4 ttl=64 time=2.23 ms
64 bytes from 192.168.49.1: icmp_seq=5 ttl=64 time=2.44 ms
64 bytes from 192.168.49.1: icmp_seq=6 ttl=64 time=2.34 ms
64 bytes from 192.168.49.1: icmp_seq=7 ttl=64 time=2.11 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=8 ttl=64 time=110 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=9 ttl=64 time=2.66 ms
64 bytes from 192.168.49.1: icmp_seq=10 ttl=64 time=3.52 ms
64 bytes from 192.168.49.1: icmp_seq=11 ttl=64 time=2.06 ms
64 bytes from 192.168.49.1: icmp_seq=12 ttl=64 time=2.64 ms
64 bytes from 192.168.49.1: icmp_seq=13 ttl=64 time=2.60 ms
64 bytes from 192.168.49.1: icmp_seq=14 ttl=64 time=2.65 ms
64 bytes from 192.168.49.1: icmp_seq=15 ttl=64 time=2.95 ms
64 bytes from 192.168.49.1: icmp_seq=16 ttl=64 time=2.97 ms
64 bytes from 192.168.49.1: icmp_seq=17 ttl=64 time=2.95 ms
64 bytes from 192.168.49.1: icmp_seq=18 ttl=64 time=2.65 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=19 ttl=64 time=963 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=20 ttl=64 time=2.91 ms
64 bytes from 192.168.49.1: icmp_seq=21 ttl=64 time=2.40 ms
64 bytes from 192.168.49.1: icmp_seq=22 ttl=64 time=6.00 ms
64 bytes from 192.168.49.1: icmp_seq=23 ttl=64 time=3.00 ms
64 bytes from 192.168.49.1: icmp_seq=24 ttl=64 time=3.04 ms
64 bytes from 192.168.49.1: icmp_seq=25 ttl=64 time=2.51 ms
64 bytes from 192.168.49.1: icmp_seq=26 ttl=64 time=2.72 ms
64 bytes from 192.168.49.1: icmp_seq=27 ttl=64 time=2.67 ms
64 bytes from 192.168.49.1: icmp_seq=28 ttl=64 time=2.45 ms
64 bytes from 192.168.49.1: icmp_seq=29 ttl=64 time=2.23 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=30 ttl=64 time=121 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=31 ttl=64 time=2.48 ms
64 bytes from 192.168.49.1: icmp_seq=32 ttl=64 time=2.42 ms
64 bytes from 192.168.49.1: icmp_seq=33 ttl=64 time=2.71 ms
64 bytes from 192.168.49.1: icmp_seq=34 ttl=64 time=3.48 ms
64 bytes from 192.168.49.1: icmp_seq=35 ttl=64 time=2.23 ms
64 bytes from 192.168.49.1: icmp_seq=36 ttl=64 time=3.18 ms
64 bytes from 192.168.49.1: icmp_seq=37 ttl=64 time=7.64 ms
64 bytes from 192.168.49.1: icmp_seq=38 ttl=64 time=3.25 ms
64 bytes from 192.168.49.1: icmp_seq=39 ttl=64 time=2.83 ms
64 bytes from 192.168.49.1: icmp_seq=40 ttl=64 time=2.49 ms
64 bytes from 192.168.49.1: icmp_seq=41 ttl=64 time=104 ms
64 bytes from 192.168.49.1: icmp_seq=42 ttl=64 time=3.68 ms
64 bytes from 192.168.49.1: icmp_seq=43 ttl=64 time=3.58 ms
64 bytes from 192.168.49.1: icmp_seq=44 ttl=64 time=2.90 ms
64 bytes from 192.168.49.1: icmp_seq=45 ttl=64 time=3.79 ms
64 bytes from 192.168.49.1: icmp_seq=46 ttl=64 time=2.30 ms
64 bytes from 192.168.49.1: icmp_seq=47 ttl=64 time=2.42 ms
64 bytes from 192.168.49.1: icmp_seq=48 ttl=64 time=2.32 ms
64 bytes from 192.168.49.1: icmp_seq=49 ttl=64 time=3.13 ms
64 bytes from 192.168.49.1: icmp_seq=50 ttl=64 time=2.71 ms
64 bytes from 192.168.49.1: icmp_seq=51 ttl=64 time=2.48 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=52 ttl=64 time=933 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=53 ttl=64 time=2.40 ms
64 bytes from 192.168.49.1: icmp_seq=54 ttl=64 time=1.96 ms
64 bytes from 192.168.49.1: icmp_seq=55 ttl=64 time=4.64 ms
64 bytes from 192.168.49.1: icmp_seq=56 ttl=64 time=2.15 ms
64 bytes from 192.168.49.1: icmp_seq=57 ttl=64 time=2.42 ms
64 bytes from 192.168.49.1: icmp_seq=58 ttl=64 time=2.69 ms
64 bytes from 192.168.49.1: icmp_seq=59 ttl=64 time=4.09 ms
64 bytes from 192.168.49.1: icmp_seq=60 ttl=64 time=2.49 ms
64 bytes from 192.168.49.1: icmp_seq=61 ttl=64 time=2.93 ms
64 bytes from 192.168.49.1: icmp_seq=62 ttl=64 time=2.46 ms
64 bytes from 192.168.49.1: icmp_seq=63 ttl=64 time=114 ms
64 bytes from 192.168.49.1: icmp_seq=64 ttl=64 time=2.34 ms
64 bytes from 192.168.49.1: icmp_seq=65 ttl=64 time=2.50 ms
64 bytes from 192.168.49.1: icmp_seq=66 ttl=64 time=2.95 ms
64 bytes from 192.168.49.1: icmp_seq=67 ttl=64 time=2.89 ms
64 bytes from 192.168.49.1: icmp_seq=68 ttl=64 time=3.54 ms
64 bytes from 192.168.49.1: icmp_seq=69 ttl=64 time=2.82 ms
64 bytes from 192.168.49.1: icmp_seq=70 ttl=64 time=2.11 ms
64 bytes from 192.168.49.1: icmp_seq=71 ttl=64 time=2.56 ms
64 bytes from 192.168.49.1: icmp_seq=72 ttl=64 time=2.96 ms
64 bytes from 192.168.49.1: icmp_seq=73 ttl=64 time=2.24 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=74 ttl=64 time=926 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=75 ttl=64 time=2.16 ms
64 bytes from 192.168.49.1: icmp_seq=76 ttl=64 time=2.35 ms
64 bytes from 192.168.49.1: icmp_seq=77 ttl=64 time=2.36 ms
64 bytes from 192.168.49.1: icmp_seq=78 ttl=64 time=2.82 ms
64 bytes from 192.168.49.1: icmp_seq=79 ttl=64 time=2.44 ms
64 bytes from 192.168.49.1: icmp_seq=80 ttl=64 time=2.91 ms
64 bytes from 192.168.49.1: icmp_seq=81 ttl=64 time=3.23 ms
64 bytes from 192.168.49.1: icmp_seq=82 ttl=64 time=2.16 ms
64 bytes from 192.168.49.1: icmp_seq=83 ttl=64 time=2.67 ms
64 bytes from 192.168.49.1: icmp_seq=84 ttl=64 time=2.36 ms
64 bytes from 192.168.49.1: icmp_seq=85 ttl=64 time=103 ms
64 bytes from 192.168.49.1: icmp_seq=86 ttl=64 time=2.88 ms
64 bytes from 192.168.49.1: icmp_seq=87 ttl=64 time=3.31 ms
64 bytes from 192.168.49.1: icmp_seq=88 ttl=64 time=2.71 ms
64 bytes from 192.168.49.1: icmp_seq=89 ttl=64 time=2.90 ms
64 bytes from 192.168.49.1: icmp_seq=90 ttl=64 time=2.79 ms
64 bytes from 192.168.49.1: icmp_seq=91 ttl=64 time=2.84 ms
64 bytes from 192.168.49.1: icmp_seq=92 ttl=64 time=3.44 ms
64 bytes from 192.168.49.1: icmp_seq=93 ttl=64 time=2.63 ms
64 bytes from 192.168.49.1: icmp_seq=94 ttl=64 time=3.29 ms
64 bytes from 192.168.49.1: icmp_seq=95 ttl=64 time=2.42 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=96 ttl=64 time=828 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=97 ttl=64 time=2.37 ms
64 bytes from 192.168.49.1: icmp_seq=98 ttl=64 time=3.05 ms
64 bytes from 192.168.49.1: icmp_seq=99 ttl=64 time=2.53 ms
64 bytes from 192.168.49.1: icmp_seq=100 ttl=64 time=2.38 ms
64 bytes from 192.168.49.1: icmp_seq=101 ttl=64 time=3.31 ms
64 bytes from 192.168.49.1: icmp_seq=102 ttl=64 time=2.65 ms
64 bytes from 192.168.49.1: icmp_seq=103 ttl=64 time=2.68 ms
64 bytes from 192.168.49.1: icmp_seq=104 ttl=64 time=2.49 ms
64 bytes from 192.168.49.1: icmp_seq=105 ttl=64 time=2.84 ms
64 bytes from 192.168.49.1: icmp_seq=106 ttl=64 time=2.70 ms
64 bytes from 192.168.49.1: icmp_seq=107 ttl=64 time=904 ms
64 bytes from 192.168.49.1: icmp_seq=108 ttl=64 time=2.59 ms
64 bytes from 192.168.49.1: icmp_seq=109 ttl=64 time=2.67 ms
64 bytes from 192.168.49.1: icmp_seq=110 ttl=64 time=2.94 ms
64 bytes from 192.168.49.1: icmp_seq=111 ttl=64 time=2.44 ms
64 bytes from 192.168.49.1: icmp_seq=112 ttl=64 time=2.81 ms
64 bytes from 192.168.49.1: icmp_seq=113 ttl=64 time=3.07 ms
64 bytes from 192.168.49.1: icmp_seq=114 ttl=64 time=3.64 ms
64 bytes from 192.168.49.1: icmp_seq=115 ttl=64 time=2.96 ms
64 bytes from 192.168.49.1: icmp_seq=116 ttl=64 time=2.89 ms
64 bytes from 192.168.49.1: icmp_seq=117 ttl=64 time=2.94 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=118 ttl=64 time=902 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=119 ttl=64 time=2.92 ms
64 bytes from 192.168.49.1: icmp_seq=120 ttl=64 time=2.94 ms
64 bytes from 192.168.49.1: icmp_seq=121 ttl=64 time=2.31 ms
64 bytes from 192.168.49.1: icmp_seq=122 ttl=64 time=2.75 ms
64 bytes from 192.168.49.1: icmp_seq=123 ttl=64 time=2.89 ms
64 bytes from 192.168.49.1: icmp_seq=124 ttl=64 time=3.39 ms
64 bytes from 192.168.49.1: icmp_seq=125 ttl=64 time=2.25 ms
64 bytes from 192.168.49.1: icmp_seq=126 ttl=64 time=2.09 ms
64 bytes from 192.168.49.1: icmp_seq=127 ttl=64 time=2.93 ms
64 bytes from 192.168.49.1: icmp_seq=128 ttl=64 time=2.46 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=129 ttl=64 time=898 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=130 ttl=64 time=2.45 ms
64 bytes from 192.168.49.1: icmp_seq=131 ttl=64 time=3.49 ms
64 bytes from 192.168.49.1: icmp_seq=132 ttl=64 time=2.65 ms
64 bytes from 192.168.49.1: icmp_seq=133 ttl=64 time=2.68 ms
64 bytes from 192.168.49.1: icmp_seq=134 ttl=64 time=3.22 ms
64 bytes from 192.168.49.1: icmp_seq=135 ttl=64 time=3.70 ms
64 bytes from 192.168.49.1: icmp_seq=136 ttl=64 time=2.32 ms
64 bytes from 192.168.49.1: icmp_seq=137 ttl=64 time=2.64 ms
64 bytes from 192.168.49.1: icmp_seq=138 ttl=64 time=2.97 ms
64 bytes from 192.168.49.1: icmp_seq=139 ttl=64 time=2.36 ms
64 bytes from 192.168.49.1: icmp_seq=140 ttl=64 time=111 ms
64 bytes from 192.168.49.1: icmp_seq=141 ttl=64 time=3.23 ms
64 bytes from 192.168.49.1: icmp_seq=142 ttl=64 time=3.30 ms
64 bytes from 192.168.49.1: icmp_seq=143 ttl=64 time=2.68 ms
64 bytes from 192.168.49.1: icmp_seq=144 ttl=64 time=2.85 ms
64 bytes from 192.168.49.1: icmp_seq=145 ttl=64 time=2.19 ms
64 bytes from 192.168.49.1: icmp_seq=146 ttl=64 time=2.50 ms
64 bytes from 192.168.49.1: icmp_seq=147 ttl=64 time=3.47 ms
64 bytes from 192.168.49.1: icmp_seq=148 ttl=64 time=2.15 ms
64 bytes from 192.168.49.1: icmp_seq=149 ttl=64 time=2.14 ms
64 bytes from 192.168.49.1: icmp_seq=150 ttl=64 time=4.77 ms
64 bytes from 192.168.49.1: icmp_seq=151 ttl=64 time=3.78 ms
64 bytes from 192.168.49.1: icmp_seq=152 ttl=64 time=2.10 ms
64 bytes from 192.168.49.1: icmp_seq=153 ttl=64 time=2.36 ms
64 bytes from 192.168.49.1: icmp_seq=154 ttl=64 time=2.07 ms
64 bytes from 192.168.49.1: icmp_seq=155 ttl=64 time=4.68 ms
64 bytes from 192.168.49.1: icmp_seq=156 ttl=64 time=3.47 ms
64 bytes from 192.168.49.1: icmp_seq=157 ttl=64 time=3.20 ms
64 bytes from 192.168.49.1: icmp_seq=158 ttl=64 time=2.87 ms
64 bytes from 192.168.49.1: icmp_seq=159 ttl=64 time=2.60 ms
64 bytes from 192.168.49.1: icmp_seq=160 ttl=64 time=2.72 ms
64 bytes from 192.168.49.1: icmp_seq=161 ttl=64 time=2.86 ms
64 bytes from 192.168.49.1: icmp_seq=162 ttl=64 time=2.91 ms
64 bytes from 192.168.49.1: icmp_seq=163 ttl=64 time=3.44 ms
64 bytes from 192.168.49.1: icmp_seq=164 ttl=64 time=2.36 ms
64 bytes from 192.168.49.1: icmp_seq=165 ttl=64 time=4.08 ms
64 bytes from 192.168.49.1: icmp_seq=166 ttl=64 time=2.44 ms
64 bytes from 192.168.49.1: icmp_seq=167 ttl=64 time=2.23 ms
64 bytes from 192.168.49.1: icmp_seq=168 ttl=64 time=2.46 ms
64 bytes from 192.168.49.1: icmp_seq=169 ttl=64 time=2.22 ms
64 bytes from 192.168.49.1: icmp_seq=170 ttl=64 time=2.32 ms
64 bytes from 192.168.49.1: icmp_seq=171 ttl=64 time=2.49 ms
64 bytes from 192.168.49.1: icmp_seq=172 ttl=64 time=2.37 ms
64 bytes from 192.168.49.1: icmp_seq=173 ttl=64 time=3.34 ms
64 bytes from 192.168.49.1: icmp_seq=174 ttl=64 time=2.07 ms
64 bytes from 192.168.49.1: icmp_seq=175 ttl=64 time=3.34 ms
64 bytes from 192.168.49.1: icmp_seq=176 ttl=64 time=2.17 ms
64 bytes from 192.168.49.1: icmp_seq=177 ttl=64 time=2.23 ms
64 bytes from 192.168.49.1: icmp_seq=178 ttl=64 time=2.25 ms
64 bytes from 192.168.49.1: icmp_seq=179 ttl=64 time=2.95 ms
64 bytes from 192.168.49.1: icmp_seq=180 ttl=64 time=2.78 ms
64 bytes from 192.168.49.1: icmp_seq=181 ttl=64 time=2.42 ms
64 bytes from 192.168.49.1: icmp_seq=182 ttl=64 time=2.32 ms
64 bytes from 192.168.49.1: icmp_seq=183 ttl=64 time=2.72 ms
64 bytes from 192.168.49.1: icmp_seq=184 ttl=64 time=103 ms
64 bytes from 192.168.49.1: icmp_seq=185 ttl=64 time=2.82 ms
64 bytes from 192.168.49.1: icmp_seq=186 ttl=64 time=2.88 ms
64 bytes from 192.168.49.1: icmp_seq=187 ttl=64 time=4.54 ms
64 bytes from 192.168.49.1: icmp_seq=188 ttl=64 time=2.50 ms
64 bytes from 192.168.49.1: icmp_seq=189 ttl=64 time=2.11 ms
64 bytes from 192.168.49.1: icmp_seq=190 ttl=64 time=2.24 ms
64 bytes from 192.168.49.1: icmp_seq=191 ttl=64 time=2.40 ms
64 bytes from 192.168.49.1: icmp_seq=192 ttl=64 time=3.26 ms
64 bytes from 192.168.49.1: icmp_seq=193 ttl=64 time=2.61 ms
64 bytes from 192.168.49.1: icmp_seq=194 ttl=64 time=2.21 ms
64 bytes from 192.168.49.1: icmp_seq=195 ttl=64 time=3.00 ms
64 bytes from 192.168.49.1: icmp_seq=196 ttl=64 time=2.66 ms
64 bytes from 192.168.49.1: icmp_seq=197 ttl=64 time=2.79 ms
64 bytes from 192.168.49.1: icmp_seq=198 ttl=64 time=2.15 ms
64 bytes from 192.168.49.1: icmp_seq=199 ttl=64 time=2.29 ms
64 bytes from 192.168.49.1: icmp_seq=200 ttl=64 time=2.23 ms
64 bytes from 192.168.49.1: icmp_seq=201 ttl=64 time=2.12 ms
64 bytes from 192.168.49.1: icmp_seq=202 ttl=64 time=2.63 ms
64 bytes from 192.168.49.1: icmp_seq=203 ttl=64 time=2.63 ms
64 bytes from 192.168.49.1: icmp_seq=204 ttl=64 time=2.65 ms
64 bytes from 192.168.49.1: icmp_seq=205 ttl=64 time=2.28 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=206 ttl=64 time=121 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=207 ttl=64 time=2.90 ms
64 bytes from 192.168.49.1: icmp_seq=208 ttl=64 time=2.97 ms
64 bytes from 192.168.49.1: icmp_seq=209 ttl=64 time=4.00 ms
64 bytes from 192.168.49.1: icmp_seq=210 ttl=64 time=3.12 ms
64 bytes from 192.168.49.1: icmp_seq=211 ttl=64 time=2.74 ms
64 bytes from 192.168.49.1: icmp_seq=212 ttl=64 time=3.21 ms
64 bytes from 192.168.49.1: icmp_seq=213 ttl=64 time=2.44 ms
64 bytes from 192.168.49.1: icmp_seq=214 ttl=64 time=2.23 ms
64 bytes from 192.168.49.1: icmp_seq=215 ttl=64 time=2.97 ms
64 bytes from 192.168.49.1: icmp_seq=217 ttl=64 time=2.10 ms
64 bytes from 192.168.49.1: icmp_seq=218 ttl=64 time=2.18 ms
64 bytes from 192.168.49.1: icmp_seq=219 ttl=64 time=2.65 ms
64 bytes from 192.168.49.1: icmp_seq=220 ttl=64 time=2.30 ms
64 bytes from 192.168.49.1: icmp_seq=221 ttl=64 time=3.29 ms
64 bytes from 192.168.49.1: icmp_seq=222 ttl=64 time=2.12 ms
64 bytes from 192.168.49.1: icmp_seq=223 ttl=64 time=2.43 ms
64 bytes from 192.168.49.1: icmp_seq=224 ttl=64 time=2.54 ms
64 bytes from 192.168.49.1: icmp_seq=225 ttl=64 time=2.39 ms
64 bytes from 192.168.49.1: icmp_seq=226 ttl=64 time=2.73 ms
64 bytes from 192.168.49.1: icmp_seq=227 ttl=64 time=4.17 ms
64 bytes from 192.168.49.1: icmp_seq=228 ttl=64 time=3.49 ms
64 bytes from 192.168.49.1: icmp_seq=229 ttl=64 time=2.65 ms
64 bytes from 192.168.49.1: icmp_seq=230 ttl=64 time=2.72 ms
64 bytes from 192.168.49.1: icmp_seq=231 ttl=64 time=2.72 ms
64 bytes from 192.168.49.1: icmp_seq=232 ttl=64 time=2.59 ms
64 bytes from 192.168.49.1: icmp_seq=233 ttl=64 time=2.36 ms
64 bytes from 192.168.49.1: icmp_seq=234 ttl=64 time=2.45 ms
64 bytes from 192.168.49.1: icmp_seq=235 ttl=64 time=2.08 ms
64 bytes from 192.168.49.1: icmp_seq=236 ttl=64 time=2.58 ms
64 bytes from 192.168.49.1: icmp_seq=237 ttl=64 time=2.79 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=238 ttl=64 time=120 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=239 ttl=64 time=1.99 ms
64 bytes from 192.168.49.1: icmp_seq=240 ttl=64 time=2.55 ms
64 bytes from 192.168.49.1: icmp_seq=241 ttl=64 time=106 ms
64 bytes from 192.168.49.1: icmp_seq=242 ttl=64 time=2.90 ms
64 bytes from 192.168.49.1: icmp_seq=243 ttl=64 time=2.09 ms
64 bytes from 192.168.49.1: icmp_seq=244 ttl=64 time=2.87 ms
64 bytes from 192.168.49.1: icmp_seq=245 ttl=64 time=2.18 ms
64 bytes from 192.168.49.1: icmp_seq=246 ttl=64 time=2.70 ms
64 bytes from 192.168.49.1: icmp_seq=247 ttl=64 time=3.09 ms
64 bytes from 192.168.49.1: icmp_seq=248 ttl=64 time=2.76 ms
64 bytes from 192.168.49.1: icmp_seq=249 ttl=64 time=107 ms
64 bytes from 192.168.49.1: icmp_seq=250 ttl=64 time=2.84 ms
64 bytes from 192.168.49.1: icmp_seq=251 ttl=64 time=2.60 ms
64 bytes from 192.168.49.1: icmp_seq=252 ttl=64 time=2.72 ms
64 bytes from 192.168.49.1: icmp_seq=253 ttl=64 time=2.69 ms
64 bytes from 192.168.49.1: icmp_seq=254 ttl=64 time=3.28 ms
64 bytes from 192.168.49.1: icmp_seq=255 ttl=64 time=3.80 ms
64 bytes from 192.168.49.1: icmp_seq=256 ttl=64 time=3.47 ms
64 bytes from 192.168.49.1: icmp_seq=257 ttl=64 time=2.75 ms
64 bytes from 192.168.49.1: icmp_seq=258 ttl=64 time=2.58 ms
64 bytes from 192.168.49.1: icmp_seq=259 ttl=64 time=2.22 ms
64 bytes from 192.168.49.1: icmp_seq=260 ttl=64 time=112 ms
64 bytes from 192.168.49.1: icmp_seq=261 ttl=64 time=2.97 ms
64 bytes from 192.168.49.1: icmp_seq=262 ttl=64 time=2.84 ms
64 bytes from 192.168.49.1: icmp_seq=263 ttl=64 time=2.15 ms
64 bytes from 192.168.49.1: icmp_seq=264 ttl=64 time=2.19 ms
64 bytes from 192.168.49.1: icmp_seq=265 ttl=64 time=2.99 ms
64 bytes from 192.168.49.1: icmp_seq=266 ttl=64 time=3.39 ms
64 bytes from 192.168.49.1: icmp_seq=267 ttl=64 time=2.76 ms
64 bytes from 192.168.49.1: icmp_seq=268 ttl=64 time=2.50 ms
64 bytes from 192.168.49.1: icmp_seq=269 ttl=64 time=2.52 ms
64 bytes from 192.168.49.1: icmp_seq=270 ttl=64 time=2.03 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=271 ttl=64 time=592 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=272 ttl=64 time=2.14 ms
64 bytes from 192.168.49.1: icmp_seq=273 ttl=64 time=2.82 ms
64 bytes from 192.168.49.1: icmp_seq=274 ttl=64 time=2.16 ms
64 bytes from 192.168.49.1: icmp_seq=275 ttl=64 time=2.67 ms
64 bytes from 192.168.49.1: icmp_seq=276 ttl=64 time=2.68 ms
64 bytes from 192.168.49.1: icmp_seq=277 ttl=64 time=2.72 ms
64 bytes from 192.168.49.1: icmp_seq=278 ttl=64 time=2.75 ms
64 bytes from 192.168.49.1: icmp_seq=279 ttl=64 time=2.65 ms
64 bytes from 192.168.49.1: icmp_seq=280 ttl=64 time=2.72 ms
64 bytes from 192.168.49.1: icmp_seq=281 ttl=64 time=3.11 ms
64 bytes from 192.168.49.1: icmp_seq=282 ttl=64 time=3.75 ms
64 bytes from 192.168.49.1: icmp_seq=283 ttl=64 time=2.79 ms
64 bytes from 192.168.49.1: icmp_seq=284 ttl=64 time=4.84 ms
64 bytes from 192.168.49.1: icmp_seq=285 ttl=64 time=2.60 ms
64 bytes from 192.168.49.1: icmp_seq=286 ttl=64 time=2.37 ms
64 bytes from 192.168.49.1: icmp_seq=287 ttl=64 time=2.60 ms
64 bytes from 192.168.49.1: icmp_seq=288 ttl=64 time=2.24 ms
64 bytes from 192.168.49.1: icmp_seq=289 ttl=64 time=2.22 ms
64 bytes from 192.168.49.1: icmp_seq=290 ttl=64 time=2.09 ms
64 bytes from 192.168.49.1: icmp_seq=291 ttl=64 time=4.42 ms
64 bytes from 192.168.49.1: icmp_seq=292 ttl=64 time=2.50 ms
64 bytes from 192.168.49.1: icmp_seq=293 ttl=64 time=2.15 ms
64 bytes from 192.168.49.1: icmp_seq=294 ttl=64 time=2.12 ms
64 bytes from 192.168.49.1: icmp_seq=295 ttl=64 time=2.59 ms
64 bytes from 192.168.49.1: icmp_seq=296 ttl=64 time=3.09 ms
64 bytes from 192.168.49.1: icmp_seq=297 ttl=64 time=2.12 ms
64 bytes from 192.168.49.1: icmp_seq=298 ttl=64 time=27.6 ms
64 bytes from 192.168.49.1: icmp_seq=299 ttl=64 time=3.70 ms
64 bytes from 192.168.49.1: icmp_seq=300 ttl=64 time=2.30 ms
64 bytes from 192.168.49.1: icmp_seq=301 ttl=64 time=2.73 ms
64 bytes from 192.168.49.1: icmp_seq=302 ttl=64 time=2.67 ms
64 bytes from 192.168.49.1: icmp_seq=303 ttl=64 time=3.51 ms
64 bytes from 192.168.49.1: icmp_seq=304 ttl=64 time=3.64 ms
64 bytes from 192.168.49.1: icmp_seq=305 ttl=64 time=2.75 ms
64 bytes from 192.168.49.1: icmp_seq=306 ttl=64 time=2.57 ms
64 bytes from 192.168.49.1: icmp_seq=307 ttl=64 time=2.75 ms
64 bytes from 192.168.49.1: icmp_seq=308 ttl=64 time=3.02 ms
64 bytes from 192.168.49.1: icmp_seq=309 ttl=64 time=2.45 ms
64 bytes from 192.168.49.1: icmp_seq=310 ttl=64 time=2.24 ms
64 bytes from 192.168.49.1: icmp_seq=311 ttl=64 time=2.57 ms
64 bytes from 192.168.49.1: icmp_seq=312 ttl=64 time=3.34 ms
64 bytes from 192.168.49.1: icmp_seq=313 ttl=64 time=9.25 ms
64 bytes from 192.168.49.1: icmp_seq=314 ttl=64 time=2.38 ms
64 bytes from 192.168.49.1: icmp_seq=315 ttl=64 time=2.74 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=316 ttl=64 time=112 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=317 ttl=64 time=2.12 ms
64 bytes from 192.168.49.1: icmp_seq=318 ttl=64 time=2.66 ms
64 bytes from 192.168.49.1: icmp_seq=319 ttl=64 time=2.01 ms
64 bytes from 192.168.49.1: icmp_seq=320 ttl=64 time=1.98 ms
64 bytes from 192.168.49.1: icmp_seq=321 ttl=64 time=2.04 ms
64 bytes from 192.168.49.1: icmp_seq=322 ttl=64 time=2.00 ms
64 bytes from 192.168.49.1: icmp_seq=323 ttl=64 time=104 ms
64 bytes from 192.168.49.1: icmp_seq=324 ttl=64 time=3.16 ms
64 bytes from 192.168.49.1: icmp_seq=325 ttl=64 time=3.73 ms
64 bytes from 192.168.49.1: icmp_seq=326 ttl=64 time=3.26 ms
64 bytes from 192.168.49.1: icmp_seq=327 ttl=64 time=3.69 ms
64 bytes from 192.168.49.1: icmp_seq=328 ttl=64 time=2.62 ms
64 bytes from 192.168.49.1: icmp_seq=329 ttl=64 time=2.91 ms
64 bytes from 192.168.49.1: icmp_seq=330 ttl=64 time=2.67 ms
64 bytes from 192.168.49.1: icmp_seq=331 ttl=64 time=2.77 ms
64 bytes from 192.168.49.1: icmp_seq=332 ttl=64 time=2.56 ms
64 bytes from 192.168.49.1: icmp_seq=333 ttl=64 time=2.31 ms
64 bytes from 192.168.49.1: icmp_seq=334 ttl=64 time=2.47 ms
64 bytes from 192.168.49.1: icmp_seq=335 ttl=64 time=2.47 ms
64 bytes from 192.168.49.1: icmp_seq=336 ttl=64 time=8.77 ms
64 bytes from 192.168.49.1: icmp_seq=337 ttl=64 time=2.29 ms
64 bytes from 192.168.49.1: icmp_seq=338 ttl=64 time=2.71 ms
64 bytes from 192.168.49.1: icmp_seq=339 ttl=64 time=2.70 ms
64 bytes from 192.168.49.1: icmp_seq=340 ttl=64 time=2.32 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=341 ttl=64 time=506 ms
-----------------------------------------------------------------
64 bytes from 192.168.49.1: icmp_seq=342 ttl=64 time=2.40 ms
64 bytes from 192.168.49.1: icmp_seq=343 ttl=64 time=2.49 ms
64 bytes from 192.168.49.1: icmp_seq=344 ttl=64 time=2.72 ms
64 bytes from 192.168.49.1: icmp_seq=345 ttl=64 time=112 ms
64 bytes from 192.168.49.1: icmp_seq=346 ttl=64 time=2.86 ms
64 bytes from 192.168.49.1: icmp_seq=347 ttl=64 time=2.90 ms
64 bytes from 192.168.49.1: icmp_seq=348 ttl=64 time=2.49 ms
64 bytes from 192.168.49.1: icmp_seq=349 ttl=64 time=4.16 ms
64 bytes from 192.168.49.1: icmp_seq=350 ttl=64 time=2.75 ms
64 bytes from 192.168.49.1: icmp_seq=351 ttl=64 time=3.52 ms
64 bytes from 192.168.49.1: icmp_seq=352 ttl=64 time=2.41 ms
64 bytes from 192.168.49.1: icmp_seq=353 ttl=64 time=2.25 ms
64 bytes from 192.168.49.1: icmp_seq=354 ttl=64 time=2.88 ms
64 bytes from 192.168.49.1: icmp_seq=355 ttl=64 time=2.54 ms
64 bytes from 192.168.49.1: icmp_seq=356 ttl=64 time=105 ms
64 bytes from 192.168.49.1: icmp_seq=357 ttl=64 time=2.83 ms
64 bytes from 192.168.49.1: icmp_seq=358 ttl=64 time=2.67 ms
64 bytes from 192.168.49.1: icmp_seq=359 ttl=64 time=2.29 ms
64 bytes from 192.168.49.1: icmp_seq=360 ttl=64 time=2.52 ms
64 bytes from 192.168.49.1: icmp_seq=361 ttl=64 time=2.68 ms
64 bytes from 192.168.49.1: icmp_seq=362 ttl=64 time=2.92 ms
64 bytes from 192.168.49.1: icmp_seq=363 ttl=64 time=4.63 ms
64 bytes from 192.168.49.1: icmp_seq=364 ttl=64 time=2.46 ms
64 bytes from 192.168.49.1: icmp_seq=365 ttl=64 time=2.06 ms
64 bytes from 192.168.49.1: icmp_seq=367 ttl=64 time=2.51 ms
64 bytes from 192.168.49.1: icmp_seq=368 ttl=64 time=3.57 ms
64 bytes from 192.168.49.1: icmp_seq=369 ttl=64 time=2.90 ms
64 bytes from 192.168.49.1: icmp_seq=370 ttl=64 time=2.26 ms
64 bytes from 192.168.49.1: icmp_seq=371 ttl=64 time=2.65 ms
64 bytes from 192.168.49.1: icmp_seq=372 ttl=64 time=2.64 ms
64 bytes from 192.168.49.1: icmp_seq=373 ttl=64 time=2.32 ms
64 bytes from 192.168.49.1: icmp_seq=374 ttl=64 time=2.34 ms
64 bytes from 192.168.49.1: icmp_seq=375 ttl=64 time=2.14 ms
64 bytes from 192.168.49.1: icmp_seq=376 ttl=64 time=2.66 ms
64 bytes from 192.168.49.1: icmp_seq=377 ttl=64 time=3.49 ms
64 bytes from 192.168.49.1: icmp_seq=378 ttl=64 time=3.40 ms
64 bytes from 192.168.49.1: icmp_seq=379 ttl=64 time=2.40 ms
64 bytes from 192.168.49.1: icmp_seq=380 ttl=64 time=3.38 ms
64 bytes from 192.168.49.1: icmp_seq=381 ttl=64 time=3.16 ms
64 bytes from 192.168.49.1: icmp_seq=382 ttl=64 time=2.69 ms
64 bytes from 192.168.49.1: icmp_seq=383 ttl=64 time=2.15 ms
64 bytes from 192.168.49.1: icmp_seq=384 ttl=64 time=2.44 ms
64 bytes from 192.168.49.1: icmp_seq=385 ttl=64 time=2.22 ms
64 bytes from 192.168.49.1: icmp_seq=386 ttl=64 time=2.92 ms
^C
--- 192.168.49.1 ping statistics ---
386 packets transmitted, 384 received, 0% packet loss, time 385539ms
rtt min/avg/max/mdev = 1.960/26.712/963.824/128.283 ms

  • Hi Sandip,

    Sandip Sathvara said:
    In to the ping command logs  I have observed that average latency is 2-3 ms. I have observed one more strange behavior, after every 10-15 sec latency increase to ~900ms. can you tell me the reason behind this?

    Since the ping uses very low throughput, one reason behind this behavior could be the power save (PS) feature of the P2P. Please see if disabling the PS and the ELP (instructions in the link below) solves the issue.

    processors.wiki.ti.com/.../WL18xx_Driver_Debug

    Best regards,

    Vihang

  • Thanks, Vihang for the prompt response,

    I don't have iw source code for Android KitKat. Can you please, provide iw source code and its compilation steps for the Android KitKat. 

    I have tried one source code as provided by below link but it gives compilations error:

    e2e.ti.com/.../302940

    I have also disabled PS mode using below command.

    echo 0 > /sys/kernel/debug/phy0/wlcore/sleep_auth

    Still, the same behavior is happening, and this time average latency value increase to 15ms from 2ms.

  • Hi,

    Actually if I need to guess I would say that every 10-15 seconds what you are seeing is Android performing a scan operation.

    Are you sure that there is no background scan active and this is the delay that you see?

    BR,

    Eyal

  • Hi Eyal,

    Android is performing scan operation after every five minutes. that I have already disabled in wpa_supplicant code.

    can you please provide, iw command source code for android kitkat and its compilation steps.
  • Hi,

    iw is a linux command line tool that is run directly from the console.
    We have not used any specific version for android.
    When nwe were working with android we just used the standard iw for command shell.

    You can get iw from its official repos such as:

    git.kernel.org/.../iw.git

    BR,
    Eyal
  • Hi,

    iw compilation has a dependency of libnl library, please share libnl library source code link.
  • Hi libnl is a standard library.

    You can also use our build script for building iw (and libnl as a dependency).

    Please see the following wiki:

    BR,

    Eyal

  • Hi Eyal,

    We are doing miracast streaming in between two devices. Miracast sink device have wl1837 wifi module and another miracast source device have wl1807 wifi module. and miracast sink device act as p2p go (5ghz, 36channel no) and source device act as p2p client. actully we are observing around ~400ms latency in miracast steaming and we want to reduce it to ~200ms. For that we are measuring ping latency in between two devices. and we have observed below two things.

    1) when miracast is running at that time average ping latency is ~2ms.
    2) when both device in ideal case( only p2p connections is there) at that time avegare ping latency was ~26ms.

    So why we are observing diffrent ping latency reading in above two senarios ?

    Does have any relation in between ping latency and miracast video steaming latency ?
    How we can reduce miracast streaming latecy to 200ms from the 400ms as a wifi point of view?
  • Hi,

    When the device is idle (no data is streamed) the system is able to reach power save mode.

    Hence the system will only respond to ping when it wakes up from power save (for beacons).

    This is the reason you see longer ping response time when no data is being streamed.

    When there is active traffic the system is basically active.

    You can disable power save in case you want to avoid that using for example:

    iw wlan0 set power_save off

    And you would probably see the ping latency at around the same number both with traffic and without.

    As for the 200ms latency, I am not sure I can help there. this is probably related to the miracast application.

    For example it probably buffers up the data before sending and the larger the buffer is, the longer is the latesncy you would see.

    But again, for this you need to consult with the team supporting the miscast stack that you are using.

    Best Regards,

    Eyal

  • Hi Eyal, 

    We have done debugging from all sides like decoder, encoder. but we haven't found anything. now we have only doubt in wifi throughput. and our average throughput is 58Mbit/sec. and we are streaming 720p30fps video. 

    We are not able to compile wlconf utility in our android source code. Because of that, I am sharing wl18xx-conf.bin and wl18xx-fw-4.bin files with you. can you please tell us that what configuration are there in wl18xx-conf.bin file. what are the possible ways, by which we can improve throughput?

    Please Help us to resolve our the issue. we have very short time to meet deadlines. 

    configuration_files.zip

  • Hi,

    An average of ~58Mbit/sec is the normal throughput expected unless you use 5Ghz in a channel supporting SISO40 mode and in such case you can go up to around 100Mbit/sec (UDP)
    What channel have you specified during your p2p GO setup phase?

    Best Regards,
    Eyal Reizer
  • Hi Sandip,
    We haven't heard back from you, I'm assuming you were able to resolve your issue. If not, just post a reply below (or create a new thread if this thread has locked due to time-out). Thanks.
    -Vihang
  • Hi, 

    Sorry for the late reply, actually I was tried to create p2p go into ht40 mode. 

    We are creating p2p go at 5 GHz. specified channel no is  36. but we are not able to create p2p go at ht40 event if I have specified p2p_go_ht40=1 in wpa_supplicat.conf file. I have also tried to a hardcode ht40 mode in wpa_supplicat code. and i have also tried various ht40 channel like 38,46,151,159. still, I am not able to create p2p go into ht40 mode at any channel.

  • Hi Sandip,

    How do you know that you are not able to create a p2p connection at ht40 mode?
    Do you see anything in your wpa_supplicant logs indicating it?

    Best Regards,
    Eyal
  • Hi,

    I have verified in Wifi Analyzer android app.  

    As you can see in attached images Direct-0p is our created p2p GO. and it created on the 20MHz band. and also our average throughput is around ~58MBits/sec. 

  • Hi,

    Please suggest us some steps to create p2p go into the ht40 mode. Is it any modification required in wpa_supplicant/ wifi driver code?

    Below are versions which we are using. 
    WPA_Supplicant : v2.1-devel-4.4.3
    Back Ported driver Version : R8.6-0-g3f5b34f
    PHY firmware version : Rev 8.2.0.0.232
    Firmware version : 8.9.0.0.48
    Kernel version : 3.10.53-gf197c23
    Android version : 4.4.3

  • Hi,

    No modification should be required on wpa_supplicant/wifi code.

    Are you able to create an AP on a 5GHz HT40 channel?
    Is this issue with P2P only?

    BR,
    Eyal
  • Hi,

    I am not even able to create AP on a 5Ghz HT20 mode.

    For your information, Initially, I am also not able to create p2p go on 5ghz HT20 mode. to create p2p go on 5GHz I have done one modification in the wpa_supplicant code. I have also attached a patch for same. I had also tried to modify the wpa_supplicant code to create AP on 5ghz. but it always failed.  

    From 4f93955e8edb12c17859f921cca1c932969ddfec Mon Sep 17 00:00:00 2001
    From: Pratik Agrawal <pratik.agrawal@volansystech.com>
    Date: Fri, 6 Oct 2017 20:36:56 +0530
    Subject: [PATCH 1/6] Revert "EN-459 - create P2PGo on 5Ghz band frequency"
    
    This reverts commit 5a610d7f61524444654e0e3b966ecf22eeabd56e.
    ---
     wpa_supplicant/p2p_supplicant.c | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c
    index ee4fe4e..d7b3189 100644
    --- a/wpa_supplicant/p2p_supplicant.c
    +++ b/wpa_supplicant/p2p_supplicant.c
    @@ -4317,7 +4317,7 @@ int wpas_p2p_group_remove(struct wpa_supplicant *wpa_s, const char *ifname)
     static int wpas_p2p_select_go_freq(struct wpa_supplicant *wpa_s, int freq)
     {
     	unsigned int r;
    -	freq = 5;  //create p2pGo on 5Ghz frequency
    +
     	if (freq == 2) {
     		wpa_printf(MSG_DEBUG, "P2P: Request to start GO on 2.4 GHz "
     			   "band");
    @@ -4346,7 +4346,7 @@ static int wpas_p2p_select_go_freq(struct wpa_supplicant *wpa_s, int freq)
     				   "channel: %d MHz", freq);
     		} else {
     			os_get_random((u8 *) &r, sizeof(r));
    -			freq = 5180;    //currently 5180Mhz is only working
    +			freq = 5180 + (r % 4) * 20;
     			if (!p2p_supported_freq(wpa_s->global->p2p, freq)) {
     				wpa_printf(MSG_DEBUG, "P2P: Could not select "
     					   "5 GHz channel for P2P group");
    -- 
    1.9.1
    
    

  • Hi,

    I don't understand this patch. what code base are you trying to use it on?

    Are you using our official version?:

    I don't see the code that your patch is trying to  fix.

    In general, you don't need to modify any wpa_supplicant/hostap code.

    Please start first with creating a standard AP on the 5Ghz channel without making any code modifications.

    The below creates a 40Mhz AP on channel 36.

    Please make sure that you hostapd.conf includes the following settings:

    ...

    ...

    # Operation mode (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g,

    # Default: IEEE 802.11b

    hw_mode=a

    ...

    ...

    # Channel number (IEEE 802.11)

    # (default: 0, i.e., not set)

    # Please note that some drivers do not use this value from hostapd and the

    # channel will need to be configured separately with iwconfig.

    # When set to 0, automatic channel selection will be engaged. A channel

    # will be selected from the desired hw_mode.

    channel=36

    ...

    ...

    ht_capab=[HT40+][SHORT-GI-40][GF]

    Now start this AP:

    ./ap_start.sh

    Configuration file: /usr/share/wl18xx/hostapd.conf

    [23035.663015] wlcore: down

    wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE

    wlan1: interface state COUNTRY_UPDATE->HT_SCAN

    Using interface wlan1 with hwaddr 84:dd:20:93:4a:ac and ssid "SitaraAP"

    wlan1: interface state HT_SCAN->ENABLED

    wlan1: AP-ENABLED

    root@am437x-evm:/usr/share/wl18xx#

    You can see the "SitaraAP" created below:

    Best Regards,

    Eyal

  • Hi Eyal,

    We not using Linux. we are using an Android platform. we have followed one integration guide to integrate imx6 with wl1837. below is a link for same.

    Below are all versions that we are using in our device.

    WPA_Supplicant : v2.1-devel-4.4.3
    Back Ported driver Version : R8.6-0-g3f5b34f
    PHY firmware version : Rev 8.2.0.0.232
    Firmware version : 8.9.0.0.48
    Kernel version : 3.10.53-gf197c23
    Android version : 4.4.3
    And as per your suggestion, I was trying to create AP in 5Ghz HT40 by modifying hostapd.conf file. but whenever I click on Portable Wifi hotspot button from android settings application. at that time hostapd is replacing newly modified hostapd.conf file with old hostapd.conf. and because of that AP is always creating in 2.4Ghz.
    For your reference, I am attaching our wpa_supplicant code.
    link for wpa_supplicant code: "https://android.googlesource.com/platform/external/wpa_supplicant_8/+/kitkat-mr2.1-release"
     
  • Hi,

    Today I have tried to created p2p go from command line utility. I am able to create p2p go on 2.4ghz, but in 5ghz it always failed. "Failed to start AP functionality" shows in logs.

    Below are the logs for your referance.

    -------------------------------------------------------------------------------------------------------------------------------------------

    > p2p_group_add freq=2

    OK

    IFNAME=p2p-dev-wlan0 <3>Control interface command 'P2P_GROUP_ADD freq=2'

    <3>P2P: Stopping find

    <3>P2P: Clear timeout (state=IDLE)

    <3>P2P: State IDLE -> IDLE

    IFNAME=p2p-wlan0-1 <3>Own MAC address: 3a:d2:69:b7:aa:87

    IFNAME=p2p-wlan0-1 <3>RSN: flushing PMKID list in the driver

    IFNAME=p2p-wlan0-1 <3>State: DISCONNECTED -> INACTIVE

    IFNAME=p2p-wlan0-1 <2>CTRL-EVENT-STATE-CHANGE id=-1 state=2 BSSID=00:00:00:00:00:00 SSID=

    IFNAME=p2p-wlan0-1 <3>Added interface p2p-wlan0-1

    IFNAME=p2p-wlan0-1 <3>State: INACTIVE -> DISCONNECTED

    IFNAME=p2p-wlan0-1 <2>CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00:00:00:00:00:00 SSID=

    IFNAME=p2p-dev-wlan0 <3>P2P: Use separate group interface p2p-wlan0-1

    IFNAME=p2p-wlan0-1 <3>P2P: Starting GO

    IFNAME=p2p-wlan0-1 <3>P2P: Request scan (that will be skipped) to start GO)

    IFNAME=p2p-wlan0-1 <3>Setting scan request: 0 sec 0 usec

    IFNAME=p2p-wlan0-1 <3>State: DISCONNECTED -> SCANNING

    IFNAME=p2p-wlan0-1 <2>CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=00:00:00:00:00:00 SSID=

    IFNAME=p2p-wlan0-1 <3>Flushing old station entries

    IFNAME=p2p-wlan0-1 <3>Deauthenticate all stations

    IFNAME=p2p-wlan0-1 <3>State: SCANNING -> COMPLETED

    IFNAME=p2p-wlan0-1 <2>CTRL-EVENT-CONNECTED - Connection to 3a:d2:69:b7:aa:87 completed (auth) [id=0 id_str=]

    IFNAME=p2p-wlan0-1 <3>P2P: Station mode scan operation not pending anymore (sta_scan_pending=0 p2p_cb_on_scan_complete=0)

    IFNAME=p2p-wlan0-1 <2>CTRL-EVENT-STATE-CHANGE id=0 state=9 BSSID=3a:d2:69:b7:aa:87 SSID=DIRECT-eV

    <2>P2P-GROUP-STARTED p2p-wlan0-1 GO ssid="DIRECT-eV" freq=2462 passphrase="D0jPFtvv" go_dev_addr=38:d2:69:b7:aa:88

    IFNAME=p2p-wlan0-1 <3>Control interface command 'P2P_GROUP_REMOVE p2p-wlan0-1'

    <2>P2P-GROUP-REMOVED p2p-wlan0-1 GO reason=REQUESTED

    IFNAME=p2p-wlan0-1 <3>Removing interface p2p-wlan0-1

    IFNAME=p2p-wlan0-1 <3>Request to deauthenticate - bssid=3a:d2:69:b7:aa:87 pending_bssid=00:00:00:00:00:00 reason=3 state=COMPLETED

    IFNAME=p2p-wlan0-1 <3>nl80211: MLME command failed: reason=3 ret=-95 (Operation not supported on transport endpoint)

    IFNAME=p2p-wlan0-1 <3>Event DEAUTH (12) received

    IFNAME=p2p-wlan0-1 <3>Deauthentication notification

    IFNAME=p2p-wlan0-1 <3> * reason 3 (locally generated)

    IFNAME=p2p-wlan0-1 <3>Ignore deauth event in AP mode

    IFNAME=p2p-wlan0-1 <3>No keys have been configured - skip key clearing

    IFNAME=p2p-wlan0-1 <3>Flushing old station entries

    IFNAME=p2p-wlan0-1 <3>Deauthenticate all stations

    IFNAME=p2p-wlan0-1 <3>State: COMPLETED -> DISCONNECTED

    IFNAME=p2p-wlan0-1 <2>CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=3a:d2:69:b7:aa:87 SSID=

    IFNAME=p2p-wlan0-1 <3>No keys have been configured - skip key clearing

    IFNAME=p2p-wlan0-1 <3>Cancelling delayed sched scan

    IFNAME=p2p-wlan0-1 <3>Cancelling scan request

    IFNAME=p2p-wlan0-1 <3>P2P: Station mode scan operation not pending anymore (sta_scan_pending=0 p2p_cb_on_scan_complete=0)

    IFNAME=p2p-wlan0-1 <3>Cancelling authentication timeout

    -------------------------------------------------------------------------------------------------------------------------------------------

    > p2p_group_add freq=5

    OK
    IFNAME=p2p-dev-wlan0 <3>Control interface command 'P2P_GROUP_ADD freq=5'
    <3>P2P: Stopping find
    <3>P2P: Clear timeout (state=IDLE)
    <3>P2P: State IDLE -> IDLE
    IFNAME=p2p-wlan0-0 <3>Own MAC address: 3a:d2:69:b7:aa:87
    IFNAME=p2p-wlan0-0 <3>RSN: flushing PMKID list in the driver
    IFNAME=p2p-wlan0-0 <3>State: DISCONNECTED -> INACTIVE
    IFNAME=p2p-wlan0-0 <2>CTRL-EVENT-STATE-CHANGE id=-1 state=2 BSSID=00:00:00:00:00:00 SSID=
    IFNAME=p2p-wlan0-0 <3>Added interface p2p-wlan0-0
    IFNAME=p2p-wlan0-0 <3>State: INACTIVE -> DISCONNECTED
    IFNAME=p2p-wlan0-0 <2>CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00:00:00:00:00:00 SSID=
    IFNAME=p2p-dev-wlan0 <3>P2P: Use separate group interface p2p-wlan0-0
    IFNAME=p2p-wlan0-0 <3>P2P: Starting GO
    IFNAME=p2p-wlan0-0 <3>P2P: Request scan (that will be skipped) to start GO)
    IFNAME=p2p-wlan0-0 <3>Setting scan request: 0 sec 0 usec
    IFNAME=p2p-wlan0-0 <3>State: DISCONNECTED -> SCANNING
    IFNAME=p2p-wlan0-0 <2>CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=00:00:00:00:00:00 SSID=
    IFNAME=p2p-wlan0-0 <2>Failed to start AP functionality
    IFNAME=p2p-wlan0-0 <3>State: SCANNING -> DISCONNECTED
    IFNAME=p2p-wlan0-0 <2>CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00:00:00:00:00:00 SSID=

    ---------------------------------------------------------------------------------------------------------------------------------------------------------

  • Hi,

    We can't really fully help with Android as we are not maintaining it internally.

    We did work once n the past with the following version "L5.1.1_2.1.0-ga" but it is newer than the one you have used.

    processors.wiki.ti.com/.../WL18xx_First_Time_Getting_Started_Guide_(IMX6)

    So I can only give you some general advises.

    If you try freq=5180 instead of freq=5, are you getting same result?:

    p2p_group_add freq=5180

    In any case a p2p go is by default created in the 5Ghz band. If it is not the case for you then it means that you system settings somehow prevent it.

    Your default wpa_supplicant.conf is probably located in:

    /data/misc/wifi/wpa_supplicant.conf

    and/or:

    /system/etc/wifi/wpa_supplicant_overlay.conf

    You need to locate it in your build repo and verify how it is set. And if you need to change, modify it in it's source and rebuild the image.

    Trying to override it from android after it has booted already would probably be a bad idea.

    I still encourage you to try first changing your android hostapd.conf and try to setup an AP on the 5Ghz band as a debug step:

    /data/misc/wifi/hostapd.conf

    Best Regards,

    Eyal

  • Hi Eyal,

    Thanks for your support.

    Now we are able to create p2pgo in ht40 mode. actually crda was missing in out build system. because of that wl1837 not able to create p2p go in 5ghz ht40 mode. now our allover throughput also increase to 105Mbits/sec.

  • Hi Sandip,

    Yes, this makes alot of sense now.
    Wasn't aware you didn't have crda installed.

    Glad it is now working!

    Best Regards,
    Eyal