> Message:  19
> Date: Tue, 18 Jan 2011 13:26:58 +0300
> From: Alexander Zagrebin <a...@zagrebin.ru>
> Subject: if_run and  wlan_amrr: kernel panics on 8.2-PRERELEASE amd64
> To: freebsd-net@freebsd.org
> Message-ID:  <20110118102658.ga3...@gw.zagrebin.ru>
> Content-Type:  text/plain; charset=us-ascii
 
> mostly works (there is an issue with the devices with the 'power save  mode'
> enabled),
> 


Yes, there is.
Due to lack of documents, I haven't figured out how to add support, how to set 
tim, etc.

> enabled), but transmission rate is limited with 1 Mbit/s.

Can you try attached patch and see if tx rate goes up.


AK


-- begin patch --

--- a/dev/usb/wlan/if_run.c +++ b/dev/usb/wlan/if_run.c @@ -2223,12 +2223,15 @@ 
run_drain_fifo(void *arg)       struct ifnet *ifp = sc->sc_ifp;         struct 
ieee80211_node *ni = sc->sc_ni[0];      /* make compiler happy */       
uint32_t stat; 
-       int retrycnt = 0; +     int retrycnt;   uint8_t wcid, mcs, pid;    
        RUN_LOCK_ASSERT(sc, MA_OWNED);          for (;;) { +            /* 
clear on every loop */ 
+               retrycnt = 0; +                 /* drain Tx status FIFO 
(maxsize = 16) */               run_read(sc, 
RT2860_TX_STAT_FIFO, &stat);            DPRINTFN(4, "tx stat 0x%08x\n", stat); 


-- end patch --



_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to