2018-11-28 22:13:25

by Ben Greear

[permalink] [raw]
Subject: Issue with STBC capability and forcing radio to 1x1 mode.

Hello,

I notice some weird things while debugging an issue on a 4.16+ kernel with ath10k
radio.

It seems that the 'iw phy info' does not remove the TX-STBC info
when changing the antenna mask _until_ some vdev is brought up.

This makes it difficult to properly create hostapd config files.

[root@lf0313-63e7 lanforge]# iw phy wiphy1 info|grep STB
TX STBC
RX STBC 1-stream
TX STBC
[root@lf0313-63e7 lanforge]# ./local/sbin/iw phy wiphy1 set antenna 1 1
[root@lf0313-63e7 lanforge]# iw phy wiphy1 info|grep STB
TX STBC
RX STBC 1-stream
TX STBC
[root@lf0313-63e7 lanforge]# iw phy wiphy1 info|grep STB
TX STBC
RX STBC 1-stream
TX STBC
[root@lf0313-63e7 lanforge]# ifconfig wlan1 up
[root@lf0313-63e7 lanforge]# iw phy wiphy1 info|grep STB
RX STBC 1-stream

Any idea on this?

Thanks,
Ben

--
Ben Greear <[email protected]>
Candela Technologies Inc http://www.candelatech.com



2018-12-03 15:07:07

by Johannes Berg

[permalink] [raw]
Subject: Re: Issue with STBC capability and forcing radio to 1x1 mode.

On Wed, 2018-11-28 at 14:13 -0800, Ben Greear wrote:
> Hello,
>
> I notice some weird things while debugging an issue on a 4.16+ kernel with ath10k
> radio.
>
> It seems that the 'iw phy info' does not remove the TX-STBC info
> when changing the antenna mask _until_ some vdev is brought up.
>
> This makes it difficult to properly create hostapd config files.
>
That's not anything iw can do, must be the driver.

johannes