Re: Wifi rates

2013-07-31 Thread Adrian Chadd
Hi, Let's merge some more stuff into -HEAD first. it's likely there's some RF configuration problem which we can dig into in more detail but I can't do it whilst we've got broken Intel 5100 support (as then MY laptop doesn't work!) I have a spectrum analyser and I'm not afraid to use it. -adri

RE: Wifi rates

2013-07-31 Thread Cedric GROSS
Hello, > > Right, there's HT elements in there, so it looks likely you properly > negotiated HT. > > > > And the amrr output : > > Test kernel: wlan0: [00:24:d4:97:80:20] amrr_node_init: non-11n node > > Test kernel: wlan0: [00:24:d4:97:80:20] AMRR: nrates=0, initial rate > 0 > > That's the in

Re: Wifi rates

2013-07-30 Thread Adrian Chadd
On 30 July 2013 02:33, Cedric GROSS wrote: > [root@Test]/root#ifconfig -v wlan0 list sta > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > 00:24:d4:97:80:2025 6M 18.50 1162 58480 EP AQEHTRS > SSID RATES B22,12,18,24,36> DSPARMS<5> ERP<0x4> XRATES<48,72,96,1

RE: Wifi rates

2013-07-30 Thread Cedric GROSS
> De : adrian.ch...@gmail.com [mailto:adrian.ch...@gmail.com] De la part > de Adrian Chadd > Envoyé : lundi 29 juillet 2013 21:08 > À : Cedric GROSS > Cc : freebsd-wireless@freebsd.org > Objet : Re: Wifi rates > > Hi, > > So the trick here is that iwn uses the

Re: Wifi rates

2013-07-29 Thread Adrian Chadd
Hi, So the trick here is that iwn uses the net80211 rate control API for doing things. Look at if_iwn.c for "ratectl". There's a spot in the TX path where it calls it to look up the rate. It then converts that rate to the iwn PLCP format for the given transmission rate. You can google "PLCP". In