"README.md" did not exist on "3c2b9075cbdb541dbe486bde45925c9610de6f35"
cfg80211/mac80211: Use more generic bitrate mask for rate control
Extend struct cfg80211_bitrate_mask to actually use a bitfield mask instead of just a single fixed or maximum rate index. This change itself does not modify the behavior (except for debugfs files), but it prepares cfg80211 and mac80211 for a new nl80211 command for setting which rates can be used in TX rate control. Since frames are now going through the rate control algorithm unconditionally, the internal IEEE80211_TX_INTFL_RCALGO flag can now be removed. The RC implementations can use the rate_idx_mask value to optimize their behavior if only a single rate is enabled. The old max_rate_idx in struct ieee80211_tx_rate_control is maintained (but commented as deprecated) for backwards compatibility with existing RC implementations. Once these implementations have been updated to use the more generic rate_idx_mask, the max_rate_idx value can be removed. Signed-off-by:Jouni Malinen <jouni.malinen@atheros.com> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
Showing
- include/net/cfg80211.h 2 additions, 11 deletionsinclude/net/cfg80211.h
- include/net/mac80211.h 4 additions, 4 deletionsinclude/net/mac80211.h
- net/mac80211/cfg.c 3 additions, 29 deletionsnet/mac80211/cfg.c
- net/mac80211/debugfs_netdev.c 12 additions, 10 deletionsnet/mac80211/debugfs_netdev.c
- net/mac80211/ieee80211_i.h 2 additions, 2 deletionsnet/mac80211/ieee80211_i.h
- net/mac80211/iface.c 6 additions, 2 deletionsnet/mac80211/iface.c
- net/mac80211/rate.c 52 additions, 11 deletionsnet/mac80211/rate.c
- net/mac80211/rate.h 1 addition, 4 deletionsnet/mac80211/rate.h
- net/mac80211/tx.c 10 additions, 2 deletionsnet/mac80211/tx.c
- net/wireless/wext-compat.c 30 additions, 4 deletionsnet/wireless/wext-compat.c
Loading
Please register or sign in to comment