Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 131721 Details for
Bug 193549
=net-wireless/madwifi-ng-9999 and madwifi-ng-tools-9999
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
madwifi-ng-r1886.patch
madwifi-ng-r1886.patch (text/plain), 965 bytes, created by
Bjoern Olausson
on 2007-09-23 17:47:02 UTC
(
hide
)
Description:
madwifi-ng-r1886.patch
Filename:
MIME Type:
Creator:
Bjoern Olausson
Created:
2007-09-23 17:47:02 UTC
Size:
965 bytes
patch
obsolete
>allow to inject packets with aircrack-ng > >diff -ur ath/if_ath.c ath/if_ath.c >--- ath/if_ath.c 2007-01-07 21:22:55.312500000 +0100 >+++ ath/if_ath.c 2007-01-07 21:17:09.875000000 +0100 >@@ -2289,6 +2289,7 @@ > ath_tx_startraw(struct net_device *dev, struct ath_buf *bf, struct sk_buff *skb) > { > struct ath_softc *sc = dev->priv; >+ struct ieee80211com *ic = &sc->sc_ic; > struct ath_hal *ah = sc->sc_ah; > struct ieee80211_phy_params *ph = (struct ieee80211_phy_params *) (skb->cb + sizeof(struct ieee80211_cb)); > const HAL_RATE_TABLE *rt; >@@ -2305,7 +2306,11 @@ > struct ieee80211_frame *wh; > > wh = (struct ieee80211_frame *) skb->data; >- try0 = ph->try0; >+ try0 = (ic->ic_opmode == IEEE80211_M_MONITOR) ? 1 : ph->try0; >+ /* >+ * The retry value has to be patched to 1 when injecting, >+ * otherwise the sequence number will be overwritten >+ */ > rt = sc->sc_currates; > txrate = dot11_to_ratecode(sc, rt, ph->rate0); > power = ph->power > 60 ? 60 : ph->power;
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 193549
:
131716
|
131718
|
131719
| 131721 |
132822
|
132824
|
143469
|
188410
|
188412
|
188413
|
232919
|
232921
|
239465
|
239467