mac80211: support hardware TX fragmentation offload
The lower driver is notified when the fragmentation threshold changes and upon a reconfig of the interface. If the driver supports hardware TX fragmentation, don't fragment packets in the stack. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
ca4a083191
commit
f23a478075
@@ -1152,6 +1152,9 @@ int ieee80211_reconfig(struct ieee80211_local *local)
|
||||
}
|
||||
mutex_unlock(&local->sta_mtx);
|
||||
|
||||
/* setup fragmentation threshold */
|
||||
drv_set_frag_threshold(local, hw->wiphy->frag_threshold);
|
||||
|
||||
/* setup RTS threshold */
|
||||
drv_set_rts_threshold(local, hw->wiphy->rts_threshold);
|
||||
|
||||
|
Reference in New Issue
Block a user