<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="QFDT_Components.Wlan_WCN39XX" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:qfdt_components="clr-namespace:QFDT_Components;assembly=QFDT_Components" Unloaded="WCN39xx_Unloaded">
  <StackPanel>
    <StackPanel Orientation="Horizontal">
      <Label Content="Chain" Width="60" Margin="5,0,0,0" />
      <ComboBox Name="cboTxRxChainSelect" VerticalAlignment="Center" Width="100" Margin="8,0,0,0" />
      <Button Name="btLaunchWlanApp" Content="{DynamicResource WCN_StartWlanApp}" Width="100" Margin="200,0,0,2" VerticalAlignment="Center" Click="btLaunchWlanApp_Click" />
    </StackPanel>
    <StackPanel Orientation="Horizontal" Margin="0,5,0,0">
      <Label Content="{DynamicResource WCN_Scenario}" Width="60" Margin="5,0,0,0" />
      <ComboBox Name="cboTxRxScenarioSelect" VerticalAlignment="Center" Width="480" Margin="8,0,0,0" SelectionChanged="cboTxRxScenarioSelect_selectionChanged" />
    </StackPanel>
    <Expander Name="epTxRxScenario" Header="{DynamicResource WCN_ScenarioDetail}" Margin="12,5,0,0">
      <StackPanel>
        <StackPanel Orientation="Horizontal" Margin="0,5,0,0">
          <Label Content="{DynamicResource WCN_CHAN}" Width="75" Margin="5,0,0,0" />
          <ComboBox Name="cboTxRxChan" VerticalAlignment="Center" Width="145" Margin="8,0,0,0" SelectionChanged="cboTxRxCh_selectionChanged" />
          <StackPanel Name="sPanelPwrCtrl" Orientation="Horizontal" Margin="10,0,0,0">
            <Label Content="{DynamicResource WCN_TxPacketPwrCtrlMode}" Width="100" Margin="0,0,0,0" />
            <ComboBox Name="cboPwrCtrlMode" Width="150" Height="20" Margin="8,0,0,0" SelectionChanged="cboPwtCtrlMode_selectionChanged" />
          </StackPanel>
        </StackPanel>
        <StackPanel Name="sPanelTxScenario">
          <StackPanel Orientation="Horizontal">
            <StackPanel Margin="5,0,0,0">
              <StackPanel Name="sPanelMode" Orientation="Horizontal" Margin="0,5,0,0">
                <Label Name="lbTxHtMode" Content="{DynamicResource WCN_TxPacketMode}" Width="75" />
                <ComboBox Name="cboTxHtMode" VerticalAlignment="Center" Width="145" Margin="8,0,0,0" SelectionChanged="cboTxHtMode_selectionChanged" />
              </StackPanel>
              <StackPanel Name="sPanelRate" Orientation="Horizontal" Margin="0,5,0,0">
                <Label Name="lbTxRate" Content="{DynamicResource WCN_TxPacketRate}" Width="75" />
                <ComboBox Name="cboTxRate" VerticalAlignment="Center" Width="145" Margin="8,0,0,0" />
              </StackPanel>
            </StackPanel>
            <StackPanel Margin="10,0,0,0">
              <StackPanel Name="spTxForcedGain" Margin="0,5,0,0">
                <StackPanel Orientation="Horizontal">
                  <Label Name="lbDacGain" Content="Dac Gain" Height="24" Margin="0,0,0,0" Width="100" VerticalAlignment="Top" />
                  <TextBox Name="txtDacGain" VerticalAlignment="Top" Height="24" Width="150" Margin="8,0,0,0" />
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                  <Label Name="lbGainIndex" Content="Gain Index" Height="24" Margin="0,5,0,0" Width="100" />
                  <TextBox Name="txtGainIndex" VerticalAlignment="Center" Height="24" Width="150" Margin="8,5,0,0" />
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                  <Label Name="lbPaCfg" Content="Pa Cfg" Height="24" Margin="0,5,0,0" Width="100" />
                  <TextBox Name="txtPaCfg" VerticalAlignment="Center" Height="24" Width="150" Margin="8,5,0,0" />
                </StackPanel>
              </StackPanel>
              <StackPanel Name="spTargetPwr" Orientation="Horizontal" Margin="0,5,0,0">
                <Label Name="lbTxPower" Content="{DynamicResource WCN_TxPacketTxPower}" VerticalAlignment="Top" Width="100" />
                <TextBox Name="txtTxPower" VerticalAlignment="Top" Width="150" Margin="8,0,0,0" />
              </StackPanel>
            </StackPanel>
          </StackPanel>
          <Button Name="btAddTxScenario" Content="{DynamicResource Save}" Margin="350,2,0,0" Width="80" HorizontalAlignment="Left" Click="btAddCurTxScenarioToList_Click" />
        </StackPanel>
      </StackPanel>
    </Expander>
    <StackPanel Name="spTx" Orientation="Horizontal" Height="25" Margin="5,20,0,0">
      <Button Name="btStartTx" Content="{DynamicResource WCN_TxPacketStart}" Width="80" Height="23" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0,0,0,0" Click="btTxStart_Click" />
      <Button Name="btStopTx" Content="{DynamicResource WCN_TxPacketStop}" Width="80" Height="23" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0,0,0,0" Visibility="Collapsed" Click="btTxStop_Click" />
      <CheckBox Name="cbxControlSA_Tx" Content="{DynamicResource WCN_CtrlSA}" VerticalAlignment="Center" Margin="30,0,0,0" Click="cbCtrlSA_TxPwr_Checked" />
      <Label Name="lblTxPwr" Content="{DynamicResource WCN_MeasPower}" Height="23" VerticalAlignment="Top" Margin="10,0,0,0" />
      <TextBox Name="txtTxPwr" Height="23" VerticalAlignment="Center" Width="35" />
    </StackPanel>
    <StackPanel Name="spRx" Margin="10,0,0,0">
      <StackPanel Orientation="Horizontal" Margin="0,20,0,0">
        <CheckBox Name="cbxRxCtrlEquipment" Content="{DynamicResource WCN_CtrlSG}" Margin="2,2,0,0" />
        <TextBox Name="txtSGPower" Width="59" Margin="1,0,0,0" />
      </StackPanel>
      <Button Name="btRxStart" Content="{DynamicResource WCN_GetRSSI}" Width="80" Margin="0,20,0,0" HorizontalAlignment="Left" Click="btRxStart_Click" />
      <Button Name="btRxStop" Content="Stop" Width="80" Margin="0,20,0,0" HorizontalAlignment="Left" Visibility="Collapsed" Click="btRxStop_Click" />
      <StackPanel Name="sPanelRSSI1" Orientation="Horizontal" Margin="0,20,0,0">
        <Label Name="lblRssi0" Content="RSSI0 (dBm)" />
        <TextBox Name="txtRssi0" Width="60" Margin="10,0,0,0" />
      </StackPanel>
    </StackPanel>
  </StackPanel>
</UserControl>