root/drivers/staging/ks7010/ks_wlan_ioctl.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0 */
   2 /*
   3  *   Driver for KeyStream 11b/g wireless LAN
   4  *
   5  *   Copyright (c) 2005-2008 KeyStream Corp.
   6  *   Copyright (C) 2009 Renesas Technology Corp.
   7  */
   8 
   9 #ifndef _KS_WLAN_IOCTL_H
  10 #define _KS_WLAN_IOCTL_H
  11 
  12 #include <linux/wireless.h>
  13 /* The low order bit identify a SET (0) or a GET (1) ioctl.  */
  14 
  15 /*                                      (SIOCIWFIRSTPRIV + 0) */
  16 /* former KS_WLAN_GET_DRIVER_VERSION    (SIOCIWFIRSTPRIV + 1) */
  17 /*                                      (SIOCIWFIRSTPRIV + 2) */
  18 #define KS_WLAN_GET_FIRM_VERSION        (SIOCIWFIRSTPRIV + 3)
  19 #define KS_WLAN_SET_WPS_ENABLE          (SIOCIWFIRSTPRIV + 4)
  20 #define KS_WLAN_GET_WPS_ENABLE          (SIOCIWFIRSTPRIV + 5)
  21 #define KS_WLAN_SET_WPS_PROBE_REQ       (SIOCIWFIRSTPRIV + 6)
  22 #define KS_WLAN_GET_EEPROM_CKSUM        (SIOCIWFIRSTPRIV + 7)
  23 #define KS_WLAN_SET_PREAMBLE            (SIOCIWFIRSTPRIV + 8)
  24 #define KS_WLAN_GET_PREAMBLE            (SIOCIWFIRSTPRIV + 9)
  25 #define KS_WLAN_SET_POWER_SAVE          (SIOCIWFIRSTPRIV + 10)
  26 #define KS_WLAN_GET_POWER_SAVE          (SIOCIWFIRSTPRIV + 11)
  27 #define KS_WLAN_SET_SCAN_TYPE           (SIOCIWFIRSTPRIV + 12)
  28 #define KS_WLAN_GET_SCAN_TYPE           (SIOCIWFIRSTPRIV + 13)
  29 #define KS_WLAN_SET_RX_GAIN             (SIOCIWFIRSTPRIV + 14)
  30 #define KS_WLAN_GET_RX_GAIN             (SIOCIWFIRSTPRIV + 15)
  31 #define KS_WLAN_HOSTT                   (SIOCIWFIRSTPRIV + 16)  /* unused */
  32 //#define KS_WLAN_SET_REGION            (SIOCIWFIRSTPRIV + 17)
  33 #define KS_WLAN_SET_BEACON_LOST         (SIOCIWFIRSTPRIV + 18)
  34 #define KS_WLAN_GET_BEACON_LOST         (SIOCIWFIRSTPRIV + 19)
  35 
  36 #define KS_WLAN_SET_TX_GAIN             (SIOCIWFIRSTPRIV + 20)
  37 #define KS_WLAN_GET_TX_GAIN             (SIOCIWFIRSTPRIV + 21)
  38 
  39 /* for KS7010 */
  40 #define KS_WLAN_SET_PHY_TYPE            (SIOCIWFIRSTPRIV + 22)
  41 #define KS_WLAN_GET_PHY_TYPE            (SIOCIWFIRSTPRIV + 23)
  42 #define KS_WLAN_SET_CTS_MODE            (SIOCIWFIRSTPRIV + 24)
  43 #define KS_WLAN_GET_CTS_MODE            (SIOCIWFIRSTPRIV + 25)
  44 /*                                      (SIOCIWFIRSTPRIV + 26) */
  45 /*                                      (SIOCIWFIRSTPRIV + 27) */
  46 #define KS_WLAN_SET_SLEEP_MODE          (SIOCIWFIRSTPRIV + 28)  /* sleep mode */
  47 #define KS_WLAN_GET_SLEEP_MODE          (SIOCIWFIRSTPRIV + 29)  /* sleep mode */
  48 /*                                      (SIOCIWFIRSTPRIV + 30) */
  49 /*                                      (SIOCIWFIRSTPRIV + 31) */
  50 
  51 #ifdef __KERNEL__
  52 
  53 #include "ks_wlan.h"
  54 #include <linux/netdevice.h>
  55 
  56 int ks_wlan_setup_parameter(struct ks_wlan_private *priv,
  57                             unsigned int commit_flag);
  58 
  59 #endif /* __KERNEL__ */
  60 
  61 #endif /* _KS_WLAN_IOCTL_H */

/* [<][>][^][v][top][bottom][index][help] */