aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/fw.c
diff options
context:
space:
mode:
authorIlan Peer <ilan.peer@intel.com>2025-05-03 22:44:32 +0300
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>2025-05-07 06:08:00 +0300
commit8f7561209eda7d6998708f06376e8dd2dc52f3b8 (patch)
tree8fa16b4e33c3942a8bdf3bad9f36af940dfa4972 /drivers/net/wireless/intel/iwlwifi/mvm/fw.c
parentwifi: iwlwifi: remove bc_table_dword transport config (diff)
downloadlinux-8f7561209eda7d6998708f06376e8dd2dc52f3b8.tar.gz
linux-8f7561209eda7d6998708f06376e8dd2dc52f3b8.zip
wifi: iwlfiwi: mvm: Fix the rate reporting
The rate validation in mac80211 considers a rate to be valid iff both the rate index and the count are positive. When the rate scaling is managed in the driver and not enough traffic passed to set the actual rate, the driver set the rate to be the optimal rate. However, the rate count is not set and thus the rate is considered not valid. Fix it by setting the count to 1. Fixes: 3e99b4d28219 ("wifi: mac80211: Sanity check tx bitrate if not provided by driver") Signed-off-by: Ilan Peer <ilan.peer@intel.com> Reviewed-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250503224232.0d1d1e022d63.I76833c14ba1d66f9bea5c32b25a54d8b36f229ba@changeid
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/fw.c')
0 files changed, 0 insertions, 0 deletions