2 * Copyright (c) 2012 GCT Semiconductor, Inc. All rights reserved.
4 * This software is licensed under the terms of the GNU General Public
5 * License version 2, as published by the Free Software Foundation, and
6 * may be copied, distributed, and modified under those terms.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
14 #if !defined(WM_IOCTL_H_20080714)
15 #define WM_IOCTL_H_20080714
16 #if !defined(__KERNEL__)
20 #define NETLINK_WIMAX 31
22 #define SIOCWMIOCTL SIOCDEVPRIVATE
24 #define SIOCG_DATA 0x8D10
25 #define SIOCS_DATA 0x8D11
37 #define SIOC_DATA_MAX 16
70 int m_status
; /*main status*/
71 int c_status
; /*connection status*/
72 int d_status
; /*oma-dm status*/
82 char ifrn_name
[IFNAMSIZ
];
87 unsigned short data_id
;
90 /* NOTE: sizeof(struct wm_req_s) must be less than sizeof(struct ifreq). */
94 #define ifr_name ifr_ifrn.ifrn_name