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
这个提交包含在:
@@ -352,9 +352,8 @@ dp_rx_mon_mpdu_pop(struct dp_soc *soc, uint32_t mac_id,
|
||||
|
||||
QDF_TRACE(QDF_MODULE_ID_DP,
|
||||
QDF_TRACE_LEVEL_DEBUG,
|
||||
"[%s] i=%d, ppdu_id=%x, num_msdus = %u\n",
|
||||
__func__, i, *ppdu_id,
|
||||
num_msdus);
|
||||
"[%s] i=%d, ppdu_id=%x, num_msdus = %u",
|
||||
__func__, i, *ppdu_id, num_msdus);
|
||||
|
||||
if (is_first_msdu) {
|
||||
if (!HAL_RX_HW_DESC_MPDU_VALID(
|
||||
@@ -742,6 +741,9 @@ qdf_nbuf_t dp_rx_mon_restitch_mpdu_from_msdus(struct dp_soc *soc,
|
||||
is_first_frag = 0;
|
||||
}
|
||||
|
||||
/* Update protocol tag for MSDU */
|
||||
dp_rx_mon_update_protocol_tag(soc, dp_pdev, msdu_orig, rx_desc);
|
||||
|
||||
dest = qdf_nbuf_put_tail(prev_buf,
|
||||
msdu_llc_len + amsdu_pad);
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户