diff options
author | 2023-03-05 14:16:31 +0200 | |
---|---|---|
committer | 2023-03-07 20:15:18 +0100 | |
commit | 774302d2d3ad916f415d651362550daf22f630b7 (patch) | |
tree | a262ea23fb33d2ce5d560f5bf641ff1fbd06ebcd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | wifi: iwlwifi: rs-fw: break out for unsupported bandwidth (diff) | |
download | wireguard-linux-774302d2d3ad916f415d651362550daf22f630b7.tar.xz wireguard-linux-774302d2d3ad916f415d651362550daf22f630b7.zip |
wifi: iwlwifi: mvm: clean up duplicated defines
VHT, HE and EHT rates use the same bits for NSS, so no need for
defines per PHY version.
Also use spatch to replace bit manipulation with FIELD_GET:
@@
identifier rate;
@@
-((rate & RATE_MCS_NSS_MSK) >> RATE_MCS_NSS_POS)
+FIELD_GET(RATE_MCS_NSS_MSK, rate)
Signed-off-by: Mordechay Goodstein <mordechay.goodstein@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230305124407.167ed9477aa8.Ibd8e71d31896e8d8f067ce4e3a6e9a0e86c78f3f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions