mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
LinuxKPI: 802.11: enable fragmentation offload
Let the hardware handle fragmentation itself and tell net80211 to save itself from it. We already call the (*set_frag_threshold) mac80211 function. This should be a NOP for all currently enabled LinuxKPI based WiFi drivers. Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
7acd5af48c
commit
63578bf225
1 changed files with 4 additions and 0 deletions
|
|
@ -5759,6 +5759,10 @@ linuxkpi_ieee80211_ifattach(struct ieee80211_hw *hw)
|
|||
lhw->scan_flags |= LKPI_LHW_SCAN_HW;
|
||||
}
|
||||
|
||||
/* Does HW support Fragmentation offload? */
|
||||
if (ieee80211_hw_check(hw, SUPPORTS_TX_FRAG))
|
||||
ic->ic_flags_ext |= IEEE80211_FEXT_FRAG_OFFLOAD;
|
||||
|
||||
/*
|
||||
* The wiphy variables report bitmasks of avail antennas.
|
||||
* (*get_antenna) get the current bitmask sets which can be
|
||||
|
|
|
|||
Loading…
Reference in a new issue