No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Surabhi Vishnoi 4f5c3f5645 qcacld-3.0: Fix ethertype inspection logic of offload tx data pkt
Offload TX data packets such as ARP response, EAPOL during roaming are
sent by firmware through HTT msg if packet capture mode is enabled.
Whenever any such packet is received via HTT msg, host inspects the
ether type of the packet and matches with the TX filter set by user
via vendor command. If the ether type matches with the TX filter set
by user, then host forwards that packet to packet capture mode interface
otherwise, drops it.

To inspect the ether type of any packet, host uses generic API which
expects packet to be in SKB format. Currently, whenever any offload
TX data packet is received in HTT msg, host wrongly passes the buffer
received in HTT msg instead of SKB to APIs expecting SKB buffer.
This leads to undefined behavior.

So, to fix above issue, whenever any offload TX data packet received,
first allocate the SKB, copy the payload buf of HTT msg which is TX
packet to SKB data and then pass that SKB to the generic APIs to get
the ether type.
Additionally, this change fixes the minor logging error.

Change-Id: If09d49d8a1dcc04ca81454fc262bb5789a0f56be
CRs-Fixed: 3613594
2023-10-16 01:07:40 -07:00
components qcacld-3.0: Fix ethertype inspection logic of offload tx data pkt 2023-10-16 01:07:40 -07:00
configs qcacld-3.0: Add WLAN_FEATURE_P2P_P2P_STA flag for p2p + p2p support 2023-02-09 07:10:04 -08:00
core Release 2.0.8.34A 2023-10-12 13:02:41 -07:00
os_if qcacld-3.0: Fix ethertype inspection logic of offload tx data pkt 2023-10-16 01:07:40 -07:00
uapi/linux
Android.mk qcacld-3.0: compilation fix for ks sync path change 2021-10-19 05:32:10 -07:00
Kbuild qcacld-3.0: Add vendor attribute to configure ARP/NS offload 2023-09-27 21:22:53 -07:00
Kconfig
Makefile qcacld-3.0: Use WLAN_WEAR_CHIPSET to modify INI path 2022-05-05 03:04:28 -07:00
README.txt

This is CNSS WLAN Host Driver for products starting from iHelium