SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
A list of the header rule fields follows. Each field is described with its possible values, and in which system state it is available (for system states, see Section 12.4.5).
Table 12-5 describes the rule types and their possible values.
Field | Argument | Size | Values |
---|---|---|---|
SL_WLAN_RX_FILTER_HFIELD_FRAME_TYPE | Rule.Args.Value.Frametype | 1 | 0 for mgmt 1 for ctrl 2 for data 3 for reserved |
Rule.Args.Value.FrametypeAscii | 4 | “MGMT” “CTRL” “DATA” | |
SL_WLAN_RX_FILTER_HFIELD_FRAME_SUBTYPE | Rule.Args.Value.FrameSubtype | 1 | 0x00 ASSOCIATION REQ 0x10 ASSOCIATION RESPONSE 0x20 REASSOCIATION REQ 0x30 REASSOCIATION RESPONSE 0x40 PROBE REQ 0x50 PROBE RESPONSE 0x80 BEACON 0x90 ATIM 0xA0 DISASSOCIATION 0xB0 AUTHENTICATION 0xC0 DEAUTHENTICATION 0xD0 ACTION CTRL FRAMES 0x74 CONTROL WRAPPER 0x84 BLOCK ACK REQ 0x94 BLOCK ACK 0xA4 PS POLL 0xB4 RTS 0xC4 CTS 0xD4 ACK 0xE4 CF END 0xF4 CF END ACK DATA FRAMES 0x08 DATA 0x18 DATA CF ACK 0x28 DATA CF POLL 0x38 DATA CF ACK POLL 0x48 NO DATA FRAME 0x58 CF ACK 0x68 CF POLL 0x78 CF ACK POLL 0x88 QOS DATA 0x98 QOS DATA CF ACK 0xA8 QOS DATA CF POLL 0xB8 QOS DATA CF ACK POLL 0xC8 QOS NO DATA FRAME 0xD8 QOS CF ACK 0xE8 QOS CF POLL 0xF8 QOS CF ACK POLL |
SL_WLAN_RX_FILTER_HFIELD_BSSID | Rule.Args.Value.Bssid | 6 | |
SL_WLAN_RX_FILTER_HFIELD_MAC_SRC_ ADDR | Rule.Args.Value.Mac | 6 | |
SL_WLAN_RX_FILTER_HFIELD_MAC_DST_ADDR | Rule.Args.Value.Mac | 6 | |
SL_WLAN_RX_FILTER_HFIELD_FRAME_LENGTH | Rule.Args.Value.FrameLength | 4 | |
SL_WLAN_RX_FILTER_HFIELD_ETHER_TYPE | Rule.Args.Value.EtherType | 4 | |
SL_WLAN_RX_FILTER_HFIELD_IP_VERSION | Rule.Args.Value.IpVersion | 1 | |
Rule.Args.Value.IpVersionAscii | 4 | “IPV4” “IPV6” | |
SL_WLAN_RX_FILTER_HFIELD_IP_PROTOCOL | Rule.Args.Value.IpProtocol | 1 | 1 – ICMP (IPV4 Only) 2 – IGMP (IPV4 only) 6 – TCP 17 – UDP 58 – ICMPV6 |
Rule.Args.Value.IpProtocolAscii | 5 | “ICMP” “ICMP6” “IGMP” “TCP” “UDP | |
SL_WLAN_RX_FILTER_HFIELD_IPV4_SRC_ADDR | Rule.Args.Value.Ipv4 | 4 | |
SL_WLAN_RX_FILTER_HFIELD_IPV4_DST_ADDR | Rule.Args.Value.Ipv4 | 4 | |
SL_WLAN_RX_FILTER_HFIELD_IPV6_SRC_ADRR | Rule.Args.Value.Ipv6 | 16 | |
SL_WLAN_RX_FILTER_HFIELD_IPV6_DST_ADDR | Rule.Args.Value.Ipv6 | 16 | |
SL_WLAN_RX_FILTER_HFIELD_PORT_SRC | Rule.Args.Value.Port | 4 | 1–65535 |
SL_WLAN_RX_FILTER_HFIELD_PORT_DST | Rule.Args.Value.Port | 4 | 1–65535 |
SL_WLAN_RX_FILTER_HFIELD_L1_PAYLOAD_PATTERN | Rule.Args.Value.Pattern.Offset | 2 | |
Rule.Args.Value.Pattern.Length | 1 | ||
Rule.Args.Value.Pattern.Value | 16 | ||
SL_WLAN_RX_FILTER_HFIELD_L4_PAYLOAD_PATTERN | Rule.Args.Value.Pattern.Offset | 2 | |
Rule.Args.Value.Pattern.Length | 1 | ||
Rule.Args.Value.Pattern.Value | 16 |