/// <summary>
        /// Initializes the radio with specified Phy settings.
        /// </summary>
        /// <param name="phyTYpe"><see cref="PhyType"/> settings to initialize the radio with.</param>
        /// <remarks>
        /// </remarks>
        public EasyLinkController(PhyType phyTYpe)
        {
            _phyType = phyTYpe;

            _addressFilter = new ArrayList();

            _syncLock = new object();
        }
예제 #2
0
        public static DOT11_PHY_TYPE ConvertBack(PhyType source)
        {
            switch (source)
            {
            case PhyType.Any:
                return(DOT11_PHY_TYPE.dot11_phy_type_any);

            case PhyType.Fhss:
                return(DOT11_PHY_TYPE.dot11_phy_type_fhss);

            case PhyType.Dsss:
                return(DOT11_PHY_TYPE.dot11_phy_type_dsss);

            case PhyType.IrBaseband:
                return(DOT11_PHY_TYPE.dot11_phy_type_irbaseband);

            case PhyType.Ofdm:
                return(DOT11_PHY_TYPE.dot11_phy_type_ofdm);

            case PhyType.HrDsss:
                return(DOT11_PHY_TYPE.dot11_phy_type_hrdsss);

            case PhyType.Erp:
                return(DOT11_PHY_TYPE.dot11_phy_type_erp);

            case PhyType.Ht:
                return(DOT11_PHY_TYPE.dot11_phy_type_ht);

            case PhyType.Vht:
                return(DOT11_PHY_TYPE.dot11_phy_type_vht);

            case PhyType.IhvStart:
                return(DOT11_PHY_TYPE.dot11_phy_type_IHV_start);

            case PhyType.IhvEnd:
                return(DOT11_PHY_TYPE.dot11_phy_type_IHV_end);

            default:
                return(DOT11_PHY_TYPE.dot11_phy_type_unknown);
            }
        }
예제 #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 public RadioSet(PhyType type, bool?hardwareOn, bool?softwareOn)
 {
     this.Type       = type;
     this.HardwareOn = hardwareOn;
     this.SoftwareOn = softwareOn;
 }