tests: Set VHT160 or VHT160-80PLUS80 capability
If we want the test to actually use 160/80+80 we need to explicitly advertise that we support it ourselves, since the kernel is going to be a bit more strict about this. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
518be614f1
commit
db294952bb
5 changed files with 16 additions and 1 deletions
|
@ -413,6 +413,7 @@ def test_ap_open_tdls_vht80(dev, apdev):
|
|||
"hw_mode": "a",
|
||||
"channel": "36",
|
||||
"ht_capab": "[HT40+]",
|
||||
"vht_capab": "[VHT160]",
|
||||
"ieee80211n": "1",
|
||||
"ieee80211ac": "1",
|
||||
"vht_capab": "",
|
||||
|
@ -452,7 +453,7 @@ def test_ap_open_tdls_vht80plus80(dev, apdev):
|
|||
"ht_capab": "[HT40+]",
|
||||
"ieee80211n": "1",
|
||||
"ieee80211ac": "1",
|
||||
"vht_capab": "",
|
||||
"vht_capab": "[VHT160-80PLUS80]",
|
||||
"vht_oper_chwidth": "3",
|
||||
"vht_oper_centr_freq_seg0_idx": "42",
|
||||
"vht_oper_centr_freq_seg1_idx": "155"}
|
||||
|
@ -494,6 +495,7 @@ def test_ap_open_tdls_vht160(dev, apdev):
|
|||
"hw_mode": "a",
|
||||
"channel": "104",
|
||||
"ht_capab": "[HT40-]",
|
||||
"vht_capab": "[VHT160]",
|
||||
"ieee80211n": "1",
|
||||
"ieee80211ac": "1",
|
||||
"vht_oper_chwidth": "2",
|
||||
|
|
|
@ -361,6 +361,7 @@ def test_ap_vht160(dev, apdev):
|
|||
"hw_mode": "a",
|
||||
"channel": "36",
|
||||
"ht_capab": "[HT40+]",
|
||||
"vht_capab": "[VHT160]",
|
||||
"ieee80211n": "1",
|
||||
"ieee80211ac": "1",
|
||||
"vht_oper_chwidth": "2",
|
||||
|
@ -436,6 +437,7 @@ def test_ap_vht160b(dev, apdev):
|
|||
"hw_mode": "a",
|
||||
"channel": "104",
|
||||
"ht_capab": "[HT40-]",
|
||||
"vht_capab": "[VHT160]",
|
||||
"ieee80211n": "1",
|
||||
"ieee80211ac": "1",
|
||||
"vht_oper_chwidth": "2",
|
||||
|
@ -538,6 +540,7 @@ def run_ap_vht160_no_dfs(dev, apdev, channel, ht_capab):
|
|||
"hw_mode": "a",
|
||||
"channel": channel,
|
||||
"ht_capab": ht_capab,
|
||||
"vht_capab": "[VHT160]",
|
||||
"ieee80211n": "1",
|
||||
"ieee80211ac": "1",
|
||||
"vht_oper_chwidth": "2",
|
||||
|
@ -616,6 +619,7 @@ def test_ap_vht80plus80(dev, apdev):
|
|||
"hw_mode": "a",
|
||||
"channel": "52",
|
||||
"ht_capab": "[HT40+]",
|
||||
"vht_capab": "[VHT160-80PLUS80]",
|
||||
"ieee80211n": "1",
|
||||
"ieee80211ac": "1",
|
||||
"vht_oper_chwidth": "3",
|
||||
|
@ -633,6 +637,7 @@ def test_ap_vht80plus80(dev, apdev):
|
|||
"hw_mode": "a",
|
||||
"channel": "36",
|
||||
"ht_capab": "[HT40+]",
|
||||
"vht_capab": "[VHT160-80PLUS80]",
|
||||
"ieee80211n": "1",
|
||||
"ieee80211ac": "1",
|
||||
"vht_oper_chwidth": "3",
|
||||
|
|
|
@ -428,6 +428,7 @@ def test_he160(dev, apdev):
|
|||
"hw_mode": "a",
|
||||
"channel": "36",
|
||||
"ht_capab": "[HT40+]",
|
||||
"vht_capab": "[VHT160]",
|
||||
"ieee80211n": "1",
|
||||
"ieee80211ac": "1",
|
||||
"ieee80211ax": "1",
|
||||
|
@ -500,6 +501,7 @@ def test_he160b(dev, apdev):
|
|||
"hw_mode": "a",
|
||||
"channel": "104",
|
||||
"ht_capab": "[HT40-]",
|
||||
"vht_capab": "[VHT160]",
|
||||
"ieee80211n": "1",
|
||||
"ieee80211ac": "1",
|
||||
"ieee80211ax": "1",
|
||||
|
@ -605,6 +607,7 @@ def run_ap_he160_no_dfs(dev, apdev, channel, ht_capab):
|
|||
"hw_mode": "a",
|
||||
"channel": channel,
|
||||
"ht_capab": ht_capab,
|
||||
"vht_capab": "[VHT160]",
|
||||
"ieee80211n": "1",
|
||||
"ieee80211ac": "1",
|
||||
"ieee80211ax": "1",
|
||||
|
@ -689,6 +692,7 @@ def test_he80plus80(dev, apdev):
|
|||
"hw_mode": "a",
|
||||
"channel": "52",
|
||||
"ht_capab": "[HT40+]",
|
||||
"vht_capab": "[VHT160-80PLUS80]",
|
||||
"ieee80211n": "1",
|
||||
"ieee80211ac": "1",
|
||||
"ieee80211ax": "1",
|
||||
|
@ -710,6 +714,7 @@ def test_he80plus80(dev, apdev):
|
|||
"hw_mode": "a",
|
||||
"channel": "36",
|
||||
"ht_capab": "[HT40+]",
|
||||
"vht_capab": "[VHT160-80PLUS80]",
|
||||
"ieee80211n": "1",
|
||||
"ieee80211ac": "1",
|
||||
"ieee80211ax": "1",
|
||||
|
|
|
@ -259,6 +259,7 @@ def run_wpa2_ocv_vht160(dev, apdev):
|
|||
"channel": channel,
|
||||
"country_code": "ZA",
|
||||
"ht_capab": capab,
|
||||
"vht_capab": "[VHT160]",
|
||||
"ieee80211n": "1",
|
||||
"ieee80211ac": "1",
|
||||
"vht_oper_chwidth": "2",
|
||||
|
@ -301,6 +302,7 @@ def run_wpa2_ocv_vht80plus80(dev, apdev):
|
|||
"channel": channel,
|
||||
"country_code": "US",
|
||||
"ht_capab": capab,
|
||||
"vht_capab": "[VHT160-80PLUS80]",
|
||||
"ieee80211n": "1",
|
||||
"ieee80211ac": "1",
|
||||
"vht_oper_chwidth": "3",
|
||||
|
|
|
@ -1729,6 +1729,7 @@ def test_rrm_beacon_req_passive_scan_vht160(dev, apdev):
|
|||
"hw_mode": "a",
|
||||
"channel": "104",
|
||||
"ht_capab": "[HT40-]",
|
||||
"vht_capab": "[VHT160]",
|
||||
"ieee80211n": "1",
|
||||
"ieee80211ac": "1",
|
||||
"vht_oper_chwidth": "2",
|
||||
|
|
Loading…
Reference in a new issue