incorrect bss_params->tx_channel_width_set
Bob Copeland
me at bobcopeland.com
Fri Mar 21 17:25:34 EDT 2014
On Wed, Mar 19, 2014 at 11:51:46AM +0000, Eugene Krasnikov wrote:
> Weird! What tput do you see?
So, if I run with current HEAD (give or take some random patches
in my tree) - I see this:
root at yuga:/sdcard # iperf -c 10.10.10.4 -i 10 -t 120
------------------------------------------------------------
Client connecting to 10.10.10.4, TCP port 5001
TCP window size: 20.7 KByte (default)
------------------------------------------------------------
[ 3] local 10.10.10.3 port 41040 connected with 10.10.10.4 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec
[ 3] 10.0-20.0 sec 2.00 MBytes 1.68 Mbits/sec
[ 3] 20.0-30.0 sec 4.38 MBytes 3.67 Mbits/sec
[ 3] 30.0-40.0 sec 1.88 MBytes 1.57 Mbits/sec
[ 3] 40.0-50.0 sec 3.12 MBytes 2.62 Mbits/sec
[ 3] 50.0-60.0 sec 4.62 MBytes 3.88 Mbits/sec
[ 3] 60.0-70.0 sec 4.88 MBytes 4.09 Mbits/sec
[ 3] 70.0-80.0 sec 3.12 MBytes 2.62 Mbits/sec
[ 3] 80.0-90.0 sec 384 KBytes 315 Kbits/sec
[ 3] 90.0-100.0 sec 3.12 MBytes 2.62 Mbits/sec
[ 3] 100.0-110.0 sec 1.00 MBytes 839 Kbits/sec
[ 3] 110.0-120.0 sec 2.12 MBytes 1.78 Mbits/sec
[ 3] 0.0-126.0 sec 32.0 MBytes 2.13 Mbits/sec
If I make the following change:
diff --git a/smd.c b/smd.c
index fb8d106..9f105b6 100644
--- a/smd.c
+++ b/smd.c
@@ -205,7 +205,7 @@ static void wcn36xx_smd_set_sta_default_ht_params(
struct wcn36xx_hal_config_sta_params *sta_params)
{
sta_params->ht_capable = 1;
- sta_params->tx_channel_width_set = 1;
+ sta_params->tx_channel_width_set = 0;
sta_params->lsig_txop_protection = 1;
sta_params->max_ampdu_size = 3;
sta_params->max_ampdu_density = 5;
Then I see:
root at yuga:/sdcard # iperf -c 10.10.10.4 -i 10 -t 120
------------------------------------------------------------
Client connecting to 10.10.10.4, TCP port 5001
TCP window size: 20.7 KByte (default)
------------------------------------------------------------
[ 3] local 10.10.10.3 port 56082 connected with 10.10.10.4 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 49.8 MBytes 41.7 Mbits/sec
[ 3] 10.0-20.0 sec 50.4 MBytes 42.3 Mbits/sec
[ 3] 20.0-30.0 sec 46.4 MBytes 38.9 Mbits/sec
[ 3] 30.0-40.0 sec 51.0 MBytes 42.8 Mbits/sec
[ 3] 40.0-50.0 sec 51.4 MBytes 43.1 Mbits/sec
[ 3] 50.0-60.0 sec 54.6 MBytes 45.8 Mbits/sec
[ 3] 60.0-70.0 sec 54.8 MBytes 45.9 Mbits/sec
[ 3] 70.0-80.0 sec 53.2 MBytes 44.7 Mbits/sec
[ 3] 80.0-90.0 sec 52.9 MBytes 44.4 Mbits/sec
[ 3] 90.0-100.0 sec 53.5 MBytes 44.9 Mbits/sec
[ 3] 100.0-110.0 sec 53.8 MBytes 45.1 Mbits/sec
[ 3] 110.0-120.0 sec 53.8 MBytes 45.1 Mbits/sec
[ 3] 0.0-120.0 sec 626 MBytes 43.7 Mbits/sec
Pretty dramatic!
--
Bob Copeland %% www.bobcopeland.com
More information about the wcn36xx
mailing list