]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: iwlwifi: mvm: rxmq: refactor mac80211 rx_status setting
authorJohannes Berg <johannes.berg@intel.com>
Tue, 6 Sep 2022 13:42:07 +0000 (16:42 +0300)
committerGregory Greenman <gregory.greenman@intel.com>
Sun, 18 Sep 2022 11:40:13 +0000 (14:40 +0300)
commitecb356ac72be44b798f2ff08fd8f2983eb912fa6
treef558011112ebd68cb5a0cd6de482553b52c8f684
parentc34d49cbf4a4c7a4d8b5e7b8b011f94364bbcfd6
wifi: iwlwifi: mvm: rxmq: refactor mac80211 rx_status setting

There's a bunch of duplicated code in the normal data RX and
the no-data RX paths, refactor that.

Note that we're evidently not implementing the 6 GHz band in
the no-data path correctly, need to fix that in firmware
first. Also, we were setting the NSS differently, keep doing
that, but just override the previous values.

Note also that we used to drop frames with bad rate data, to
simplify that just report rate 0 and continue.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20220906161827.a81580d5e769.I3ee7a1fe1adf8684c48713dbbdc2cbc60bd24cd1@changeid
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c