qcacmn: Reorganize the tx & rx member of skb->cb structure

The current tx & rx member of skb->cb structure has lot of common members
duplicated across win & mcl sub structures.
The common members are now moved out
and new members are added as per the requirement.
Also the members are organized to avoid additional padding
and fit within the 48 byte boundary for both 32bit & 64 bit platforms.

Change-Id: I27abc95d51127513cf2e7e9657a4ee84324b2cc9
CRs-Fixed: 2120295
这个提交包含在:
Vivek
2017-11-30 17:24:18 +05:30
提交者 snandini
父节点 6fee59c4d5
当前提交 de90e59667
修改 10 个文件,包含 757 行新增495 行删除

查看文件

@@ -279,7 +279,7 @@ dp_rx_chain_msdus(struct dp_soc *soc, qdf_nbuf_t nbuf,
struct dp_pdev *dp_pdev = soc->pdev_list[mac_id];
if (hal_rx_msdu_end_first_msdu_get(rx_desc->rx_buf_start)) {
qdf_nbuf_set_chfrag_start(rx_desc->nbuf, 1);
qdf_nbuf_set_rx_chfrag_start(rx_desc->nbuf, 1);
dp_pdev->invalid_peer_head_msdu = NULL;
dp_pdev->invalid_peer_tail_msdu = NULL;
@@ -289,7 +289,7 @@ dp_rx_chain_msdus(struct dp_soc *soc, qdf_nbuf_t nbuf,
}
if (hal_rx_msdu_end_last_msdu_get(rx_desc->rx_buf_start)) {
qdf_nbuf_set_chfrag_end(rx_desc->nbuf, 1);
qdf_nbuf_set_rx_chfrag_end(rx_desc->nbuf, 1);
mpdu_done = true;
}
@@ -644,8 +644,8 @@ dp_rx_err_deliver(struct dp_soc *soc, struct dp_rx_desc *rx_desc,
*/
qdf_nbuf_pull_head(nbuf, (l2_hdr_offset + RX_PKT_TLVS_LEN));
qdf_nbuf_set_chfrag_start(nbuf, 1);
qdf_nbuf_set_chfrag_end(nbuf, 1);
qdf_nbuf_set_rx_chfrag_start(nbuf, 1);
qdf_nbuf_set_rx_chfrag_end(nbuf, 1);
if (dp_rx_filter_mesh_packets(vdev, nbuf,
rx_desc->rx_buf_start)
== QDF_STATUS_SUCCESS) {