Allow separate 2.4 GHz and 5 GHz main/station ifnames to be set

This extends the -M and -S command line arguments to accept interface
name pair in <2.4 GHz ifname>/<5 GHz ifname> encoding to be set. For
example, "wlan0/wlan1". A new device_list_interfaces argument "band" can
then be used to specify which interface name is requested. This is an
initial step in allowing dynamic selection of a specific radio for
station operations based on the needed band.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
diff --git a/sta.c b/sta.c
index e04be60..5370907 100644
--- a/sta.c
+++ b/sta.c
@@ -7604,6 +7604,13 @@
 	const char *program = get_param(cmd, "program");
 	const char *dev_role = get_param(cmd, "DevRole");
 
+	if (dut->station_ifname_2g &&
+	    strcmp(dut->station_ifname_2g, intf) == 0)
+		dut->use_5g = 0;
+	else if (dut->station_ifname_5g &&
+		 strcmp(dut->station_ifname_5g, intf) == 0)
+		dut->use_5g = 1;
+
 	if (!program)
 		program = get_param(cmd, "prog");
 	dut->program = sigma_program_to_enum(program);