1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of version 2 of the GNU General Public License as
7  * published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12  * more details.
13  *
14  * You should have received a copy of the GNU General Public License along with
15  * this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
17  *
18  * Modifications for inclusion into the Linux staging tree are
19  * Copyright(c) 2010 Larry Finger. All rights reserved.
20  *
21  * Contact information:
22  * WLAN FAE <wlanfae@realtek.com>
23  * Larry Finger <Larry.Finger@lwfinger.net>
24  *
25  ******************************************************************************/
26 #ifndef _RTL871X_IOCTL_RTL_H
27 #define _RTL871X_IOCTL_RTL_H
28 
29 #include "osdep_service.h"
30 #include "drv_types.h"
31 
32 /*************** oid_rtl_seg_01_01 **************/
33 uint oid_rt_get_signal_quality_hdl(
34 			struct oid_par_priv *poid_par_priv);/*84*/
35 uint oid_rt_get_small_packet_crc_hdl(
36 			struct oid_par_priv *poid_par_priv);
37 uint oid_rt_get_middle_packet_crc_hdl(
38 			struct oid_par_priv *poid_par_priv);
39 uint oid_rt_get_large_packet_crc_hdl(
40 			struct oid_par_priv *poid_par_priv);
41 uint oid_rt_get_tx_retry_hdl(
42 			struct oid_par_priv *poid_par_priv);
43 uint oid_rt_get_rx_retry_hdl(
44 			struct oid_par_priv *poid_par_priv);
45 uint oid_rt_get_rx_total_packet_hdl(
46 			struct oid_par_priv *poid_par_priv);
47 uint oid_rt_get_tx_beacon_ok_hdl(
48 			struct oid_par_priv *poid_par_priv);
49 uint oid_rt_get_tx_beacon_err_hdl(
50 			struct oid_par_priv *poid_par_priv);
51 uint oid_rt_get_rx_icv_err_hdl(
52 			struct oid_par_priv *poid_par_priv);/*93*/
53 uint oid_rt_set_encryption_algorithm_hdl(
54 			struct oid_par_priv *poid_par_priv);
55 uint oid_rt_get_preamble_mode_hdl(
56 			struct oid_par_priv *poid_par_priv);
57 uint oid_rt_get_ap_ip_hdl(
58 			struct oid_par_priv *poid_par_priv);
59 uint oid_rt_get_channelplan_hdl(
60 			struct oid_par_priv *poid_par_priv);
61 uint oid_rt_set_channelplan_hdl(
62 			struct oid_par_priv *poid_par_priv);
63 uint oid_rt_set_preamble_mode_hdl(
64 			struct oid_par_priv *poid_par_priv);
65 uint oid_rt_set_bcn_intvl_hdl(
66 			struct oid_par_priv *poid_par_priv);
67 uint oid_rt_dedicate_probe_hdl(
68 			struct oid_par_priv *poid_par_priv);
69 uint oid_rt_get_total_tx_bytes_hdl(
70 			struct oid_par_priv *poid_par_priv);
71 uint oid_rt_get_total_rx_bytes_hdl(
72 			struct oid_par_priv *poid_par_priv);
73 uint oid_rt_current_tx_power_level_hdl(
74 			struct oid_par_priv *poid_par_priv);
75 uint oid_rt_get_enc_key_mismatch_count_hdl(
76 			struct oid_par_priv *poid_par_priv);
77 uint oid_rt_get_enc_key_match_count_hdl(
78 			struct oid_par_priv *poid_par_priv);
79 uint oid_rt_get_channel_hdl(
80 			struct oid_par_priv *poid_par_priv);
81 uint oid_rt_get_hardware_radio_off_hdl(
82 			struct oid_par_priv *poid_par_priv);
83 uint oid_rt_get_key_mismatch_hdl(
84 			struct oid_par_priv *poid_par_priv);
85 uint oid_rt_supported_wireless_mode_hdl(
86 			struct oid_par_priv *poid_par_priv);
87 uint oid_rt_get_channel_list_hdl(
88 			struct oid_par_priv *poid_par_priv);
89 uint oid_rt_get_scan_in_progress_hdl(
90 			struct oid_par_priv *poid_par_priv);
91 uint oid_rt_forced_data_rate_hdl(
92 			struct oid_par_priv *poid_par_priv);
93 uint oid_rt_wireless_mode_for_scan_list_hdl(
94 			struct oid_par_priv *poid_par_priv);
95 uint oid_rt_get_bss_wireless_mode_hdl(
96 			struct oid_par_priv *poid_par_priv);
97 uint oid_rt_scan_with_magic_packet_hdl(
98 			struct oid_par_priv *poid_par_priv);
99 
100 /**************  oid_rtl_seg_01_03 section start **************/
101 uint oid_rt_ap_get_associated_station_list_hdl(
102 			struct oid_par_priv *poid_par_priv);
103 uint oid_rt_ap_switch_into_ap_mode_hdl(
104 			struct oid_par_priv *poid_par_priv);
105 uint oid_rt_ap_supported_hdl(
106 			struct oid_par_priv *poid_par_priv);
107 uint oid_rt_ap_set_passphrase_hdl(
108 			struct oid_par_priv *poid_par_priv);
109 /* oid_rtl_seg_01_11 */
110 uint oid_rt_pro_rf_write_registry_hdl(
111 			struct oid_par_priv *poid_par_priv);
112 uint oid_rt_pro_rf_read_registry_hdl(
113 			struct oid_par_priv *poid_par_priv);
114 /***************  oid_rtl_seg_03_00 section start **************/
115 uint oid_rt_get_connect_state_hdl(
116 			struct oid_par_priv *poid_par_priv);
117 uint oid_rt_set_default_key_id_hdl(
118 			struct oid_par_priv *poid_par_priv);
119 
120 #endif
121 
122