rsi_91x: Low bandwidth: sends ~100 Kbits/sec, receives ~1.5 Mbits/sec

2017-12-17 Thread Alexey Brodkin
Hi Amitkumar,

Yet another observation with RS-9113 module.
I managed to setup an access point on my board with RS-9113 connected either
via SDIO (this one is soldered on my board) or via USB (this is your RS9113
Evaluation Board Rev 4.0).

But regardless the module I use I still see the same bandwidth figures.
RS-9113 sends data at ~100 Kbits and receives at ~1.5-2 Mbits.
See below results of iperf3 runs (from development host side).

The board with RS-9113 acts as a server:
>8---
# iperf3 -c 192.168.111.1
Connecting to host 192.168.111.1, port 5201
[  4] local 192.168.111.64 port 43430 connected to 192.168.111.1 port 5201
[ ID] Interval   Transfer Bandwidth   Retr  Cwnd
[  4]   0.00-1.00   sec   328 KBytes  2.68 Mbits/sec0   31.1 KBytes   
[  4]   1.00-2.00   sec  63.6 KBytes   521 Kbits/sec1   31.1 KBytes   
[  4]   2.00-3.00   sec   191 KBytes  1.57 Mbits/sec0   31.1 KBytes   
[  4]   3.00-4.00   sec   191 KBytes  1.56 Mbits/sec0   32.5 KBytes   
[  4]   4.00-5.00   sec   191 KBytes  1.56 Mbits/sec0   36.8 KBytes   
[  4]   5.00-6.00   sec  63.6 KBytes   521 Kbits/sec0   38.2 KBytes   
[  4]   6.00-7.00   sec  63.6 KBytes   521 Kbits/sec0   38.2 KBytes   
[  4]   7.00-8.00   sec   191 KBytes  1.56 Mbits/sec0   48.1 KBytes   
[  4]   8.00-9.00   sec   255 KBytes  2.09 Mbits/sec0   48.1 KBytes   
[  4]   9.00-10.00  sec   191 KBytes  1.56 Mbits/sec0   48.1 KBytes   
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval   Transfer Bandwidth   Retr
[  4]   0.00-10.00  sec  1.69 MBytes  1.42 Mbits/sec1 sender
[  4]   0.00-10.00  sec  1.39 MBytes  1.16 Mbits/sec  receiver
>8---

The board with RS-9113 acts as a server (but with "-R" it sends us data now):
>8---
# iperf3 -c 192.168.111.1 -R
Connecting to host 192.168.111.1, port 5201
Reverse mode, remote host 192.168.111.1 is sending
[  4] local 192.168.111.64 port 45230 connected to 192.168.111.1 port 5201
[ ID] Interval   Transfer Bandwidth
[  4]   0.00-1.14   sec  15.6 KBytes   112 Kbits/sec  
[  4]   1.14-2.00   sec  2.83 KBytes  27.0 Kbits/sec  
[  4]   2.00-3.00   sec  12.7 KBytes   104 Kbits/sec  
[  4]   3.00-4.00   sec  14.1 KBytes   116 Kbits/sec  
[  4]   4.00-5.00   sec  12.7 KBytes   104 Kbits/sec  
[  4]   5.00-6.00   sec  14.1 KBytes   116 Kbits/sec  
[  4]   6.00-7.00   sec  14.1 KBytes   116 Kbits/sec  
[  4]   7.00-8.00   sec  12.7 KBytes   104 Kbits/sec  
[  4]   8.00-9.00   sec  14.1 KBytes   116 Kbits/sec  
[  4]   9.00-10.00  sec  12.7 KBytes   104 Kbits/sec  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval   Transfer Bandwidth   Retr
[  4]   0.00-10.00  sec   296 KBytes   242 Kbits/sec2 sender
[  4]   0.00-10.00  sec   254 KBytes   208 Kbits/sec  receiver  
>8---

My configurations are as below.
hostapd.conf:
>8---
interface=wlan0
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=AP_NAME
hw_mode=g
channel=1
>8---

wpa_supplicant.conf
>8---
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1

network={
ssid="AP_NAME"
psk="password"
}
>8---

Note I use vanilla Linux v4.14.4.

I'm wondering if you may see different results in your setup and if so
could you please suggest something for me to try.


Thanks in advance,
Alexey

P.S. I do remember about my previous email but so far I was not able to
get with the board to the place with "problematic" Wi-FI AP, once I get
there I'll grab longs for you.
___
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc


kisskb: FAILED linux-next/axs101_defconfig/arcompact Mon Dec 18, 17:27

2017-12-17 Thread noreply
FAILED linux-next/axs101_defconfig/arcompact Mon Dec 18, 17:27

http://kisskb.ellerman.id.au/kisskb/buildresult/13232576/

Commit:   Add linux-next specific files for 20171218
  53600ecfb6004f355bd3551bee180caf4b42d7a7
Compiler: arc-buildroot-linux-uclibc-gcc (Buildroot 2015.08.1) 4.8.4

Possible errors
---

make[2]: *** [scripts/kconfig/zconf.tab.c] Error 127
make[2]: *** [scripts/kconfig/zconf.lex.c] Error 127
make[1]: *** [axs101_defconfig] Error 2
make: *** [sub-make] Error 2

No warnings found in log.


___
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc


kisskb: FAILED linux-next/axs103_smp_defconfig/arcv2 Mon Dec 18, 17:27

2017-12-17 Thread noreply
FAILED linux-next/axs103_smp_defconfig/arcv2 Mon Dec 18, 17:27

http://kisskb.ellerman.id.au/kisskb/buildresult/13232575/

Commit:   Add linux-next specific files for 20171218
  53600ecfb6004f355bd3551bee180caf4b42d7a7
Compiler: arc-linux-gcc.br_real (Buildroot 2016.11-git-00613-ge98b4dd) 6.2.1 
20160824

Possible errors
---

make[2]: *** [scripts/kconfig/zconf.tab.c] Error 127
make[2]: *** [scripts/kconfig/zconf.lex.c] Error 127
make[1]: *** [axs103_smp_defconfig] Error 2
make: *** [sub-make] Error 2

No warnings found in log.


___
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc