SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
A basic Rx filter contains three major attributes:
The outcome of filter matching could be: No Match, Pass, or Drop. Figure 12-2 shows the Rx filter matching flow.
Table 12-1 lists the possible triggers of a filter.
Trigger Type | Possible Values |
---|---|
Wi-Fi Mode | Station (Station Connected / Wi-Fi Direct client) AP (Access Point / Wi-Fi Direct GO) Promiscuous |
Wi-Fi Connection State | Connected Disconnected |
Counter Value | Numeric value |
Table 12-2 lists the possible rules of a filter.
Rule Layer | Field Name |
---|---|
MAC | Frame type Frame subtype BSSID Source MAC address Destination MAC address Frame length Payload value |
LLC | Protocol type |
IP | IP version IP protocol Source IP address Destination IP address ARP operation ARP target IP address Source port number Destination port number Payload value |
Table 12-3 lists all possible actions of a filter.
Action | Possible Values |
---|---|
Drop | Drop the frame and abort any processing of this frame. |
Event | Send an asynchronous event to the host. |
Counter | Increase or decrease counter value. |
To perform a logical operation on filters such as logical OR or logical AND, create a special filter. This combined filter node has two parent nodes (unlike a regular node, which has one parent node), and is checked only if one or both (user-defined) of its parent nodes passed the match.