<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="QFDT_Components.Wlan_WCN36XX" 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="WCN36xx_Unloaded">
  <StackPanel Orientation="Horizontal">
    <StackPanel>
      <StackPanel Name="sPanelStartProcess" Orientation="Horizontal">
        <Expander Header="{DynamicResource WCN_ProductInfo}" Width="305" Margin="10,0,0,0">
          <ListBox Name="lbxProductWlanInfo" Width="300" Height="60" />
        </Expander>
        <Button Name="btRunWlanApp" Content="{DynamicResource WCN_StartWlanApp}" VerticalAlignment="Top" Width="100" Margin="30,5,0,2" Click="btRunWlanApp_Click" />
      </StackPanel>
      <StackPanel Name="sPanelScenario" Orientation="Horizontal" Margin="0,20,0,0">
        <StackPanel>
          <StackPanel Orientation="Horizontal">
            <Label Content="{DynamicResource WCN_Scenario}" Width="60" Margin="5,0,0,0" />
            <ComboBox Name="cboChainSelect" VerticalAlignment="Center" Width="410" Margin="8,0,0,0" SelectionChanged="cboChainSelect_selectionChanged" />
          </StackPanel>
        </StackPanel>
      </StackPanel>
      <Expander Name="epTxScenario" Header="{DynamicResource WCN_ScenarioDetail}" Margin="12,10,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="cboRFChannel" VerticalAlignment="Center" Width="145" Margin="8,0,0,0" SelectionChanged="cboRFChannel_selectionChanged" />
            <StackPanel Name="sPanelPwrCtrl" Orientation="Horizontal" Margin="10,0,0,0">
              <Label Content="{DynamicResource WCN_TxPacketPwrCtrlMode}" Width="100" Margin="0,0,0,0" />
              <StackPanel Name="spTxPwrCtrlMode" Orientation="Horizontal">
                <CheckBox Name="cbClosedLoop" Content="{DynamicResource WCN_TxPacketClosedLoop}" Width="100" Margin="8,0,0,0" VerticalAlignment="Center" Click="cbClosedLoop_Checked" />
                <ComboBox Name="cboPwrCtrlMode" Width="100" Height="20" Margin="8,0,0,0" SelectionChanged="cboPwtCtrlMode_selectionChanged" />
              </StackPanel>
            </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="lbTxPacketMode" Content="{DynamicResource WCN_TxPacketMode}" Width="75" />
                  <ComboBox Name="cboTxPacketMode" VerticalAlignment="Center" Width="145" Margin="8,0,0,0" SelectionChanged="cboTxPacketMode_selectionChanged" />
                </StackPanel>
                <StackPanel Name="sPanelRate" Orientation="Horizontal" Margin="0,5,0,0">
                  <Label Name="lbTxPacketRate" Content="{DynamicResource WCN_TxPacketRate}" Width="75" />
                  <ComboBox Name="cboTxPacketRate" VerticalAlignment="Center" Width="145" Margin="8,0,0,0" SelectionChanged="cboTxPacketRate_selectionChanged" />
                </StackPanel>
              </StackPanel>
              <StackPanel Margin="10,0,0,0" Width="212">
                <StackPanel Name="spTxOpenLoopGain" Margin="0,5,0,0">
                  <StackPanel Orientation="Horizontal">
                    <Label Name="lbRFGain" Content="{DynamicResource WCN_TxRFGain}" Height="24" Margin="0,0,0,0" Width="100" VerticalAlignment="Top" />
                    <TextBox Name="txtRFGain" VerticalAlignment="Top" Height="24" Width="100" Margin="8,0,0,0" />
                  </StackPanel>
                  <StackPanel Orientation="Horizontal">
                    <Label Name="lbDigitalGain" Content="{DynamicResource WCN_TxDigitalGain}" Height="24" Margin="0,5,0,0" Width="100" />
                    <TextBox Name="txtDigitalGain" VerticalAlignment="Center" Height="24" Width="100" 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="100" Margin="8,0,0,0" />
                </StackPanel>
              </StackPanel>
            </StackPanel>
            <Button Name="btAddScenario" Content="{DynamicResource Save}" Margin="350,2,0,0" Width="80" HorizontalAlignment="Left" Click="btAddCurTxScenarioToList_Click" />
          </StackPanel>
        </StackPanel>
      </Expander>
      <StackPanel Name="sPanelDetailConfig" Orientation="Horizontal" Margin="0,5,0,0">
        <StackPanel Name="spTx" Orientation="Horizontal">
          <StackPanel Margin="10,0,0,0">
            <StackPanel Name="sPanelTxStart" Orientation="Horizontal" Height="25" Margin="0,20,0,0">
              <Button Name="btStartTx" Content="{DynamicResource WCN_TxPacketStart}" Width="80" Height="23" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0,0,0,0" Click="btTxPacketStart_Click" />
              <Button Name="btStopTx" Content="{DynamicResource WCN_TxPacketStop}" Width="80" Height="23" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0,0,0,0" Visibility="Collapsed" Click="btTxPacketStop_Click" />
              <CheckBox Name="cbxControlSA_TxPkt" Content="{DynamicResource WCN_CtrlSA}" VerticalAlignment="Center" Margin="30,0,0,0" Click="cbCtrlSA_PktPwr_Checked" />
              <Label Name="lblTxPktPwr" Content="{DynamicResource WCN_MeasPower}" Height="23" VerticalAlignment="Top" Margin="10,0,0,0" />
              <TextBox Name="txtTxPktPwr" Height="23" VerticalAlignment="Center" Width="35" />
            </StackPanel>
          </StackPanel>
        </StackPanel>
        <StackPanel Name="spRx">
          <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="btGetRssi" Content="{DynamicResource WCN_GetRSSI}" Width="80" Margin="0,20,0,0" HorizontalAlignment="Left" Click="btGetRssi_Click" />
          <Button Name="btStopGetRssi" Content="Stop" Width="80" Margin="0,20,0,0" HorizontalAlignment="Left" Visibility="Collapsed" Click="btStopGetRssi_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 Name="sPanelRSSI2" Orientation="Horizontal" Margin="0,20,0,0">
            <Label Name="lblRssi1" Content="RSSI1 (dBm)" />
            <TextBox Name="txtRssi1" Width="60" Margin="10,0,0,0" />
          </StackPanel>
        </StackPanel>
      </StackPanel>
    </StackPanel>
    <StackPanel Name="HiddenDefault">
      <StackPanel Orientation="Horizontal">
        <Label Content="{DynamicResource WCN_CHANBONDING}" Width="85" />
        <ComboBox Name="cboChanBonding" VerticalAlignment="Center" Width="250" Margin="5,0,0,0" SelectionChanged="cboChanBonding_selectionChanged" />
      </StackPanel>
      <StackPanel Orientation="Horizontal">
        <Label Content="{DynamicResource WCN_Antenna}" Width="60" />
        <ComboBox Name="cboAntennaSelect" VerticalAlignment="Center" Width="120" Margin="5,0,0,0" />
      </StackPanel>
      <StackPanel Orientation="Horizontal">
        <CheckBox Name="cbLdpcRateEnable" Content="LDPC rate enable" Margin="3,4,0,0" />
      </StackPanel>
      <StackPanel Orientation="Horizontal">
        <TextBox Name="txtFrame" Width="60" />
        <Label Name="lbFrame" Content="{DynamicResource WCN_TxPacketFrame}" />
      </StackPanel>
      <StackPanel Orientation="Horizontal">
        <TextBox Name="txtPayloadSize" Width="60" />
        <Label Name="lbPayloadSize" Content="{DynamicResource WCN_TxPacketPayloadSize}" />
      </StackPanel>
      <StackPanel Orientation="Horizontal">
        <ComboBox Name="cboPayloadType" VerticalAlignment="Center" Width="60">
          <ComboBoxItem>None</ComboBoxItem>
          <ComboBoxItem>FILL_BYTE</ComboBoxItem>
          <ComboBoxItem>RANDOM</ComboBoxItem>
          <ComboBoxItem>RAMP</ComboBoxItem>
        </ComboBox>
        <Label Name="lbPayloadType" Content="{DynamicResource WCN_TxPacketPayloadType}" />
      </StackPanel>
      <StackPanel Orientation="Horizontal">
        <TextBox Name="txtSpacing" Width="60" />
        <Label Name="lbSpacing" Content="Spacing (ms) " />
      </StackPanel>
      <CheckBox Name="cbxFCSCalculated" Content="{DynamicResource WCN_TxPacketFCS}" HorizontalAlignment="Left" Margin="2,0,0,0" />
      <GroupBox Name="gbIndexSource" Header="{DynamicResource WCN_TxPacketPwrIndexSource}" Margin="5,0,0,0">
        <ComboBox Name="cboPwrIndexSource" Height="20" Width="80" Margin="5,2,0,2">
          <ComboBoxItem>Regulatory</ComboBoxItem>
          <ComboBoxItem>Fixed</ComboBoxItem>
        </ComboBox>
      </GroupBox>
      <StackPanel Orientation="Horizontal" Margin="0,5,0,0">
        <Label Name="lblRssiCfg" Content="{DynamicResource WCN_RSSIConfig}" />
        <ComboBox Name="cboRssiCfg" Margin="0,0,0,0" Width="100" SelectionChanged="cboRSSIconfig_selectionChanged">
          <ComboBoxItem>Normal</ComboBoxItem>
          <ComboBoxItem>Enable MAC Filtering</ComboBoxItem>
          <ComboBoxItem>Enabled CW</ComboBoxItem>
        </ComboBox>
      </StackPanel>
      <GroupBox Name="gbxRxPacketTypes" Header="{DynamicResource WCN_RxPacketType}" Margin="0,5,0,0">
        <StackPanel>
          <CheckBox Name="cbx11bFrames" Content="11b Frames" />
          <CheckBox Name="cbx11gnFrames" Content="11g/n Frames" />
          <CheckBox Name="cbx11nFrames" Content="11n HT40 Frames" />
          <CheckBox Name="cbx11acFrames" Content="11ac VHT80 Frames" />
        </StackPanel>
      </GroupBox>
    </StackPanel>
  </StackPanel>
</UserControl>