Lines Matching +full:0 +full:x0000004d

54 #define FW_DUMP_INFO_ENDED 0x0002
56 #define MWIFIEX_FW_DNLD_CMD_1 0x1
57 #define MWIFIEX_FW_DNLD_CMD_5 0x5
58 #define MWIFIEX_FW_DNLD_CMD_6 0x6
59 #define MWIFIEX_FW_DNLD_CMD_7 0x7
84 (((adapter->fw_cap_info & 0x2f00) >> 8) & \
87 #define HostCmd_WEP_KEY_INDEX_MASK 0x3fff
89 #define KEY_INFO_ENABLED 0x01
91 KEY_TYPE_ID_WEP = 0,
101 #define KEY_INDEX_MASK 0xf
104 #define KEY_MCAST BIT(0)
117 #define FIRMWARE_READY_SDIO 0xfedc
118 #define FIRMWARE_READY_PCIE 0xfedcba00
120 #define MWIFIEX_COEX_MODE_TIMESHARE 0x01
121 #define MWIFIEX_COEX_MODE_SPATIAL 0x82
137 #define UAP_BSS_PARAMS_I 0
139 #define MWIFIEX_AUTO_IDX_MASK 0xffff
140 #define MWIFIEX_DELETE_MASK 0x0000
141 #define MGMT_MASK_ASSOC_REQ 0x01
142 #define MGMT_MASK_REASSOC_REQ 0x04
143 #define MGMT_MASK_ASSOC_RESP 0x02
144 #define MGMT_MASK_REASSOC_RESP 0x08
145 #define MGMT_MASK_PROBE_REQ 0x10
146 #define MGMT_MASK_PROBE_RESP 0x20
147 #define MGMT_MASK_BEACON 0x100
149 #define TLV_TYPE_UAP_SSID 0x0000
150 #define TLV_TYPE_UAP_RATES 0x0001
151 #define TLV_TYPE_PWR_CONSTRAINT 0x0020
153 #define PROPRIETARY_TLV_BASE_ID 0x0100
154 #define TLV_TYPE_KEY_MATERIAL (PROPRIETARY_TLV_BASE_ID + 0)
216 #define SSN_MASK 0xfff0
218 #define BA_RESULT_SUCCESS 0x0
219 #define BA_RESULT_TIMEOUT 0x2
223 #define BA_STREAM_NOT_ALLOWED 0xff
248 #define MWIFIEX_DEF_11N_TX_BF_CAP 0x09E1E008
254 * 0-16 reserved
275 #define GETSUPP_TXBASTREAMS(Dot11nDevCap) ((Dot11nDevCap >> 18) & 0xF)
278 * 0 reserved
279 * 1 20/40 Mhz enable(1)/disable(0)
281 * 4 green field enable(1)/disable(0)
282 * 5 short GI in 20 Mhz enable(1)/disable(0)
283 * 6 short GI in 40 Mhz enable(1)/disable(0)
292 #define MWIFIEX_11AC_MCS_MAP_1X1 0xfffefffe
298 #define MWIFIEX_11AC_MCS_MAP_2X2 0xfffafffa
300 #define GET_RXMCSSUPP(DevMCSSupported) (DevMCSSupported & 0x0f)
302 #define HT_STREAM_1X1 0x11
303 #define HT_STREAM_2X2 0x22
313 #define GET_VHTCAP_CHWDSET(vht_cap_info) ((vht_cap_info >> 2) & 0x3)
314 #define GET_VHTNSSMCS(mcs_mapset, nss) ((mcs_mapset >> (2 * (nss - 1))) & 0x3)
315 #define SET_VHTNSSMCS(mcs_mapset, nss, value) (mcs_mapset |= (value & 0x3) << \
318 #define GET_DEVRXMCSMAP(dev_mcs_map) (dev_mcs_map & 0xFFFF)
329 #define MOD_CLASS_HR_DSSS 0x03
330 #define MOD_CLASS_OFDM 0x07
331 #define MOD_CLASS_HT 0x08
332 #define HT_BW_20 0
337 #define HostCmd_CMD_GET_HW_SPEC 0x0003
338 #define HostCmd_CMD_802_11_SCAN 0x0006
339 #define HostCmd_CMD_802_11_GET_LOG 0x000b
340 #define HostCmd_CMD_MAC_MULTICAST_ADR 0x0010
341 #define HostCmd_CMD_802_11_EEPROM_ACCESS 0x0059
342 #define HostCmd_CMD_802_11_ASSOCIATE 0x0012
343 #define HostCmd_CMD_802_11_SNMP_MIB 0x0016
344 #define HostCmd_CMD_MAC_REG_ACCESS 0x0019
345 #define HostCmd_CMD_BBP_REG_ACCESS 0x001a
346 #define HostCmd_CMD_RF_REG_ACCESS 0x001b
347 #define HostCmd_CMD_PMIC_REG_ACCESS 0x00ad
348 #define HostCmd_CMD_RF_TX_PWR 0x001e
349 #define HostCmd_CMD_RF_ANTENNA 0x0020
350 #define HostCmd_CMD_802_11_DEAUTHENTICATE 0x0024
351 #define HostCmd_CMD_MAC_CONTROL 0x0028
352 #define HostCmd_CMD_802_11_AD_HOC_START 0x002b
353 #define HostCmd_CMD_802_11_AD_HOC_JOIN 0x002c
354 #define HostCmd_CMD_802_11_AD_HOC_STOP 0x0040
355 #define HostCmd_CMD_802_11_MAC_ADDRESS 0x004D
356 #define HostCmd_CMD_802_11D_DOMAIN_INFO 0x005b
357 #define HostCmd_CMD_802_11_KEY_MATERIAL 0x005e
358 #define HostCmd_CMD_802_11_BG_SCAN_CONFIG 0x006b
359 #define HostCmd_CMD_802_11_BG_SCAN_QUERY 0x006c
360 #define HostCmd_CMD_WMM_GET_STATUS 0x0071
361 #define HostCmd_CMD_802_11_SUBSCRIBE_EVENT 0x0075
362 #define HostCmd_CMD_802_11_TX_RATE_QUERY 0x007f
363 #define HostCmd_CMD_802_11_IBSS_COALESCING_STATUS 0x0083
364 #define HostCmd_CMD_MEM_ACCESS 0x0086
365 #define HostCmd_CMD_CFG_DATA 0x008f
366 #define HostCmd_CMD_VERSION_EXT 0x0097
367 #define HostCmd_CMD_MEF_CFG 0x009a
368 #define HostCmd_CMD_RSSI_INFO 0x00a4
369 #define HostCmd_CMD_FUNC_INIT 0x00a9
370 #define HostCmd_CMD_FUNC_SHUTDOWN 0x00aa
371 #define HOST_CMD_APCMD_SYS_RESET 0x00af
372 #define HostCmd_CMD_UAP_SYS_CONFIG 0x00b0
373 #define HostCmd_CMD_UAP_BSS_START 0x00b1
374 #define HostCmd_CMD_UAP_BSS_STOP 0x00b2
375 #define HOST_CMD_APCMD_STA_LIST 0x00b3
376 #define HostCmd_CMD_UAP_STA_DEAUTH 0x00b5
377 #define HostCmd_CMD_11N_CFG 0x00cd
378 #define HostCmd_CMD_11N_ADDBA_REQ 0x00ce
379 #define HostCmd_CMD_11N_ADDBA_RSP 0x00cf
380 #define HostCmd_CMD_11N_DELBA 0x00d0
381 #define HostCmd_CMD_RECONFIGURE_TX_BUFF 0x00d9
382 #define HostCmd_CMD_CHAN_REPORT_REQUEST 0x00dd
383 #define HostCmd_CMD_AMSDU_AGGR_CTRL 0x00df
384 #define HostCmd_CMD_TXPWR_CFG 0x00d1
385 #define HostCmd_CMD_TX_RATE_CFG 0x00d6
386 #define HostCmd_CMD_ROBUST_COEX 0x00e0
387 #define HostCmd_CMD_802_11_PS_MODE_ENH 0x00e4
388 #define HostCmd_CMD_802_11_HS_CFG_ENH 0x00e5
389 #define HostCmd_CMD_P2P_MODE_CFG 0x00eb
390 #define HostCmd_CMD_CAU_REG_ACCESS 0x00ed
391 #define HostCmd_CMD_SET_BSS_MODE 0x00f7
392 #define HostCmd_CMD_PCIE_DESC_DETAILS 0x00fa
393 #define HostCmd_CMD_802_11_SCAN_EXT 0x0107
394 #define HostCmd_CMD_COALESCE_CFG 0x010a
395 #define HostCmd_CMD_MGMT_FRAME_REG 0x010c
396 #define HostCmd_CMD_REMAIN_ON_CHAN 0x010d
397 #define HostCmd_CMD_GTK_REKEY_OFFLOAD_CFG 0x010f
398 #define HostCmd_CMD_11AC_CFG 0x0112
399 #define HostCmd_CMD_HS_WAKEUP_REASON 0x0116
400 #define HostCmd_CMD_TDLS_CONFIG 0x0100
401 #define HostCmd_CMD_MC_POLICY 0x0121
402 #define HostCmd_CMD_TDLS_OPER 0x0122
403 #define HostCmd_CMD_FW_DUMP_EVENT 0x0125
404 #define HostCmd_CMD_SDIO_SP_RX_AGGR_CFG 0x0223
405 #define HostCmd_CMD_STA_CONFIGURE 0x023f
406 #define HostCmd_CMD_CHAN_REGION_CFG 0x0242
407 #define HostCmd_CMD_PACKET_AGGR_CTRL 0x0251
409 #define PROTOCOL_NO_SECURITY 0x01
410 #define PROTOCOL_STATIC_WEP 0x02
411 #define PROTOCOL_WPA 0x08
412 #define PROTOCOL_WPA2 0x20
413 #define PROTOCOL_WPA2_MIXED 0x28
414 #define PROTOCOL_EAP 0x40
415 #define KEY_MGMT_NONE 0x04
416 #define KEY_MGMT_PSK 0x02
417 #define KEY_MGMT_EAP 0x01
418 #define CIPHER_TKIP 0x04
419 #define CIPHER_AES_CCMP 0x08
420 #define VALID_CIPHER_BITMAP 0x0c
428 GET_PS = 0,
429 EN_AUTO_PS = 0xff,
430 DIS_AUTO_PS = 0xfe,
434 P2P_MODE_DISABLE = 0,
441 MWIFIEX_CHANNEL_PASSIVE = BIT(0),
448 #define HostCmd_RET_BIT 0x8000
449 #define HostCmd_ACT_GEN_GET 0x0000
450 #define HostCmd_ACT_GEN_SET 0x0001
451 #define HostCmd_ACT_GEN_REMOVE 0x0004
452 #define HostCmd_ACT_BITWISE_SET 0x0002
453 #define HostCmd_ACT_BITWISE_CLR 0x0003
454 #define HostCmd_RESULT_OK 0x0000
455 #define HostCmd_ACT_MAC_RX_ON BIT(0)
464 #define HostCmd_BSS_MODE_IBSS 0x0002
465 #define HostCmd_BSS_MODE_ANY 0x0003
467 #define HostCmd_SCAN_RADIO_TYPE_BG 0
470 #define HS_CFG_CANCEL 0xffffffff
471 #define HS_CFG_COND_DEF 0x00000000
472 #define HS_CFG_GPIO_DEF 0xff
473 #define HS_CFG_GAP_DEF 0xff
474 #define HS_CFG_COND_BROADCAST_DATA 0x00000001
475 #define HS_CFG_COND_UNICAST_DATA 0x00000002
476 #define HS_CFG_COND_MAC_EVENT 0x00000004
477 #define HS_CFG_COND_MULTICAST_DATA 0x00000008
479 #define CONNECT_ERR_AUTH_ERR_STA_FAILURE 0xFFFB
480 #define CONNECT_ERR_ASSOC_ERR_TIMEOUT 0xFFFC
481 #define CONNECT_ERR_ASSOC_ERR_AUTH_REFUSED 0xFFFD
482 #define CONNECT_ERR_AUTH_MSG_UNHANDLED 0xFFFE
483 #define CONNECT_ERR_STA_FAILURE 0xFFFF
486 #define CMD_F_HOSTCMD (1 << 0)
488 #define HostCmd_CMD_ID_MASK 0x0fff
490 #define HostCmd_SEQ_NUM_MASK 0x00ff
492 #define HostCmd_BSS_NUM_MASK 0x0f00
494 #define HostCmd_BSS_TYPE_MASK 0xf000
496 #define HostCmd_ACT_SET_RX 0x0001
497 #define HostCmd_ACT_SET_TX 0x0002
498 #define HostCmd_ACT_SET_BOTH 0x0003
499 #define HostCmd_ACT_GET_RX 0x0004
500 #define HostCmd_ACT_GET_TX 0x0008
501 #define HostCmd_ACT_GET_BOTH 0x000c
503 #define RF_ANTENNA_AUTO 0xFFFF
506 ((((seq) & 0x00ff) | \
507 (((num) & 0x000f) << 8)) | \
508 (((type) & 0x000f) << 12))
519 #define EVENT_DUMMY_HOST_WAKEUP_SIGNAL 0x00000001
520 #define EVENT_LINK_LOST 0x00000003
521 #define EVENT_LINK_SENSED 0x00000004
522 #define EVENT_MIB_CHANGED 0x00000006
523 #define EVENT_INIT_DONE 0x00000007
524 #define EVENT_DEAUTHENTICATED 0x00000008
525 #define EVENT_DISASSOCIATED 0x00000009
526 #define EVENT_PS_AWAKE 0x0000000a
527 #define EVENT_PS_SLEEP 0x0000000b
528 #define EVENT_MIC_ERR_MULTICAST 0x0000000d
529 #define EVENT_MIC_ERR_UNICAST 0x0000000e
530 #define EVENT_DEEP_SLEEP_AWAKE 0x00000010
531 #define EVENT_ADHOC_BCN_LOST 0x00000011
533 #define EVENT_WMM_STATUS_CHANGE 0x00000017
534 #define EVENT_BG_SCAN_REPORT 0x00000018
535 #define EVENT_RSSI_LOW 0x00000019
536 #define EVENT_SNR_LOW 0x0000001a
537 #define EVENT_MAX_FAIL 0x0000001b
538 #define EVENT_RSSI_HIGH 0x0000001c
539 #define EVENT_SNR_HIGH 0x0000001d
540 #define EVENT_IBSS_COALESCED 0x0000001e
541 #define EVENT_IBSS_STA_CONNECT 0x00000020
542 #define EVENT_IBSS_STA_DISCONNECT 0x00000021
543 #define EVENT_DATA_RSSI_LOW 0x00000024
544 #define EVENT_DATA_SNR_LOW 0x00000025
545 #define EVENT_DATA_RSSI_HIGH 0x00000026
546 #define EVENT_DATA_SNR_HIGH 0x00000027
547 #define EVENT_LINK_QUALITY 0x00000028
548 #define EVENT_PORT_RELEASE 0x0000002b
549 #define EVENT_UAP_STA_DEAUTH 0x0000002c
550 #define EVENT_UAP_STA_ASSOC 0x0000002d
551 #define EVENT_UAP_BSS_START 0x0000002e
552 #define EVENT_PRE_BEACON_LOST 0x00000031
553 #define EVENT_ADDBA 0x00000033
554 #define EVENT_DELBA 0x00000034
555 #define EVENT_BA_STREAM_TIEMOUT 0x00000037
556 #define EVENT_AMSDU_AGGR_CTRL 0x00000042
557 #define EVENT_UAP_BSS_IDLE 0x00000043
558 #define EVENT_UAP_BSS_ACTIVE 0x00000044
559 #define EVENT_WEP_ICV_ERR 0x00000046
560 #define EVENT_HS_ACT_REQ 0x00000047
561 #define EVENT_BW_CHANGE 0x00000048
562 #define EVENT_UAP_MIC_COUNTERMEASURES 0x0000004c
563 #define EVENT_HOSTWAKE_STAIE 0x0000004d
564 #define EVENT_CHANNEL_SWITCH_ANN 0x00000050
565 #define EVENT_TDLS_GENERIC_EVENT 0x00000052
566 #define EVENT_RADAR_DETECTED 0x00000053
567 #define EVENT_CHANNEL_REPORT_RDY 0x00000054
568 #define EVENT_TX_DATA_PAUSE 0x00000055
569 #define EVENT_EXT_SCAN_REPORT 0x00000058
570 #define EVENT_RXBA_SYNC 0x00000059
571 #define EVENT_UNKNOWN_DEBUG 0x00000063
572 #define EVENT_BG_SCAN_STOPPED 0x00000065
573 #define EVENT_REMAIN_ON_CHAN_EXPIRED 0x0000005f
574 #define EVENT_MULTI_CHAN_INFO 0x0000006a
575 #define EVENT_FW_DUMP_INFO 0x00000073
576 #define EVENT_TX_STATUS_REPORT 0x00000074
577 #define EVENT_BT_COEX_WLAN_PARA_CHANGE 0X00000076
579 #define EVENT_ID_MASK 0xffff
580 #define BSS_NUM_MASK 0xf
586 (((event_cause) >> 24) & 0x00ff)
595 #define MAX_OPERAND 0x40
603 #define MEF_ACTION_AUTO_ARP 0x10
604 #define MWIFIEX_CRITERIA_BROADCAST BIT(0)
609 #define ACT_TDLS_DELETE 0x00
610 #define ACT_TDLS_CREATE 0x01
611 #define ACT_TDLS_CONFIG 0x02
618 #define TDLS_BASE_CHANNEL 0
621 #define ACT_TDLS_CS_ENABLE_CONFIG 0x00
622 #define ACT_TDLS_CS_INIT 0x06
623 #define ACT_TDLS_CS_STOP 0x07
624 #define ACT_TDLS_CS_PARAMS 0x08
628 #define MWIFIEX_DEF_THR_DIRECTLINK 0
648 #define MWIFIEX_TxPD_POWER_MGMT_NULL_PACKET 0x01
649 #define MWIFIEX_TxPD_POWER_MGMT_LAST_PACKET 0x08
650 #define MWIFIEX_TXPD_FLAGS_TDLS_PACKET 0x10
651 #define MWIFIEX_RXPD_FLAGS_TDLS_PACKET 0x01
652 #define MWIFIEX_TXPD_FLAGS_REQ_TX_STATUS 0x20
655 NO_HSWAKEUP_REASON = 0,
698 * Ht Info [Bit 0] RxRate format: LG=0, HT=1
699 * [Bit 1] HT Bandwidth: BW20 = 0, BW40 = 1
700 * [Bit 2] HT Guard Interval: LGI = 0, SGI = 1
703 * [Bit 1] [Bit 0] RxRate format: legacy rate = 00 HT = 01 VHT = 10
706 * [Bit 4] HT/VHT Guard interval LGI = 0 SGI = 1
758 MWIFIEX_PASSIVE_SCAN = BIT(0),
1002 RESP_NOT_NEEDED = 0,
1025 #define BITMAP_AUTO_DS 0x01
1026 #define BITMAP_STA_PS 0x10
1264 MWIFIEX_RATE_FORMAT_LG = 0,
1267 MWIFIEX_RATE_FORMAT_AUTO = 0xFF,
1274 * [Bit 0-1] tx rate formate: LG = 0, HT = 1, VHT = 2
1275 * [Bit 2-3] HT/VHT Bandwidth: BW20 = 0, BW40 = 1, BW80 = 2, BW160 = 3
1276 * [Bit 4] HT/VHT Guard Interval: LGI = 0, SGI = 1
1279 * Ht Info [Bit 0] RxRate format: LG=0, HT=1
1280 * [Bit 1] HT Bandwidth: BW20 = 0, BW40 = 1
1281 * [Bit 2] HT Guard Interval: LGI = 0, SGI = 1
1294 HS_CONFIGURE = 0x0001,
1295 HS_ACTIVATE = 0x0002,
1329 MWIFIEX_ASSOC_CMD_SUCCESS = 0,
1542 #define MWIFIEX_BGSCAN_ACT_GET 0x0000
1543 #define MWIFIEX_BGSCAN_ACT_SET 0x0001
1544 #define MWIFIEX_BGSCAN_ACT_SET_ALL 0xff01
1546 #define MWIFIEX_BGSCAN_SSID_MATCH 0x0001
1548 #define MWIFIEX_BGSCAN_SSID_RSSI_MATCH 0x0004
1550 #define MWIFIEX_BGSCAN_WAIT_ALL_CHAN_DONE 0x80000000
1769 * element_id [221/0xdd]
1789 * element_id [221/0xdd]
1793 * OuiSubType [0]
2112 #define CONNECTION_TYPE_INFRA 0
2157 u8 det_type; /*0=none, 1=pw(chirp), 2=pri(radar)*/