1/** 2 * This file contains definition for IOCTL call. 3 */ 4#ifndef _WLAN_WEXT_H_ 5#define _WLAN_WEXT_H_ 6 7#define SUBCMD_OFFSET 4 8#define SUBCMD_DATA(x) *((int *)(x->u.name + SUBCMD_OFFSET)) 9 10/** wlan_ioctl_regrdwr */ 11struct wlan_ioctl_regrdwr { 12 /** Which register to access */ 13 u16 whichreg; 14 /** Read or Write */ 15 u16 action; 16 u32 offset; 17 u16 NOB; 18 u32 value; 19}; 20 21#define WLAN_LINKMODE_802_3 0 22#define WLAN_LINKMODE_802_11 2 23#define WLAN_RADIOMODE_NONE 0 24#define WLAN_RADIOMODE_RADIOTAP 2 25 26extern struct iw_handler_def libertas_handler_def; 27extern struct iw_handler_def mesh_handler_def; 28int wlan_radio_ioctl(wlan_private * priv, u8 option); 29 30#endif /* _WLAN_WEXT_H_ */ 31