SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
The rule for combined filters is built from the following parameters:
The following example demonstrates a combined filter (the parent filters are already created):
SlWlanRxFilterRule_u RuleCombination;
RuleType = SL_WLAN_RX_FILTER_COMBINATION;
RuleCombination.Combination.CombinationFilterId[0] = ParentFilter1;
RuleCombination.Combination.CombinationFilterId[1] = ParentFilter2;
RuleCombination.Combination.Operator = SL_WLAN_RX_FILTER_COMBINED_FUNC_OR;
RetVal = sl_WlanRxFilterAdd( RuleType,
FilterFlags,
( const SlWlanRxFilterRule_u* const )&RuleCombination,
( const SlWlanRxFilterTrigger_t* const) &Trigger,
( const SlWlanRxFilterAction_t* const )&Action,
&FilterId);