Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 210195 Details for
Bug 293140
Addition of compat-wireless stable branch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch for injection use flag to fix fragmentation
mac80211.compat08082009.wl_frag+ack_v1.patch (text/plain), 1.02 KB, created by
Rick Farina (Zero_Chaos)
on 2009-11-14 04:01:09 UTC
(
hide
)
Description:
patch for injection use flag to fix fragmentation
Filename:
MIME Type:
Creator:
Rick Farina (Zero_Chaos)
Created:
2009-11-14 04:01:09 UTC
Size:
1.02 KB
patch
obsolete
>diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c >index 0855cac..221bed6 100644 >--- a/net/mac80211/tx.c >+++ b/net/mac80211/tx.c >@@ -677,11 +677,19 @@ int tid; > > /* > * Packet injection may want to control the sequence >- * number, if we have no matching interface then we >- * neither assign one ourselves nor ask the driver to. >+ * number, so if an injected packet is found, skip >+ * renumbering it. Also make the packet NO_ACK to avoid >+ * excessive retries (ACKing and retrying should be >+ * handled by the injecting application). >+ * FIXME This may break hostapd and some other injectors. >+ * This should be done using a radiotap flag. > */ >- if (unlikely(info->control.vif->type == NL80211_IFTYPE_MONITOR)) >+ if (unlikely((info->flags & IEEE80211_TX_CTL_INJECTED) && >+ !(tx->sdata->u.mntr_flags & MONITOR_FLAG_COOK_FRAMES))) { >+ if (!ieee80211_has_morefrags(hdr->frame_control)) >+ info->flags |= IEEE80211_TX_CTL_NO_ACK; > return TX_CONTINUE; >+ } > > if (unlikely(ieee80211_is_ctl(hdr->frame_control))) > return TX_CONTINUE;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 293140
:
210188
|
210190
|
210192
|
210194
| 210195 |
210196
|
210197
|
210273