]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: use a define for checksum flags mask
authorJohannes Berg <johannes.berg@intel.com>
Sun, 19 Dec 2021 10:18:09 +0000 (12:18 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 21 Dec 2021 10:35:06 +0000 (12:35 +0200)
commit01066ce31a62157e7c3d6a6c5bdb77677c78d638
tree42157ec4233b7580f81d1cb5834b59fb7ff18b66
parentd2445a2abdab457883d118714cc64e670cef46d5
iwlwifi: mvm: use a define for checksum flags mask

For the upcoming Bz devices, we will set NETIF_F_HW_CSUM instead
of NETIF_F_IP_CSUM and NETIF_F_IPV6_CSUM. However, we still need
to be able to remove all the checksum bits, so add a mask for the
removal, and keep the old define for the feature advertisement.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211219121514.f05488ce8b83.I65bb83721498d8433e4ee2b09415eb74ab579445@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-config.h
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c