Merge tag 'csky-for-linus-4.20-fixup-dtb' of https://github.com/c-sky/csky-linux
[linux-block.git] / drivers / staging / rtl8712 / rtl871x_ioctl_set.h
CommitLineData
e24c1f86 1/* SPDX-License-Identifier: GPL-2.0 */
0e54f609
AB
2/******************************************************************************
3 *
4 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
5 *
b4f6209d
AB
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>
0e54f609
AB
12 *
13 ******************************************************************************/
2865d42c
LF
14#ifndef __IOCTL_SET_H
15#define __IOCTL_SET_H
16
17#include "drv_types.h"
18
19typedef u8 NDIS_802_11_PMKID_VALUE[16];
20
21struct BSSIDInfo {
0593758e
JM
22 unsigned char BSSID[6];
23 NDIS_802_11_PMKID_VALUE PMKID;
2865d42c
LF
24};
25
26u8 r8712_set_802_11_authentication_mode(struct _adapter *pdapter,
27 enum NDIS_802_11_AUTHENTICATION_MODE authmode);
0593758e 28
2865d42c 29u8 r8712_set_802_11_bssid(struct _adapter *padapter, u8 *bssid);
0593758e
JM
30
31u8 r8712_set_802_11_add_wep(struct _adapter *padapter,
32 struct NDIS_802_11_WEP *wep);
33
2865d42c 34u8 r8712_set_802_11_disassociate(struct _adapter *padapter);
0593758e 35
2865d42c 36u8 r8712_set_802_11_bssid_list_scan(struct _adapter *padapter);
0593758e 37
2192e606 38void r8712_set_802_11_infrastructure_mode(struct _adapter *padapter,
2865d42c 39 enum NDIS_802_11_NETWORK_INFRASTRUCTURE networktype);
0593758e
JM
40
41void r8712_set_802_11_ssid(struct _adapter *padapter,
42 struct ndis_802_11_ssid *ssid);
2865d42c
LF
43
44#endif
45