CHROMIUM: iwl7000: chromeOS: update and use own ieee80211_data_to_8023_exthdr()

My previous commit adjust checksumming broke on ChromeOS
because one side of the checksum changes was in the driver,
and the other side in cfg80211. However, ChromeOS has their
version of cfg80211, not ours, and so the adjustments were
only partially done.

To fix this, again import ieee80211_data_to_8023_exthdr()
from cfg80211 into our backports so that our mac80211 will
use the correct version of it, the one that assumes the
checksum is including the SNAP header and removes it.

BUG=b:216021310
TEST=verify these warnings don't appear in tpt tests

Change-Id: I6055c58f250b4578cb94fdd5d50681346a9c437e
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
iwl7000-tree: a9fc793d7e12cec9d4d9bd88027a34a9495e97dd
Signed-off-by: Golan Ben Ami <golan.ben.ami@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3405050
Reviewed-by: Joshua Emele <jemele@chromium.org>
Commit-Queue: Joshua Emele <jemele@chromium.org>
Tested-by: Joshua Emele <jemele@chromium.org>
(cherry picked from commit b5dd354ef042728b51fa4ae75fa56c23b3f0c70e)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3415229
Commit-Queue: Billy Zhao <billyzhao@chromium.org>
Tested-by: Billy Zhao <billyzhao@chromium.org>
2 files changed