1 //------------------------------------------------------------------------------ 2 // Copyright (c) 2004-2010 Atheros Communications Inc. 3 // All rights reserved. 4 // 5 // 6 // 7 // Permission to use, copy, modify, and/or distribute this software for any 8 // purpose with or without fee is hereby granted, provided that the above 9 // copyright notice and this permission notice appear in all copies. 10 // 11 // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 12 // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 13 // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 14 // ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 15 // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 16 // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 17 // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 18 // 19 // 20 // 21 // Author(s): ="Atheros" 22 //------------------------------------------------------------------------------ 23 24 #ifndef _WMI_FILTER_LINUX_H_ 25 #define _WMI_FILTER_LINUX_H_ 26 27 /* 28 * sioctl_filter - Standard ioctl 29 * pioctl_filter - Priv ioctl 30 * xioctl_filter - eXtended ioctl 31 * 32 * ---- Possible values for the WMI filter --------------- 33 * (0) - Block this cmd always (or) not implemented 34 * (INFRA_NETWORK) - Allow this cmd only in STA mode 35 * (ADHOC_NETWORK) - Allow this cmd only in IBSS mode 36 * (AP_NETWORK) - Allow this cmd only in AP mode 37 * (INFRA_NETWORK | ADHOC_NETWORK) - Block this cmd in AP mode 38 * (ADHOC_NETWORK | AP_NETWORK) - Block this cmd in STA mode 39 * (INFRA_NETWORK | AP_NETWORK) - Block this cmd in IBSS mode 40 * (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK)- allow only when mode is set 41 * (0xFF) - Allow this cmd always irrespective of mode 42 */ 43 44 u8 sioctl_filter[] = { 45 (AP_NETWORK), /* SIOCSIWCOMMIT 0x8B00 */ 46 (0xFF), /* SIOCGIWNAME 0x8B01 */ 47 (0), /* SIOCSIWNWID 0x8B02 */ 48 (0), /* SIOCGIWNWID 0x8B03 */ 49 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* SIOCSIWFREQ 0x8B04 */ 50 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* SIOCGIWFREQ 0x8B05 */ 51 (0xFF), /* SIOCSIWMODE 0x8B06 */ 52 (0xFF), /* SIOCGIWMODE 0x8B07 */ 53 (0), /* SIOCSIWSENS 0x8B08 */ 54 (0), /* SIOCGIWSENS 0x8B09 */ 55 (0), /* SIOCSIWRANGE 0x8B0A */ 56 (0xFF), /* SIOCGIWRANGE 0x8B0B */ 57 (0), /* SIOCSIWPRIV 0x8B0C */ 58 (0), /* SIOCGIWPRIV 0x8B0D */ 59 (0), /* SIOCSIWSTATS 0x8B0E */ 60 (0), /* SIOCGIWSTATS 0x8B0F */ 61 (0), /* SIOCSIWSPY 0x8B10 */ 62 (0), /* SIOCGIWSPY 0x8B11 */ 63 (0), /* SIOCSIWTHRSPY 0x8B12 */ 64 (0), /* SIOCGIWTHRSPY 0x8B13 */ 65 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* SIOCSIWAP 0x8B14 */ 66 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* SIOCGIWAP 0x8B15 */ 67 #if (WIRELESS_EXT >= 18) 68 (INFRA_NETWORK | ADHOC_NETWORK), /* SIOCSIWMLME 0X8B16 */ 69 #else 70 (0), /* Dummy 0 */ 71 #endif /* WIRELESS_EXT */ 72 (0), /* SIOCGIWAPLIST 0x8B17 */ 73 (INFRA_NETWORK | ADHOC_NETWORK), /* SIOCSIWSCAN 0x8B18 */ 74 (INFRA_NETWORK | ADHOC_NETWORK), /* SIOCGIWSCAN 0x8B19 */ 75 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* SIOCSIWESSID 0x8B1A */ 76 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* SIOCGIWESSID 0x8B1B */ 77 (0), /* SIOCSIWNICKN 0x8B1C */ 78 (0), /* SIOCGIWNICKN 0x8B1D */ 79 (0), /* Dummy 0 */ 80 (0), /* Dummy 0 */ 81 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* SIOCSIWRATE 0x8B20 */ 82 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* SIOCGIWRATE 0x8B21 */ 83 (0), /* SIOCSIWRTS 0x8B22 */ 84 (0), /* SIOCGIWRTS 0x8B23 */ 85 (0), /* SIOCSIWFRAG 0x8B24 */ 86 (0), /* SIOCGIWFRAG 0x8B25 */ 87 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* SIOCSIWTXPOW 0x8B26 */ 88 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* SIOCGIWTXPOW 0x8B27 */ 89 (INFRA_NETWORK | ADHOC_NETWORK), /* SIOCSIWRETRY 0x8B28 */ 90 (INFRA_NETWORK | ADHOC_NETWORK), /* SIOCGIWRETRY 0x8B29 */ 91 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* SIOCSIWENCODE 0x8B2A */ 92 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* SIOCGIWENCODE 0x8B2B */ 93 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* SIOCSIWPOWER 0x8B2C */ 94 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* SIOCGIWPOWER 0x8B2D */ 95 }; 96 97 98 99 u8 pioctl_filter[] = { 100 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* IEEE80211_IOCTL_SETPARAM (SIOCIWFIRSTPRIV+0) */ 101 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* IEEE80211_IOCTL_SETKEY (SIOCIWFIRSTPRIV+1) */ 102 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* IEEE80211_IOCTL_DELKEY (SIOCIWFIRSTPRIV+2) */ 103 (AP_NETWORK), /* IEEE80211_IOCTL_SETMLME (SIOCIWFIRSTPRIV+3) */ 104 (INFRA_NETWORK), /* IEEE80211_IOCTL_ADDPMKID (SIOCIWFIRSTPRIV+4) */ 105 (0), /* IEEE80211_IOCTL_SETOPTIE (SIOCIWFIRSTPRIV+5) */ 106 (0), /* (SIOCIWFIRSTPRIV+6) */ 107 (0), /* (SIOCIWFIRSTPRIV+7) */ 108 (0), /* (SIOCIWFIRSTPRIV+8) */ 109 (0), /* (SIOCIWFIRSTPRIV+9) */ 110 (0), /* IEEE80211_IOCTL_LASTONE (SIOCIWFIRSTPRIV+10) */ 111 (0xFF), /* AR6000_IOCTL_WMI_GETREV (SIOCIWFIRSTPRIV+11) */ 112 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* AR6000_IOCTL_WMI_SETPWR (SIOCIWFIRSTPRIV+12) */ 113 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_IOCTL_WMI_SETSCAN (SIOCIWFIRSTPRIV+13) */ 114 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_IOCTL_WMI_SETLISTENINT (SIOCIWFIRSTPRIV+14) */ 115 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_IOCTL_WMI_SETBSSFILTER (SIOCIWFIRSTPRIV+15) */ 116 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* AR6000_IOCTL_WMI_SET_CHANNELPARAMS (SIOCIWFIRSTPRIV+16) */ 117 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_IOCTL_WMI_SET_PROBEDSSID (SIOCIWFIRSTPRIV+17) */ 118 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_IOCTL_WMI_SET_PMPARAMS (SIOCIWFIRSTPRIV+18) */ 119 (INFRA_NETWORK), /* AR6000_IOCTL_WMI_SET_BADAP (SIOCIWFIRSTPRIV+19) */ 120 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_IOCTL_WMI_GET_QOS_QUEUE (SIOCIWFIRSTPRIV+20) */ 121 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_IOCTL_WMI_CREATE_QOS (SIOCIWFIRSTPRIV+21) */ 122 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_IOCTL_WMI_DELETE_QOS (SIOCIWFIRSTPRIV+22) */ 123 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_IOCTL_WMI_SET_SNRTHRESHOLD (SIOCIWFIRSTPRIV+23) */ 124 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_IOCTL_WMI_SET_ERROR_REPORT_BITMASK (SIOCIWFIRSTPRIV+24)*/ 125 (0xFF), /* AR6000_IOCTL_WMI_GET_TARGET_STATS (SIOCIWFIRSTPRIV+25) */ 126 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_IOCTL_WMI_SET_ASSOC_INFO (SIOCIWFIRSTPRIV+26) */ 127 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_IOCTL_WMI_SET_ACCESS_PARAMS (SIOCIWFIRSTPRIV+27) */ 128 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_IOCTL_WMI_SET_BMISS_TIME (SIOCIWFIRSTPRIV+28) */ 129 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_IOCTL_WMI_SET_DISC_TIMEOUT (SIOCIWFIRSTPRIV+29) */ 130 (ADHOC_NETWORK), /* AR6000_IOCTL_WMI_SET_IBSS_PM_CAPS (SIOCIWFIRSTPRIV+30) */ 131 }; 132 133 134 135 u8 xioctl_filter[] = { 136 (0xFF), /* Dummy 0 */ 137 (0xFF), /* AR6000_XIOCTL_BMI_DONE 1 */ 138 (0xFF), /* AR6000_XIOCTL_BMI_READ_MEMORY 2 */ 139 (0xFF), /* AR6000_XIOCTL_BMI_WRITE_MEMORY 3 */ 140 (0xFF), /* AR6000_XIOCTL_BMI_EXECUTE 4 */ 141 (0xFF), /* AR6000_XIOCTL_BMI_SET_APP_START 5 */ 142 (0xFF), /* AR6000_XIOCTL_BMI_READ_SOC_REGISTER 6 */ 143 (0xFF), /* AR6000_XIOCTL_BMI_WRITE_SOC_REGISTER 7 */ 144 (0xFF), /* AR6000_XIOCTL_BMI_TEST 8 */ 145 (0xFF), /* AR6000_XIOCTL_UNUSED9 9 */ 146 (0xFF), /* AR6000_XIOCTL_UNUSED10 10 */ 147 (0xFF), /* AR6000_XIOCTL_UNUSED11 11 */ 148 (0xFF), /* AR6000_XIOCTL_FORCE_TARGET_RESET 12 */ 149 (0xFF), /* AR6000_XIOCTL_HTC_RAW_OPEN 13 */ 150 (0xFF), /* AR6000_XIOCTL_HTC_RAW_CLOSE 14 */ 151 (0xFF), /* AR6000_XIOCTL_HTC_RAW_READ 15 */ 152 (0xFF), /* AR6000_XIOCTL_HTC_RAW_WRITE 16 */ 153 (0xFF), /* AR6000_XIOCTL_CHECK_TARGET_READY 17 */ 154 (0xFF), /* AR6000_XIOCTL_GPIO_OUTPUT_SET 18 */ 155 (0xFF), /* AR6000_XIOCTL_GPIO_INPUT_GET 19 */ 156 (0xFF), /* AR6000_XIOCTL_GPIO_REGISTER_SET 20 */ 157 (0xFF), /* AR6000_XIOCTL_GPIO_REGISTER_GET 21 */ 158 (0xFF), /* AR6000_XIOCTL_GPIO_INTR_ACK 22 */ 159 (0xFF), /* AR6000_XIOCTL_GPIO_INTR_WAIT 23 */ 160 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_SET_ADHOC_BSSID 24 */ 161 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_SET_OPT_MODE 25 */ 162 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_OPT_SEND_FRAME 26 */ 163 (ADHOC_NETWORK | AP_NETWORK), /* AR6000_XIOCTL_SET_BEACON_INTVAL 27 */ 164 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* IEEE80211_IOCTL_SETAUTHALG 28 */ 165 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_SET_VOICE_PKT_SIZE 29 */ 166 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_SET_MAX_SP 30 */ 167 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_GET_ROAM_TBL 31 */ 168 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_ROAM_CTRL 32 */ 169 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTRL_WMI_SET_POWERSAVE_TIMERS 33 */ 170 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* AR6000_XIOCTRL_WMI_GET_POWER_MODE 34 */ 171 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* AR6000_XIOCTRL_WMI_SET_WLAN_STATE 35 */ 172 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_GET_ROAM_DATA 36 */ 173 (0xFF), /* AR6000_XIOCTL_WMI_SETRETRYLIMITS 37 */ 174 (0xFF), /* AR6000_XIOCTL_TCMD_CONT_TX 38 */ 175 (0xFF), /* AR6000_XIOCTL_TCMD_CONT_RX 39 */ 176 (0xFF), /* AR6000_XIOCTL_TCMD_PM 40 */ 177 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_STARTSCAN 41 */ 178 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* AR6000_XIOCTL_WMI_SETFIXRATES 42 */ 179 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* AR6000_XIOCTL_WMI_GETFIXRATES 43 */ 180 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_RSSITHRESHOLD 44 */ 181 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_CLR_RSSISNR 45 */ 182 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_LQTHRESHOLD 46 */ 183 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* AR6000_XIOCTL_WMI_SET_RTS 47 */ 184 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* AR6000_XIOCTL_WMI_SET_LPREAMBLE 48 */ 185 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* AR6000_XIOCTL_WMI_SET_AUTHMODE 49 */ 186 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_REASSOCMODE 50 */ 187 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_WMM 51 */ 188 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_HB_CHALLENGE_RESP_PARAMS 52 */ 189 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_GET_HB_CHALLENGE_RESP 53 */ 190 (INFRA_NETWORK | ADHOC_NETWORK | AP_NETWORK), /* AR6000_XIOCTL_WMI_GET_RD 54 */ 191 (0xFF), /* AR6000_XIOCTL_DIAG_READ 55 */ 192 (0xFF), /* AR6000_XIOCTL_DIAG_WRITE 56 */ 193 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_TXOP 57 */ 194 (INFRA_NETWORK), /* AR6000_XIOCTL_USER_SETKEYS 58 */ 195 (INFRA_NETWORK), /* AR6000_XIOCTL_WMI_SET_KEEPALIVE 59 */ 196 (INFRA_NETWORK), /* AR6000_XIOCTL_WMI_GET_KEEPALIVE 60 */ 197 (0xFF), /* AR6000_XIOCTL_BMI_ROMPATCH_INSTALL 61 */ 198 (0xFF), /* AR6000_XIOCTL_BMI_ROMPATCH_UNINSTALL 62 */ 199 (0xFF), /* AR6000_XIOCTL_BMI_ROMPATCH_ACTIVATE 63 */ 200 (0xFF), /* AR6000_XIOCTL_BMI_ROMPATCH_DEACTIVATE 64 */ 201 (0xFF), /* AR6000_XIOCTL_WMI_SET_APPIE 65 */ 202 (0xFF), /* AR6000_XIOCTL_WMI_SET_MGMT_FRM_RX_FILTER 66 */ 203 (0xFF), /* AR6000_XIOCTL_DBGLOG_CFG_MODULE 67 */ 204 (0xFF), /* AR6000_XIOCTL_DBGLOG_GET_DEBUG_LOGS 68 */ 205 (0xFF), /* Dummy 69 */ 206 (0xFF), /* AR6000_XIOCTL_WMI_SET_WSC_STATUS 70 */ 207 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_BT_STATUS 71 */ 208 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_BT_PARAMS 72 */ 209 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_HOST_SLEEP_MODE 73 */ 210 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_WOW_MODE 74 */ 211 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_GET_WOW_LIST 75 */ 212 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_ADD_WOW_PATTERN 76 */ 213 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_DEL_WOW_PATTERN 77 */ 214 (0xFF), /* AR6000_XIOCTL_TARGET_INFO 78 */ 215 (0xFF), /* AR6000_XIOCTL_DUMP_HTC_CREDIT_STATE 79 */ 216 (0xFF), /* AR6000_XIOCTL_TRAFFIC_ACTIVITY_CHANGE 80 */ 217 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_CONNECT_CTRL_FLAGS 81 */ 218 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_AKMP_PARAMS 82 */ 219 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_GET_PMKID_LIST 83 */ 220 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_PMKID_LIST 84 */ 221 (0xFF), /* Dummy 85 */ 222 (0xFF), /* Dummy 86 */ 223 (0xFF), /* Dummy 87 */ 224 (0xFF), /* Dummy 88 */ 225 (0xFF), /* Dummy 89 */ 226 (0xFF), /* AR6000_XIOCTL_UNUSED90 90 */ 227 (0xFF), /* AR6000_XIOCTL_BMI_LZ_STREAM_START 91 */ 228 (0xFF), /* AR6000_XIOCTL_BMI_LZ_DATA 92 */ 229 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_PROF_CFG 93 */ 230 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_PROF_ADDR_SET 94 */ 231 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_PROF_START 95 */ 232 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_PROF_STOP 96 */ 233 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_PROF_COUNT_GET 97 */ 234 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_ABORT_SCAN 98 */ 235 (AP_NETWORK), /* AR6000_XIOCTL_AP_GET_STA_LIST 99 */ 236 (AP_NETWORK), /* AR6000_XIOCTL_AP_HIDDEN_SSID 100 */ 237 (AP_NETWORK), /* AR6000_XIOCTL_AP_SET_NUM_STA 101 */ 238 (AP_NETWORK), /* AR6000_XIOCTL_AP_SET_ACL_MAC 102 */ 239 (AP_NETWORK), /* AR6000_XIOCTL_AP_GET_ACL_LIST 103 */ 240 (AP_NETWORK), /* AR6000_XIOCTL_AP_COMMIT_CONFIG 104 */ 241 (AP_NETWORK), /* IEEE80211_IOCTL_GETWPAIE 105 */ 242 (AP_NETWORK), /* AR6000_XIOCTL_AP_CONN_INACT_TIME 106 */ 243 (AP_NETWORK), /* AR6000_XIOCTL_AP_PROT_SCAN_TIME 107 */ 244 (AP_NETWORK), /* AR6000_XIOCTL_WMI_SET_COUNTRY 108 */ 245 (AP_NETWORK), /* AR6000_XIOCTL_AP_SET_DTIM 109 */ 246 (0xFF), /* AR6000_XIOCTL_WMI_TARGET_EVENT_REPORT 110 */ 247 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_SET_IP 111 */ 248 (AP_NETWORK), /* AR6000_XIOCTL_AP_SET_ACL_POLICY 112 */ 249 (AP_NETWORK), /* AR6000_XIOCTL_AP_INTRA_BSS_COMM 113 */ 250 (0xFF), /* AR6000_XIOCTL_DUMP_MODULE_DEBUG_INFO 114 */ 251 (0xFF), /* AR6000_XIOCTL_MODULE_DEBUG_SET_MASK 115 */ 252 (0xFF), /* AR6000_XIOCTL_MODULE_DEBUG_GET_MASK 116 */ 253 (0xFF), /* AR6000_XIOCTL_DUMP_RCV_AGGR_STATS 117 */ 254 (0xFF), /* AR6000_XIOCTL_SET_HT_CAP 118 */ 255 (0xFF), /* AR6000_XIOCTL_SET_HT_OP 119 */ 256 (AP_NETWORK), /* AR6000_XIOCTL_AP_GET_STAT 120 */ 257 (0xFF), /* AR6000_XIOCTL_SET_TX_SELECT_RATES 121 */ 258 (0xFF), /* AR6000_XIOCTL_SETUP_AGGR 122 */ 259 (0xFF), /* AR6000_XIOCTL_ALLOW_AGGR 123 */ 260 (AP_NETWORK), /* AR6000_XIOCTL_AP_GET_HIDDEN_SSID 124 */ 261 (AP_NETWORK), /* AR6000_XIOCTL_AP_GET_COUNTRY 125 */ 262 (AP_NETWORK), /* AR6000_XIOCTL_AP_GET_WMODE 126 */ 263 (AP_NETWORK), /* AR6000_XIOCTL_AP_GET_DTIM 127 */ 264 (AP_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_AP_GET_BINTVL 128 */ 265 (0xFF), /* AR6000_XIOCTL_AP_GET_RTS 129 */ 266 (0xFF), /* AR6000_XIOCTL_DELE_AGGR 130 */ 267 (0xFF), /* AR6000_XIOCTL_FETCH_TARGET_REGS 131 */ 268 (0xFF), /* AR6000_XIOCTL_HCI_CMD 132 */ 269 (0xFF), /* AR6000_XIOCTL_ACL_DATA 133 */ 270 (0xFF), /* AR6000_XIOCTL_WLAN_CONN_PRECEDENCE 134 */ 271 (AP_NETWORK), /* AR6000_XIOCTL_AP_SET_11BG_RATESET 135 */ 272 (0xFF), 273 (0xFF), 274 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_BTCOEX_FE_ANT 138 */ 275 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_BTCOEX_COLOCATED_BT_DEV 139 */ 276 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_BTCOEX_BTINQUIRY_PAGE_CONFIG 140 */ 277 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_BTCOEX_SCO_CONFIG 141 */ 278 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_BTCOEX_A2DP_CONFIG 142 */ 279 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_BTCOEX_ACLCOEX_CONFIG 143 */ 280 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_BTCOEX_DEBUG 144 */ 281 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_BT_OPERATING_STATUS 145 */ 282 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_GET_BTCOEX_CONFIG 146 */ 283 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_GET_BTCOEX_GET_STATS 147 */ 284 (0xFF), /* AR6000_XIOCTL_WMI_SET_QOS_SUPP 148 */ 285 (0xFF), /* AR6000_XIOCTL_GET_WLAN_SLEEP_STATE 149 */ 286 (0xFF), /* AR6000_XIOCTL_SET_BT_HW_POWER_STATE 150 */ 287 (0xFF), /* AR6000_XIOCTL_GET_BT_HW_POWER_STATE 151 */ 288 (0xFF), /* AR6000_XIOCTL_ADD_AP_INTERFACE 152 */ 289 (0xFF), /* AR6000_XIOCTL_REMOVE_AP_INTERFACE 153 */ 290 (0xFF), /* AR6000_XIOCTL_WMI_SET_TX_SGI_PARAM 154 */ 291 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_WPA_OFFLOAD_STATE 155 */ 292 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_PASSPHRASE 156 */ 293 (0xFF), 294 (0xFF), 295 (0xFF), 296 (0xFF), 297 (INFRA_NETWORK | ADHOC_NETWORK), /* AR6000_XIOCTL_WMI_SET_EXCESS_TX_RETRY_THRES 161 */ 298 }; 299 300 #endif /*_WMI_FILTER_LINUX_H_*/ 301