Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #1871: QOS_adhoc_patch-umass.diff

File QOS_adhoc_patch-umass.diff, 1.2 kB (added by Ronald van Wee <ronaldvanwee@gmail.com>, 12 years ago)

Patch for WME queue in ad-hoc

  • madwifi-0.9.4/net80211/ieee80211_node.c

    old new  
    598598         * mode is locked. 
    599599         */  
    600600        ieee80211_reset_erp(ic, ic->ic_curmode); 
    601         ieee80211_wme_initparams(vap); 
     601        //ieee80211_wme_initparams(vap);//added by ming 
    602602 
    603603        if (vap->iv_opmode == IEEE80211_M_STA) { 
    604604                /* 
     
    11891189                /* XXX not right for 802.1x/WPA */ 
    11901190                ieee80211_node_authorize(ni); 
    11911191 
     1192                ni->ni_flags |= IEEE80211_NODE_QOS;//added by ming 
     1193 
    11921194                IEEE80211_DPRINTF(vap, IEEE80211_MSG_NODE,  
    11931195                "%s: %p<%s> refcnt %d\n", __func__, ni, ether_sprintf(macaddr),  
    11941196                ieee80211_node_refcnt(ni)); 
  • madwifi-0.9.4/net80211/ieee80211_output.c

    old new  
    8989        /* default priority */ 
    9090        skb->priority = WME_AC_BE; 
    9191 
     92    /* added by ming 
    9293        if (!(ni->ni_flags & IEEE80211_NODE_QOS))  
    9394                return 0; 
     95    */ 
    9496 
    9597        /*  
    9698         * If node has a vlan tag then all traffic