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.

[参考译文] CC3301:AM62sip 定制板- Class2_FRAME_FROM_NONAUTH_STA 和慢/失败的 iperf3测试

Guru**** 2482105 points
Other Parts Discussed in Thread: CC3301

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/1324040/cc3301-am62sip-custom-board---class2_frame_from_nonauth_sta-and-slow-failed-iperf3-tests

器件型号:CC3301
主题中讨论的其他器件: 测试2

您好、TI!

我收到的是最新的 CC33xx 版本1.0.0.1。  

内核版本 https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/snapshot/ti-linux-kernel-09.00.00.006.tar.gz

我们在定制 AM62sip 板上使用此开发板、并使用具有 Buildroot 的 CC3301芯片。

DTS:

&sdhci2 {
	/* CC3301 */
	status = "okay";
	vmmc-supply = <&wlan_en>;
	pinctrl-names = "default";
	pinctrl-0 = <&wifisdio_pins_default>;
	bus-width = <4>;
	non-removable;
	ti,fails-without-test-cd;
	cap-power-off-card;
	keep-power-in-suspend;
	ti,driver-strength-ohm = <50>;
	assigned-clocks = <&k3_clks 157 158>;
	assigned-clock-parents = <&k3_clks 157 160>;

	#address-cells = <1>;
	#size-cells = <0>;
	wlcore: wlcore@2 {
		compatible = "ti,cc33xx";
		reg = <2>;
		// 
		// pinctrl-names = "default";
		// pinctrl-0 = <&wifi_irq_pins_default>;
		// interrupt-parent = <&main_gpio0>;
		// interrupts = <72 IRQ_TYPE_EDGE_RISING>;
	};
	
	// TI-BLE-SDIO interface
    btti: btti@1 {
        compatible = "ti,cc33xxbt";
        reg = <1>;
    };

[6.928276]   wlcore:无线驱动程序版本2.7.0.27
[6.933833]   wlcore:无线固件版本1.7.0.50
[6.939026]   wlcore:无线 PHY 1.2.32.5.39.65版
[6.954062]   wlcore:已加载

我曾尝试过一些 吞吐量和不同安全网络的测试。

在该测试中、这里是我的配置。 我正在对同一网络上的本地 iperf3服务器执行 iperf3测试

我使用了推荐的测试脚本

/usr/share/cc33xx/sta_start.sh

/usr/share/cc33xx/sta_connect.sh -n test2 -s WPA-PSK -p test1234

很多时候、启动 iperf3测试会导致它取消身份验证并重新加入。  节能模式问题?

iperf3 -c 192.168.1.215
[  328.232659] wlan0: deauthenticated from 52:d4:f7:c2:a3:e2 (Reason: 6=CLASS2_FRAME_FROM_NONAUTH_STA)
wlan0: CTRL-EVENT-DISCONNECTED bssid=52:d4:f7:c2:a3:e2 reason=6
wlan0: SME: Trying to authenticate with 52:d4:f7:c2:a3:e2 (SSID='test2' freq=2417 MHz)
wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wlan0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
[  328.434312] wlan0: authenticate with 52:d4:f7:c2:a3:e2
[  328.439514] wlan0: 80 MHz not supported, disabling VHT
[  328.478756] wlan0: send auth to 52:d4:f7:c2:a3:e2 (try 1/3)
[  328.524465] wlan0: authenticated
wlan0: Trying to associate with 52:d4:f7:c2:a3:e2 (SSID='test2' [  328.529699] wlan0: associate with 52:d4:f7:c2:a3:e2 (try 1/3)
freq=2417 MHz)
[  328.545481] wlan0: RX AssocResp from 52:d4:f7:c2:a3:e2 (capab=0x1431 status=0 aid=1)
[  328.560599] wlcore: HE Disabled
[  328.566730] wlan0: associated
wlan0: Associated with 52:d4:f7:c2:a3:e2
wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlan0: WPA: Key negotiation completed with 52:d4:f7:c2:a3:e2 [PT[  328.588500] wlcore: Association completed.
K=CCMP GTK=CCMP]
wlan0: CTRL-EVENT-CONNECTED - Connection to 52:d4:f7:c2:a3:e2 completed [id=0 id_str=]
Connecting to host 192.168.1.215, port 5201
[  5] local 192.168.1.141 port 56080 connected to 192.168.1.215 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  99.0 KBytes   810 Kbits/sec    2   2.83 KBytes
[  5]   1.00-2.00   sec  0.00 Bytes  0.00 bits/sec    0   2.83 KBytes
[  5]   2.00-3.00   sec  0.00 Bytes  0.00 bits/sec    9   5.66 KBytes
[  5]   3.00-4.00   sec  0.00 Bytes  0.00 bits/sec    4   5.66 KBytes
[  5]   4.00-5.00   sec  0.00 Bytes  0.00 bits/sec    0   8.48 KBytes
[  5]   5.00-6.00   sec  0.00 Bytes  0.00 bits/sec    0   9.90 KBytes
[  5]   6.00-7.00   sec  31.1 KBytes   255 Kbits/sec    1   5.66 KBytes
[  5]   7.00-8.00   sec  0.00 Bytes  0.00 bits/sec    5   4.24 KBytes
[  5]   8.00-9.00   sec  0.00 Bytes  0.00 bits/sec    0   4.24 KBytes
[  5]   9.00-10.00  sec  0.00 Bytes  0.00 bits/sec    0   4.24 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   130 KBytes   107 Kbits/sec   21             sender
[  5]   0.00-10.47  sec  69.3 KBytes  54.2 Kbits/sec                  receiver

iperf Done.

[  328.232659] wlan0: deauthenticated from 52:d4:f7:c2:a3:e2 (Reason: 6=CLASS2_FRAME_FROM_NONAUTH_STA)
[  328.420751] Deferred event dump:00000000: 00000100 000c0002 00000000 00000000
[  328.420831] Deferred event dump:00000010: dad03c32 00000100 00000000 00000000
[  328.420873] Deferred event dump:00000020: 00000000 00000000 00000000 00000000
[  328.420912] Deferred event dump:00000030: 00000000 00000000 00000000 00000000
[  328.434312] wlan0: authenticate with 52:d4:f7:c2:a3:e2
[  328.439514] wlan0: 80 MHz not supported, disabling VHT
[  328.478756] wlan0: send auth to 52:d4:f7:c2:a3:e2 (try 1/3)
[  328.524465] wlan0: authenticated
[  328.529699] wlan0: associate with 52:d4:f7:c2:a3:e2 (try 1/3)
[  328.545481] wlan0: RX AssocResp from 52:d4:f7:c2:a3:e2 (capab=0x1431 status=0 aid=1)
[  328.560599] wlcore: HE Disabled
[  328.566730] wlan0: associated
[  328.588500] wlcore: Association completed.

使用外部 iperf3服务器,我在云中设置了很多次,它将只是失败:

iperf3:错误-控制套接字意外关闭

其他时候(很少)、我将获得出色的吞吐量

iperf3 -c 192.168.1.215
Connecting to host 192.168.1.215, port 5201
[  5] local 192.168.1.141 port 59836 connected to 192.168.1.215 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  4.98 MBytes  41.8 Mbits/sec    0    277 KBytes
[  5]   1.00-2.00   sec  4.35 MBytes  36.5 Mbits/sec    0    362 KBytes
[  5]   2.00-3.00   sec  3.79 MBytes  31.8 Mbits/sec    0    362 KBytes
[  5]   3.00-4.00   sec  3.91 MBytes  32.8 Mbits/sec    0    362 KBytes
[  5]   4.00-5.00   sec  5.16 MBytes  43.3 Mbits/sec    0    410 KBytes
[  5]   5.00-6.00   sec  4.60 MBytes  38.6 Mbits/sec    0    451 KBytes
[  5]   6.00-7.00   sec  2.98 MBytes  25.0 Mbits/sec    0    451 KBytes
[  5]   7.00-8.00   sec  3.91 MBytes  32.8 Mbits/sec    0    451 KBytes
[  5]   8.00-9.00   sec  3.85 MBytes  32.3 Mbits/sec    0    451 KBytes
[  5]   9.00-10.00  sec  3.79 MBytes  31.8 Mbits/sec    0    451 KBytes

布莱斯

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嘿、Bryce、

    我已将其分配给我们的一位软件专家来提供支持。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    它看起来像是一个干扰问题。

    您在链路上获得了什么 RSSI?

    您还可以在连接前扫描并检查 RSSI。

    我还建议进行以下测试:

    • 移至中间通道(通道6)并测试
    • 移动到 AP 端的 WPA2-PSK 而不是 WPA-PSK
    • 在唤醒模式下工作。 您可以通过键入:"echo 0 >/sys/kernel/debug/ieee80211/phy0/cc33xx/sleep_auth "来执行该操作。

    如果可能、我们始终可以使用空气嗅探器。

    此致、

    什洛米