/*
  GPLv2, or later.
*/
#ifndef _ISLSM_IOCTL_H
#define _ISLSM_IOCTL_H

#include <linux/netdevice.h>
#include <linux/wireless.h>

/*** custom ioctls ***/
/* get and set sm structure */
#define	SIOCGSMSTRUCT	(SIOCDEVPRIVATE+0)
#define	SIOCSSMSTRUCT	(SIOCDEVPRIVATE+1)
/* get the mgmt readback results */
#define	SIOCGSMMGMT	(SIOCDEVPRIVATE+2)
/* send a control request with response expected,
   get back the response */
#define	SIOCXSMFRAME	(SIOCDEVPRIVATE+3)
/* does not cope with the status request... */
#define SIOCGSMSTATUS   (SIOCDEVPRIVATE+4)

/* data structure exchanged during the ioctls */
/* SIOCGSMSTRUCT : see isl_sm.h */
/* SIOCSSMSTRUCT */

struct iw_statistics   *islsm_wireless_stats(struct net_device *ndev);

extern struct iw_handler_def islsm_iw_handler_def;

#endif				/* _P54U_IOCTL_H */
