Author: arvenil Date: Sun Feb 22 10:17:41 2009 GMT Module: SOURCES Tag: HEAD ---- Log message: - up to r3925
---- Files affected: SOURCES: madwifi-ng-r3925.patch (NONE -> 1.1) (NEW), madwifi-ng-r3745.patch (1.1 -> NONE) (REMOVED) ---- Diffs: ================================================================ Index: SOURCES/madwifi-ng-r3925.patch diff -u /dev/null SOURCES/madwifi-ng-r3925.patch:1.1 --- /dev/null Sun Feb 22 11:17:42 2009 +++ SOURCES/madwifi-ng-r3925.patch Sun Feb 22 11:17:36 2009 @@ -0,0 +1,32 @@ +http://patches.aircrack-ng.org/madwifi-ng-r3925.patch +=================================================================== +--- madwifi-trunk-r3941-20090205/ath/if_ath.c (revision 3925) ++++ madwifi-trunk-r3941-20090205/ath/if_ath.c (working copy) +@@ -3002,6 +3002,7 @@ + ath_tx_startraw(struct net_device *dev, struct ath_buf *bf, struct sk_buff *skb) + { + struct ath_softc *sc = netdev_priv(dev); ++ struct ieee80211com *ic = &sc->sc_ic; + struct ath_hal *ah = sc->sc_ah; + struct ieee80211_phy_params *ph = &(SKB_CB(skb)->phy); + const HAL_RATE_TABLE *rt; +@@ -3014,7 +3015,8 @@ + struct ieee80211_frame *wh; + + wh = (struct ieee80211_frame *)skb->data; +- try0 = ph->try[0]; ++// try0 = ph->try[0]; ++ try0 = (ic->ic_opmode == IEEE80211_M_MONITOR) ? 1 : ph->try[0]; + rt = sc->sc_currates; + txrate = dot11_to_ratecode(sc, rt, ph->rate[0]); + power = ph->power > 60 ? 60 : ph->power; +@@ -3038,7 +3040,8 @@ + rt = sc->sc_currates; + KASSERT(rt != NULL, ("no rate table, mode %u", sc->sc_curmode)); + +- if (IEEE80211_IS_MULTICAST(wh->i_addr1)) { ++ if (IEEE80211_IS_MULTICAST(wh->i_addr1) || ((ic->ic_opmode == ++IEEE80211_M_MONITOR) && (skb->data[1]&3) != 0x01) ) { + flags |= HAL_TXDESC_NOACK; /* no ack on broad/multicast */ + sc->sc_stats.ast_tx_noack++; + try0 = 1; ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
