Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163514659
D50694.id156564.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
938 B
Referenced Files
None
Subscribers
None
D50694.id156564.diff
View Options
diff --git a/sys/dev/iwx/if_iwx.c b/sys/dev/iwx/if_iwx.c
--- a/sys/dev/iwx/if_iwx.c
+++ b/sys/dev/iwx/if_iwx.c
@@ -5659,6 +5659,11 @@
if (rinfo == NULL)
return EINVAL;
+ /* Sequence number assignment */
+ if ((m->m_flags & M_AMPDU_MPDU) == 0)
+ ieee80211_output_seqno_assign(ni, -1, m);
+
+ /* Radiotap */
if (ieee80211_radiotap_active_vap(vap)) {
struct iwx_tx_radiotap_header *tap = &sc->sc_txtap;
@@ -5671,6 +5676,7 @@
ieee80211_radiotap_tx(vap, m);
}
+ /* Encrypt - CCMP via direct HW path, TKIP/WEP indirected openbsd-style for now */
if (wh->i_fc[1] & IEEE80211_FC1_PROTECTED) {
k = ieee80211_crypto_get_txkey(ni, m);
if (k == NULL) {
@@ -10453,6 +10459,8 @@
IEEE80211_C_BGSCAN /* capable of bg scanning */
;
ic->ic_flags_ext = IEEE80211_FEXT_SCAN_OFFLOAD;
+ /* Enable seqno offload */
+ ic->ic_flags_ext |= IEEE80211_FEXT_SEQNO_OFFLOAD;
ic->ic_txstream = 2;
ic->ic_rxstream = 2;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jul 25, 12:33 AM (2 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35457257
Default Alt Text
D50694.id156564.diff (938 B)
Attached To
Mode
D50694: iwx: enable seqno offload
Attached
Detach File
Event Timeline
Log In to Comment