linux/drivers/staging/rtl8712/rtl871x_ioctl_set.h
<<
>>
Prefs
   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 __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 {
  22        unsigned char BSSID[6];
  23        NDIS_802_11_PMKID_VALUE PMKID;
  24};
  25
  26u8 r8712_set_802_11_authentication_mode(struct _adapter *pdapter,
  27                        enum NDIS_802_11_AUTHENTICATION_MODE authmode);
  28
  29u8 r8712_set_802_11_bssid(struct _adapter *padapter, u8 *bssid);
  30
  31u8 r8712_set_802_11_add_wep(struct _adapter *padapter,
  32                            struct NDIS_802_11_WEP *wep);
  33
  34u8 r8712_set_802_11_disassociate(struct _adapter *padapter);
  35
  36u8 r8712_set_802_11_bssid_list_scan(struct _adapter *padapter);
  37
  38void r8712_set_802_11_infrastructure_mode(struct _adapter *padapter,
  39                        enum NDIS_802_11_NETWORK_INFRASTRUCTURE networktype);
  40
  41void r8712_set_802_11_ssid(struct _adapter *padapter,
  42                           struct ndis_802_11_ssid *ssid);
  43
  44#endif
  45
  46