1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
3  *
4  * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
5  *
6  * Modifications for inclusion into the Linux staging tree are
7  * Copyright(c) 2010 Larry Finger. All rights reserved.
8  *
9  * Contact information:
10  * WLAN FAE <wlanfae@realtek.com>
11  * Larry Finger <Larry.Finger@lwfinger.net>
12  *
13  ******************************************************************************/
14 #ifndef _RTL871X_IOCTL_RTL_H
15 #define _RTL871X_IOCTL_RTL_H
16 
17 #include "osdep_service.h"
18 #include "drv_types.h"
19 
20 /*************** oid_rtl_seg_01_01 **************/
21 uint oid_rt_get_signal_quality_hdl(
22 			struct oid_par_priv *poid_par_priv);/*84*/
23 uint oid_rt_get_small_packet_crc_hdl(
24 			struct oid_par_priv *poid_par_priv);
25 uint oid_rt_get_middle_packet_crc_hdl(
26 			struct oid_par_priv *poid_par_priv);
27 uint oid_rt_get_large_packet_crc_hdl(
28 			struct oid_par_priv *poid_par_priv);
29 uint oid_rt_get_tx_retry_hdl(
30 			struct oid_par_priv *poid_par_priv);
31 uint oid_rt_get_rx_retry_hdl(
32 			struct oid_par_priv *poid_par_priv);
33 uint oid_rt_get_rx_total_packet_hdl(
34 			struct oid_par_priv *poid_par_priv);
35 uint oid_rt_get_tx_beacon_ok_hdl(
36 			struct oid_par_priv *poid_par_priv);
37 uint oid_rt_get_tx_beacon_err_hdl(
38 			struct oid_par_priv *poid_par_priv);
39 uint oid_rt_get_rx_icv_err_hdl(
40 			struct oid_par_priv *poid_par_priv);/*93*/
41 uint oid_rt_set_encryption_algorithm_hdl(
42 			struct oid_par_priv *poid_par_priv);
43 uint oid_rt_get_preamble_mode_hdl(
44 			struct oid_par_priv *poid_par_priv);
45 uint oid_rt_get_ap_ip_hdl(
46 			struct oid_par_priv *poid_par_priv);
47 uint oid_rt_get_channelplan_hdl(
48 			struct oid_par_priv *poid_par_priv);
49 uint oid_rt_set_channelplan_hdl(
50 			struct oid_par_priv *poid_par_priv);
51 uint oid_rt_set_preamble_mode_hdl(
52 			struct oid_par_priv *poid_par_priv);
53 uint oid_rt_set_bcn_intvl_hdl(
54 			struct oid_par_priv *poid_par_priv);
55 uint oid_rt_dedicate_probe_hdl(
56 			struct oid_par_priv *poid_par_priv);
57 uint oid_rt_get_total_tx_bytes_hdl(
58 			struct oid_par_priv *poid_par_priv);
59 uint oid_rt_get_total_rx_bytes_hdl(
60 			struct oid_par_priv *poid_par_priv);
61 uint oid_rt_current_tx_power_level_hdl(
62 			struct oid_par_priv *poid_par_priv);
63 uint oid_rt_get_enc_key_mismatch_count_hdl(
64 			struct oid_par_priv *poid_par_priv);
65 uint oid_rt_get_enc_key_match_count_hdl(
66 			struct oid_par_priv *poid_par_priv);
67 uint oid_rt_get_channel_hdl(
68 			struct oid_par_priv *poid_par_priv);
69 uint oid_rt_get_hardware_radio_off_hdl(
70 			struct oid_par_priv *poid_par_priv);
71 uint oid_rt_get_key_mismatch_hdl(
72 			struct oid_par_priv *poid_par_priv);
73 uint oid_rt_supported_wireless_mode_hdl(
74 			struct oid_par_priv *poid_par_priv);
75 uint oid_rt_get_channel_list_hdl(
76 			struct oid_par_priv *poid_par_priv);
77 uint oid_rt_get_scan_in_progress_hdl(
78 			struct oid_par_priv *poid_par_priv);
79 uint oid_rt_forced_data_rate_hdl(
80 			struct oid_par_priv *poid_par_priv);
81 uint oid_rt_wireless_mode_for_scan_list_hdl(
82 			struct oid_par_priv *poid_par_priv);
83 uint oid_rt_get_bss_wireless_mode_hdl(
84 			struct oid_par_priv *poid_par_priv);
85 uint oid_rt_scan_with_magic_packet_hdl(
86 			struct oid_par_priv *poid_par_priv);
87 
88 /**************  oid_rtl_seg_01_03 section start **************/
89 uint oid_rt_ap_get_associated_station_list_hdl(
90 			struct oid_par_priv *poid_par_priv);
91 uint oid_rt_ap_switch_into_ap_mode_hdl(
92 			struct oid_par_priv *poid_par_priv);
93 uint oid_rt_ap_supported_hdl(
94 			struct oid_par_priv *poid_par_priv);
95 uint oid_rt_ap_set_passphrase_hdl(
96 			struct oid_par_priv *poid_par_priv);
97 /* oid_rtl_seg_01_11 */
98 uint oid_rt_pro_rf_write_registry_hdl(
99 			struct oid_par_priv *poid_par_priv);
100 uint oid_rt_pro_rf_read_registry_hdl(
101 			struct oid_par_priv *poid_par_priv);
102 /***************  oid_rtl_seg_03_00 section start **************/
103 uint oid_rt_get_connect_state_hdl(
104 			struct oid_par_priv *poid_par_priv);
105 uint oid_rt_set_default_key_id_hdl(
106 			struct oid_par_priv *poid_par_priv);
107 
108 #endif
109 
110