On Wed, Jan 09, 2019 at 11:04:26PM +0300, Sergey Matyukevich wrote: > Commit cdeea70f59d0 added wpa_s configuration options allowing HT STBC > modifications for RX/TX spatial streams. Add tests to verify > overriding of default HT STBC configuration for Tx and Rx > spatial streams for hwsim driver. > > The test flow is straightforward: use wpa_s 'tx_stbc' and 'rx_stbc' > configuration options to override default HT Rx/Tx STBC settings > and check HT capabilities IEs in ASSOC frames. > The following tests have been added: > > - ap_ht_stbc_disabled > make sure that HT Rx/Tx STBC is disabled by default for hwsim driver This fails for me: START ap_ht_stbc_disabled 2/4 Exception: STA[0]: TX STBC should be disabled, actual value: 1 Exception: STA[0]: TX STBC should be disabled, actual value: 1 FAIL ap_ht_stbc_disabled 0.260623 2019-12-30 16:37:16.001906 > - ap_ht_stbc_tx > make sure that Tx STBC can be properly enabled for hwsim driver > using wpa_s 'tx_stbc' configuration option This passed. > - ap_ht_stbc_rx > make sure that Tx STBC can be properly enabled for hwsim driver > using wpa_s 'tx_stbc' configuration option This fails: START ap_ht_stbc_rx 4/4 Exception: STA[0]: RX STBC expected 1, actual 3 Exception: STA[0]: RX STBC expected 1, actual 3 FAIL ap_ht_stbc_rx 0.26011 2019-12-30 16:37:16.421911 What is the expected behavior for these with the current mac80211 snapshot? > This patch depends on the following hwsim driver change: > https://patchwork.kernel.org/patch/10752835/ This and a fix to that (commit e9f33a8fee53, "mac80211: fix RX STBC override byte order") are included in the kernel version I tested with. -- Jouni Malinen PGP id EFC895FA _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap