23 class RaConfigForm
: public QWidget
28 RaConfigForm( int socket_id
, const char *device_name
, QWidget
* parent
= 0, const char* name
= 0);
31 QTabWidget
* TabWidgetRaConfig
;
33 QWidget
* ProfilePage_tab
;
34 QButtonGroup
* Profile_ButtonGroup
;
35 QPushButton
* Profile_PushButton_Add
;
36 QPushButton
* Profile_PushButton_Delete
;
37 QPushButton
* Profile_PushButton_Edit
;
38 QPushButton
* Profile_PushButton_Activate
;
39 QListView
* Profile_ListView
;
41 QWidget
* LinkStatusPage_tab
;
42 QLabel
* LinkStatus_TextLabel1
;
43 QLabel
* LinkStatus_TextLabel2
;
44 QLabel
* LinkStatus_TextLabel3
;
45 QLabel
* LinkStatus_TextLabel4
;
46 QLabel
* LinkStatus_TextLabel5
;
47 QLabel
* LinkStatus_TextLabel6
;
48 QLabel
* LinkStatus_TextLabel7
;
49 QLabel
* LinkStatus_TextLabel8
;
50 QLabel
* LinkStatus_TextLabel_Status
;
51 QLabel
* LinkStatus_TextLabel_Channel
;
52 QLabel
* LinkStatus_TextLabel_TxRate
;
53 QLabel
* LinkStatus_TextLabel_TxThrougput
;
54 QLabel
* LinkStatus_TextLabel_RxThroughput
;
55 QLabel
* LinkStatus_TextLabel_Link
;
56 QProgressBar
* LinkStatus_ProgressBar_Link
;
57 QLabel
* LinkStatus_TextLabel_Signal
;
58 QCheckBox
* LinkStatus_CheckBox_dbm
;
59 QProgressBar
* LinkStatus_ProgressBar_Signal
;
61 QWidget
* SiteSurveyPage_tab
;
62 QButtonGroup
* SiteSurvey_ButtonGroup
;
63 QListView
* SiteSurvey_ListView
;
64 QLineEdit
* SiteSurvey_LineEdit_Status
;
65 QPushButton
* SiteSurvey_PushButton_Rescan
;
66 QPushButton
* SiteSurvey_PushButton_Connect
;
67 QPushButton
* SiteSurvey_PushButton_AddProfile
;
69 QWidget
* StatisticsPage_tab
;
70 QButtonGroup
* Statistics_ButtonGroup_Tx
;
71 QLabel
* Statistics_TextLabel1
;
72 QLabel
* Statistics_TextLabel2
;
73 QLabel
* Statistics_TextLabel3
;
74 QLabel
* Statistics_TextLabel4
;
75 QLabel
* Statistics_TextLabel5
;
76 QLabel
* Statistics_TextLabel6
;
77 QLabel
* Statistics_TextLabel7
;
78 QLabel
* Statistics_TextLabel8
;
79 QLabel
* Statistics_TextLabel9
;
80 QLabel
* Statistics_TextLabel10
;
81 QLabel
* Statistics_TextLabel11
;
82 QLabel
* Statistics_TextLabel12
;
83 QLabel
* Statistics_TextLabel_TxSuccess
;
84 QLabel
* Statistics_TextLabel_TxWithoutRetry
;
85 QLabel
* Statistics_TextLabel_TxAfterRetry
;
86 QLabel
* Statistics_TextLabel_TxFailACK
;
87 QLabel
* Statistics_TextLabel_RTSSuccess
;
88 QLabel
* Statistics_TextLabel_RTSFail
;
89 QButtonGroup
* Statistics_ButtonGroup_Rx
;
90 QLabel
* Statistics_TextLabel13
;
91 QLabel
* Statistics_TextLabel14
;
92 QLabel
* Statistics_TextLabel15
;
93 QLabel
* Statistics_TextLabel16
;
94 QLabel
* Statistics_TextLabel17
;
95 QLabel
* Statistics_TextLabel18
;
96 QLabel
* Statistics_TextLabel19
;
97 QLabel
* Statistics_TextLabel20
;
98 QLabel
* Statistics_TextLabel_RxSuccess
;
99 QLabel
* Statistics_TextLabel_RxCRC
;
100 QLabel
* Statistics_TextLabel_RxDrop
;
101 QLabel
* Statistics_TextLabel_Duplicate
;
102 QPushButton
* Statistics_PushButton_Reset
;
104 QWidget
* AdvancePage_tab
;
105 QLabel
* Advance_TextLabel1
;
106 QLabel
* Advance_TextLabel2
;
107 QLabel
* Advance_TextLabel3
;
108 QComboBox
* Advance_ComboBox_Mode
;
109 QCheckBox
* Advance_CheckBox_AdhocOfdm
;
110 QCheckBox
* Advance_CheckBox_TxBurst
;
111 QCheckBox
* Advance_CheckBox_ShortSlot
;
112 QCheckBox
* Advance_CheckBox_TurboRate
;
113 QComboBox
* Advance_ComboBox_BGProtection
;
114 QComboBox
* Advance_ComboBox_TxRate
;
115 QLabel
* Advance_TextLabel_Radio
;
116 QPushButton
* Advance_PushButton_Radio
;
117 QPushButton
* Advance_PushButton_Apply
;
119 QWidget
* AboutPage_tab
;
120 QLabel
* About_TextLabel_Logo
;
121 QButtonGroup
* About_ButtonGroupUI
;
122 QLabel
* About_TextLabel1
;
123 QLabel
* About_TextLabel_UIVersion
;
124 QLabel
* About_TextLabel2
;
125 QLabel
* About_TextLabel_UIDate
;
126 QButtonGroup
* About_ButtonGroupNIC
;
127 QLabel
* About_TextLabel3
;
128 QLabel
* About_TextLabel_NICVersion
;
129 QLabel
* About_TextLabel4
;
130 QLabel
* About_TextLabel_NICDate
;
131 QButtonGroup
* About_ButtonGroupMAC
;
132 QLabel
* About_TextLabel5
;
133 QLabel
* About_TextLabel_PhyAddress
;
142 bool m_bUpdateSiteSurveyPage
;
143 bool m_bUpdateProfilePage
;
144 bool m_bUpdateLinkSatusPage
;
152 char *m_strDeviceName
;
153 unsigned int m_nSigQua
;
154 unsigned long m_lTxCount
;
155 unsigned long m_lRxCount
;
156 unsigned long m_lChannelQuality
;
159 int timerId_ConnectStatus
;
160 int timerId_LinkStatus
;
161 int timerId_Statistic
;
162 int timerId_UpdateProfileStatus
;
164 char m_strActiveProfileID
[32+1];
166 PNDIS_802_11_BSSID_LIST_EX m_pBssidList
;
167 PRT_PROFILE_SETTING m_pProfileSetting
;
168 NDIS_802_11_SSID m_SsidSet
;
169 NDIS_802_11_MAC_ADDRESS m_BssidSet
;
170 RT_802_11_PHY_MODE m_WirelessMode
;
172 void Profile_OnActive();
173 void Profile_ReadProfileFromFile();
174 void Profile_UpdateProfileStatus();
175 void Profile_WriteProfileToFile();
176 void Profile_WriteConfigToRegistryAndSetOid();
177 void LinkStatus_OnActive();
178 void LinkStatus_UpdateStatus();
179 void SiteSurvey_OnActive();
180 void SiteSurvey_ProbeConnectStatus();
181 void SiteSurvey_RescanTimerFunc();
182 void SiteSurvey_UpdateConnectStatus(NDIS_MEDIA_STATE ConnectStatus
);
183 void SiteSurvey_ButtonShowHide();
184 NDIS_802_11_AUTHENTICATION_MODE
SiteSurvey_GetEncryStatus();
185 bool SiteSurvey_ResetOidValue(NDIS_802_11_NETWORK_INFRASTRUCTURE enumInfrastructureMode
= Ndis802_11Infrastructure
);
186 void Statistics_OnActive();
187 void Statistics_OnTimer();
188 void Advance_OnActive();
189 void Advance_ReadConfigFromRegistry();
190 void About_OnActive();
193 virtual void Do_NotThing() { };
194 virtual void OnPageChanged();
195 virtual void timerEvent(QTimerEvent
* e
);
196 virtual void Profile_OnAddProfile();
197 virtual void Profile_OnDeleteProfile();
198 virtual void Profile_OnEditProfile();
199 virtual void Profile_OnActiveProfile();
200 virtual void SiteSurvey_OnRescan();
201 virtual void SiteSurvey_OnConnect();
202 virtual void SiteSurvey_OnAddToProfile();
203 virtual void Statistics_OnResetCounters();
204 virtual void SiteSurvey_OnSelectChange();
205 virtual void Advance_OnRadio();
206 virtual void Advance_OnApply();
207 virtual void Advance_OnSelchangeWirelessMode(int index
);
212 #endif // RACONFIGUI_H