1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
4 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
6 * Modifications for inclusion into the Linux staging tree are
7 * Copyright(c) 2010 Larry Finger. All rights reserved.
10 * WLAN FAE <wlanfae@realtek.com>
11 * Larry Finger <Larry.Finger@lwfinger.net>
13 ******************************************************************************/
17 #include "drv_types.h"
19 typedef u8 NDIS_802_11_PMKID_VALUE[16];
22 unsigned char BSSID[6];
23 NDIS_802_11_PMKID_VALUE PMKID;
26 u8 r8712_set_802_11_authentication_mode(struct _adapter *pdapter,
27 enum NDIS_802_11_AUTHENTICATION_MODE authmode);
29 u8 r8712_set_802_11_bssid(struct _adapter *padapter, u8 *bssid);
31 int r8712_set_802_11_add_wep(struct _adapter *padapter,
32 struct NDIS_802_11_WEP *wep);
34 u8 r8712_set_802_11_disassociate(struct _adapter *padapter);
36 u8 r8712_set_802_11_bssid_list_scan(struct _adapter *padapter);
38 void r8712_set_802_11_infrastructure_mode(struct _adapter *padapter,
39 enum NDIS_802_11_NETWORK_INFRASTRUCTURE networktype);
41 void r8712_set_802_11_ssid(struct _adapter *padapter,
42 struct ndis_802_11_ssid *ssid);