nl80211: Add set/get for frag/rts threshold and retry limits
Add new nl80211 attributes that can be used with NL80211_CMD_SET_WIPHY and NL80211_CMD_GET_WIPHY to manage fragmentation/RTS threshold and retry limits. Since these values are stored in struct wiphy, remove the local copy from mac80211 where feasible (frag & rts threshold). The retry limits are currently needed in struct ieee80211_conf, but these could be eventually removed since the driver should have access to the values in struct wiphy. Signed-off-by:Jouni Malinen <j@w1.fi> Signed-off-by:
Johannes Berg <johannes@sipsolutions.net> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
Showing
- include/linux/nl80211.h 22 additions, 2 deletionsinclude/linux/nl80211.h
- include/net/cfg80211.h 50 additions, 0 deletionsinclude/net/cfg80211.h
- net/mac80211/cfg.c 27 additions, 0 deletionsnet/mac80211/cfg.c
- net/mac80211/debugfs.c 4 additions, 4 deletionsnet/mac80211/debugfs.c
- net/mac80211/ieee80211_i.h 0 additions, 3 deletionsnet/mac80211/ieee80211_i.h
- net/mac80211/main.c 2 additions, 4 deletionsnet/mac80211/main.c
- net/mac80211/tx.c 4 additions, 5 deletionsnet/mac80211/tx.c
- net/mac80211/util.c 1 addition, 1 deletionnet/mac80211/util.c
- net/mac80211/wext.c 6 additions, 132 deletionsnet/mac80211/wext.c
- net/wireless/core.c 10 additions, 0 deletionsnet/wireless/core.c
- net/wireless/nl80211.c 95 additions, 0 deletionsnet/wireless/nl80211.c
- net/wireless/wext-compat.c 151 additions, 0 deletionsnet/wireless/wext-compat.c
Loading
Please register or sign in to comment