qcacmn: Add new feature to support protocol tags
With this feature, using appropriate commands, link layer, network layer, transport layer and some of the application protocols can be tagged with the user provided tag values for easier identification of protocols. The supported protocols today are as follows. ARP, DHCPv4, DHCPv6, DNS over TCP (v4), DNS over TCP (v6), DNS over UDP (v4), DNS over UDP (v6), ICMPv4, ICMPv6, TCPv4, TCPv6, UDPv4, UDPv6, IPv4, IPv6, EAP. Receive packets are tagged by hardware. Tags are applied after the first matching rule. Hence it is recommended that the rules are programmed in such a way that tags are configured from application layer to data link layer to get expected results. Change-Id: Ibdc2bd2b78234f482074955e89fb93f05988eaca
This commit is contained in:

committed by
nshrivas

parent
c71219ea55
commit
142f9baf47
@@ -1233,8 +1233,12 @@ hal_rx_status_get_tlv_info_generic(void *rx_tlv_hdr, void *ppduinfo,
|
||||
|
||||
filter_category = HAL_RX_GET(rx_mpdu_start, RX_MPDU_INFO_0,
|
||||
RXPCU_MPDU_FILTER_IN_CATEGORY);
|
||||
if (filter_category == 1)
|
||||
|
||||
if (filter_category == 0)
|
||||
ppdu_info->rx_status.rxpcu_filter_pass = 1;
|
||||
else if (filter_category == 1)
|
||||
ppdu_info->rx_status.monitor_direct_used = 1;
|
||||
|
||||
break;
|
||||
}
|
||||
case WIFIRX_MPDU_END_E:
|
||||
|
Reference in New Issue
Block a user