Added extra_sta_rows parameter for attaching extra port manager data

Signed-off-by: jitendra-kushavah <jitendra.kushavah@candelatech.com>
This commit is contained in:
jitendra-kushavah
2025-10-16 08:08:03 +00:00
parent 7f28a6e363
commit 2fe6113dc9

View File

@@ -92,7 +92,7 @@ class lf_tests(lf_libs):
def client_connectivity_test(self, ssid="[BLANK]", passkey="[BLANK]", bssid="[BLANK]", dut_data={}, def client_connectivity_test(self, ssid="[BLANK]", passkey="[BLANK]", bssid="[BLANK]", dut_data={},
security="open", extra_securities=[], client_type=0, pre_cleanup=True, security="open", extra_securities=[], client_type=0, pre_cleanup=True,
num_sta=1, mode="BRIDGE", vlan_id=[None], band="twog", num_sta=1, mode="BRIDGE", vlan_id=[None], band="twog",
allure_attach=True, runtime_secs=40): allure_attach=True, runtime_secs=40, extra_sta_rows= []):
if pre_cleanup: if pre_cleanup:
self.pre_cleanup() self.pre_cleanup()
self.check_band_ap(band=band) self.check_band_ap(band=band)
@@ -239,6 +239,8 @@ class lf_tests(lf_libs):
for obj in sta_connect_obj: for obj in sta_connect_obj:
sta_rows = ["4way time (us)", "channel", "ssid", "key/phrase", "cx time (us)", "dhcp (ms)", "ip", "signal", sta_rows = ["4way time (us)", "channel", "ssid", "key/phrase", "cx time (us)", "dhcp (ms)", "ip", "signal",
"mac", "mode"] "mac", "mode"]
if extra_sta_rows:
sta_rows = sta_rows + extra_sta_rows
station_data = self.get_station_data(sta_name=obj.station_names, rows=sta_rows, station_data = self.get_station_data(sta_name=obj.station_names, rows=sta_rows,
allure_attach=False) allure_attach=False)
sta_table_dict = {} sta_table_dict = {}