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 **************/
21uint oid_rt_get_signal_quality_hdl(
22			struct oid_par_priv *poid_par_priv);/*84*/
23uint oid_rt_get_small_packet_crc_hdl(
24			struct oid_par_priv *poid_par_priv);
25uint oid_rt_get_middle_packet_crc_hdl(
26			struct oid_par_priv *poid_par_priv);
27uint oid_rt_get_large_packet_crc_hdl(
28			struct oid_par_priv *poid_par_priv);
29uint oid_rt_get_tx_retry_hdl(
30			struct oid_par_priv *poid_par_priv);
31uint oid_rt_get_rx_retry_hdl(
32			struct oid_par_priv *poid_par_priv);
33uint oid_rt_get_rx_total_packet_hdl(
34			struct oid_par_priv *poid_par_priv);
35uint oid_rt_get_tx_beacon_ok_hdl(
36			struct oid_par_priv *poid_par_priv);
37uint oid_rt_get_tx_beacon_err_hdl(
38			struct oid_par_priv *poid_par_priv);
39uint oid_rt_get_rx_icv_err_hdl(
40			struct oid_par_priv *poid_par_priv);/*93*/
41uint oid_rt_set_encryption_algorithm_hdl(
42			struct oid_par_priv *poid_par_priv);
43uint oid_rt_get_preamble_mode_hdl(
44			struct oid_par_priv *poid_par_priv);
45uint oid_rt_get_ap_ip_hdl(
46			struct oid_par_priv *poid_par_priv);
47uint oid_rt_get_channelplan_hdl(
48			struct oid_par_priv *poid_par_priv);
49uint oid_rt_set_channelplan_hdl(
50			struct oid_par_priv *poid_par_priv);
51uint oid_rt_set_preamble_mode_hdl(
52			struct oid_par_priv *poid_par_priv);
53uint oid_rt_set_bcn_intvl_hdl(
54			struct oid_par_priv *poid_par_priv);
55uint oid_rt_dedicate_probe_hdl(
56			struct oid_par_priv *poid_par_priv);
57uint oid_rt_get_total_tx_bytes_hdl(
58			struct oid_par_priv *poid_par_priv);
59uint oid_rt_get_total_rx_bytes_hdl(
60			struct oid_par_priv *poid_par_priv);
61uint oid_rt_current_tx_power_level_hdl(
62			struct oid_par_priv *poid_par_priv);
63uint oid_rt_get_enc_key_mismatch_count_hdl(
64			struct oid_par_priv *poid_par_priv);
65uint oid_rt_get_enc_key_match_count_hdl(
66			struct oid_par_priv *poid_par_priv);
67uint oid_rt_get_channel_hdl(
68			struct oid_par_priv *poid_par_priv);
69uint oid_rt_get_hardware_radio_off_hdl(
70			struct oid_par_priv *poid_par_priv);
71uint oid_rt_get_key_mismatch_hdl(
72			struct oid_par_priv *poid_par_priv);
73uint oid_rt_supported_wireless_mode_hdl(
74			struct oid_par_priv *poid_par_priv);
75uint oid_rt_get_channel_list_hdl(
76			struct oid_par_priv *poid_par_priv);
77uint oid_rt_get_scan_in_progress_hdl(
78			struct oid_par_priv *poid_par_priv);
79uint oid_rt_forced_data_rate_hdl(
80			struct oid_par_priv *poid_par_priv);
81uint oid_rt_wireless_mode_for_scan_list_hdl(
82			struct oid_par_priv *poid_par_priv);
83uint oid_rt_get_bss_wireless_mode_hdl(
84			struct oid_par_priv *poid_par_priv);
85uint oid_rt_scan_with_magic_packet_hdl(
86			struct oid_par_priv *poid_par_priv);
87
88/**************  oid_rtl_seg_01_03 section start **************/
89uint oid_rt_ap_get_associated_station_list_hdl(
90			struct oid_par_priv *poid_par_priv);
91uint oid_rt_ap_switch_into_ap_mode_hdl(
92			struct oid_par_priv *poid_par_priv);
93uint oid_rt_ap_supported_hdl(
94			struct oid_par_priv *poid_par_priv);
95uint oid_rt_ap_set_passphrase_hdl(
96			struct oid_par_priv *poid_par_priv);
97/* oid_rtl_seg_01_11 */
98uint oid_rt_pro_rf_write_registry_hdl(
99			struct oid_par_priv *poid_par_priv);
100uint oid_rt_pro_rf_read_registry_hdl(
101			struct oid_par_priv *poid_par_priv);
102/***************  oid_rtl_seg_03_00 section start **************/
103uint oid_rt_get_connect_state_hdl(
104			struct oid_par_priv *poid_par_priv);
105uint oid_rt_set_default_key_id_hdl(
106			struct oid_par_priv *poid_par_priv);
107
108#endif
109
110