summaryrefslogtreecommitdiffstats
path: root/net/wireless/nl80211.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2019-03-25 09:50:16 +0100
committerJohannes Berg <johannes.berg@intel.com>2019-04-26 13:02:11 +0200
commitc2b17948fc78c4fde80da34e0dfc44be8f076191 (patch)
tree2d51ef5d7a02b631cb82c07865d8ac996fff02f5 /net/wireless/nl80211.c
parent7f2e12e1bf9917e33f2e0e1aa8bfd10ea7527766 (diff)
downloadlinux-c2b17948fc78c4fde80da34e0dfc44be8f076191.tar.bz2
mac80211: minstrel_ht: automatically calculate rate duration shift
A per-group shift was added to reduce the size of the per-rate transmit duration field to u16 without sacrificing a lot of precision This patch changes the macros to automatically calculate the best value for this shift based on the lowest rate within the group. This simplifies adding more groups and slightly improves accuracy for some of the existing groups. Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/nl80211.c')
0 files changed, 0 insertions, 0 deletions