summaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorKarl Beldan <karl.beldan@rivierawaves.com>2013-04-05 12:06:24 +0200
committerJohannes Berg <johannes.berg@intel.com>2013-04-11 12:08:20 +0200
commit5253ffb8c9e1f2bf25c2e85dc0be8f74f55cf1ce (patch)
treef5393fc2f054e68109748eea134b78424ddeb201 /net/wireless
parent2419ea14bb0dfabe740f1e005c0782db9bc56441 (diff)
downloadlinux-0-day-5253ffb8c9e1f2bf25c2e85dc0be8f74f55cf1ce.tar.gz
linux-0-day-5253ffb8c9e1f2bf25c2e85dc0be8f74f55cf1ce.tar.xz
mac80211: always pick a basic rate to tx RTS/CTS for pre-HT rates
When the 1st rate control entry is a pre-HT rate we want to set rts_cts_rate_idx "as the fastest basic rate that is not faster than the data rate"(code comments). But in case some bss allowed rate indexes are lower than the lowest bss basic rate, if the rate control selects a rate among the formers for its 1st rate control entry, rts_cts_rate_idx remains 0 and is not a basic rate index. This commit sets rts_cts_rate_idx to the lowest bss basic rate index in this situation. Note that the code assumes that lowest indexes == lowest bitrates. Signed-off-by: Karl Beldan <karl.beldan@rivierawaves.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions