Disable OCE for testbed STA in HE program (WCN)
OCE includes the max channel time IE in scan request additional
IE data. For HE testbed STA by default the max channel time
in Probe Request frames should not be present.
Disable OCE for testbed STA in the HE program.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
diff --git a/sta.c b/sta.c
index 5ef17bb..5d489d3 100644
--- a/sta.c
+++ b/sta.c
@@ -7702,12 +7702,16 @@
"Set tx beamformee enable by default in sta_reset_default_wcn failed");
}
+ wpa_command(intf, "SET oce 1");
+
/* Set nss to 1 and MCS 0-7 in case of testbed */
if (type && strcasecmp(type, "Testbed") == 0) {
#ifdef NL80211_SUPPORT
int ret;
#endif /* NL80211_SUPPORT */
+ wpa_command(intf, "SET oce 0");
+
snprintf(buf, sizeof(buf), "iwpriv %s nss 1", intf);
if (system(buf) != 0) {
sigma_dut_print(dut, DUT_MSG_ERROR,