diff options
author | 2021-01-27 06:57:30 +0100 | |
---|---|---|
committer | 2021-02-12 08:56:28 +0100 | |
commit | a42fa256f66c425021038f40d9255d377a2d1a8d (patch) | |
tree | da11b5497aaab95c653202b0fb066a1644351cdf /net/switchdev/switchdev.c | |
parent | cfg80211: initialize reg_rule in __freq_reg_info() (diff) | |
download | linux-dev-a42fa256f66c425021038f40d9255d377a2d1a8d.tar.xz linux-dev-a42fa256f66c425021038f40d9255d377a2d1a8d.zip |
mac80211: minstrel_ht: use bitfields to encode rate indexes
Get rid of a lot of divisions and modulo operations
Reduces code size and improves performance
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20210127055735.78599-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions