Currently, the mac80211 layer handles construction and parsing of 802.11 headers during packet transmission and reception. Offloading encapsulation and decapsulation to hardware can significantly enhance performance. This can be achieved by having the driver advertise hardware support to mac80211 to bypass 802.11 header processing v1 -> v2: - Rebased on ToT - Firmware service bit check added for EAPOL ETH offload support - skb free handled in tx completion station negetive case Nithyanantham Paramasivam (3): wifi: ath12k: Fix the handling of TX packets in Ethernet mode wifi: ath12k: Fix TX status reporting to mac80211 when offload is enabled wifi: ath12k: Advertise encapsulation/decapsulation offload support to mac80211 drivers/net/wireless/ath/ath12k/dp_tx.c | 102 +++++++++++++++++++++--- drivers/net/wireless/ath/ath12k/mac.c | 6 ++ drivers/net/wireless/ath/ath12k/wmi.h | 1 + 3 files changed, 98 insertions(+), 11 deletions(-) base-commit: 45bbd91fc41b7cb6319e45e6fd732c5c8a0c44e3 prerequisite-patch-id: 1d3bf121aa8bf03dd29436bd0df63de74f753027 prerequisite-patch-id: 0847395767a6f49458db6b857a9be81d12dc534c -- 2.17.1