Hello, I am pretty new to the N under linux thing, so any guidance would be 
great.

I have the equipment in the subject, and under the stock 2.6.27-r6 gentoo 
kernel I get a transfer speed of 2MB/s as reported by rsync -ahP with a 100Mb 
file (across nfs).  I am using WPA2 tkip.

I get the same results with the compat-wireless-2.6 tarball.

With the latest wireless-testing git, plus wireless-compat (both from 
yesterday), I get around 100Kb/s transfer!  Not really heading in the right 
direction.

Below is the dmesg on the ath9k load with debug enabled (with the latest 
wireless-testing and compat).  I have the AP set to N-Only on both 5Ghz and 
2.6Ghz channels.  Any tips on getting this up to speed?

----------------------------------
2.6.27-r6 kernel:

wlan1     IEEE 802.11bgn  ESSID:"xxxxx"
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:22:6B:68:B0:5C
          Bit Rate=1 Mb/s   Tx-Power=27 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B
          Power Management:off
          Link Quality=82/100  Signal level:-42 dBm  Noise level=-95 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


$ iwlist wlan1 scan
wlan1     Scan completed :
          Cell 01 - Address: 00:22:6B:68:B0:5C
                    ESSID:"humit2"
                    Mode:Master
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=79/100  Signal level:-44 dBm  Noise level=-95 dBm
                    Encryption key:on
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 
2D1A0C181AFFFF000000000000000000000000000000000000000000
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s
                    Extra:tsf=0000003cbb265183
                    Extra: Last beacon: 30ms ago



--------------------------------------------------


ath9k: 0.1                                                                      
                                                         
ath9k 0000:01:06.0: PCI INT A -> Link[LNK1] -> GSI 5 (level, low) -> IRQ 5      
                                                         
ath9k: 2MHz channel: 2412, channelFlags: 0x300e0                                
                                                         
ath9k: 2MHz channel: 2417, channelFlags: 0x300e0                                
                                                         
ath9k: 2MHz channel: 2422, channelFlags: 0x300e0                                
                                                         
ath9k: 2MHz channel: 2427, channelFlags: 0x300e0                                
                                                         
ath9k: 2MHz channel: 2432, channelFlags: 0x700e0                                
                                                         
ath9k: 2MHz channel: 2437, channelFlags: 0x700e0                                
                                                         
ath9k: 2MHz channel: 2442, channelFlags: 0x700e0                                
                                                         
ath9k: 2MHz channel: 2447, channelFlags: 0x500e0                                
                                                         
ath9k: 2MHz channel: 2452, channelFlags: 0x500e0                                
                                                         
ath9k: 2MHz channel: 2457, channelFlags: 0x500e0                                
                                                         
ath9k: 2MHz channel: 2462, channelFlags: 0x500e0                                
                                                         
ath9k: Rate:  1Mbps, ratecode: 27                                               
                                                         
ath9k: Rate:  2Mbps, ratecode: 26                                               
                                                         
ath9k: Rate:  5Mbps, ratecode: 25                                               
                                                         
ath9k: Rate: 11Mbps, ratecode: 24                                               
                                                         
ath9k: Rate:  6Mbps, ratecode: 11                                               
                                                         
ath9k: Rate:  9Mbps, ratecode: 15                                               
                                                         
ath9k: Rate: 12Mbps, ratecode: 10                                               
                                                         
ath9k: Rate: 18Mbps, ratecode: 14                                               
                                                         
ath9k: Rate: 24Mbps, ratecode:  9                                               
                                                         
ath9k: Rate: 36Mbps, ratecode: 13                                               
                                                         
ath9k: Rate: 48Mbps, ratecode:  8                                               
                                                         
ath9k: Rate: 54Mbps, ratecode: 12                                               
                                                         
ath9k: Rate:  6Mbps, ratecode: 11                                               
                                                         
ath9k: Rate:  9Mbps, ratecode: 15                                               
                                                         
ath9k: Rate: 12Mbps, ratecode: 10                                               
                                                         
ath9k: Rate: 18Mbps, ratecode: 14                                               
                                                         
ath9k: Rate: 24Mbps, ratecode:  9                                               
                                                         
ath9k: Rate: 36Mbps, ratecode: 13                                               
                                                         
ath9k: Rate: 48Mbps, ratecode:  8                                               
                                                         
ath9k: Rate: 54Mbps, ratecode: 12                                               
                                                         
ath9k: tx DMA: 512 buffers 1 desc/buf                                           
                                                         
ath9k: tx DMA map: f6540000 (73728) -> 36540000 (73728)                         
                                                         
ath9k: beacon DMA: 1 buffers 1 desc/buf                                         
                                                         
ath9k: beacon DMA map: f457d000 (144) -> 3457d000 (144)                         
                                                         
ath9k: cachelsz 32 rxbufsize 3872                                               
                                                         
ath9k: rx DMA: 512 buffers 1 desc/buf                                           
                                                         
ath9k: rx DMA map: f4360000 (73728) -> 34360000 (73728)                         
                                                         
phy1: Selected rate control algorithm 'ath9k_rate_control'                      
                                                         
Registered led device: ath9k-phy1:radio                                         
                                                         
Registered led device: ath9k-phy1:assoc                                         
                                                         
Registered led device: ath9k-phy1:tx                                            
                                                         
Registered led device: ath9k-phy1:rx                                            
                                                         
phy1: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81: mem=0xfcc40000, irq=5       
                                                         
udev: renamed network interface wlan0 to wlan1                                  
                                                         
ath9k: Starting driver with initial channel: 2412 MHz                           
                                                         
ath9k: Attach a VAP of type: 2                                                  
                                                         
ath9k: BSS Changed PREAMBLE 0                                                   
                                                         
ath9k: BSS Changed CTS PROT 0                                                   
                                                         
ath9k: Set HW RX filter: 0x0                                                    
                                                         
ath9k: Set channel: 2412 MHz                                                    
                                                         
ath9k: tx chmask: 1, rx chmask: 1                                               
                                                         
ath9k: Configure tx [queue/halq] [0/3],  aifs: 2, cw_min: 31, cw_max: 1023, 
txop: 0                                                      
ath9k: Configure tx [queue/halq] [1/2],  aifs: 2, cw_min: 31, cw_max: 1023, 
txop: 0                                                      
ath9k: Configure tx [queue/halq] [2/1],  aifs: 2, cw_min: 31, cw_max: 1023, 
txop: 0                                                      
ath9k: Configure tx [queue/halq] [3/0],  aifs: 2, cw_min: 31, cw_max: 1023, 
txop: 0                                                      
ath9k: Set HW RX filter: 0x0                                                    
                                                         
ath9k: Set HW RX filter: 0x0                                                    
                                                         
ath9k: Set HW RX filter: 0x0                                                    
                                                         
ath9k: Set HW RX filter: 0x10                                                   
                                                         
ath9k: Set channel: 2412 MHz                                                    
                                                         
ath9k: (2412 MHz) -> (2412 MHz), cflags:300e0, chanwidth: 0                     
                                                         
ath9k: tx chmask: 1, rx chmask: 1                                               
                                                         
ath9k: Set channel: 2417 MHz                                                    
                                                         
ath9k: (2412 MHz) -> (2417 MHz), cflags:300e0, chanwidth: 0                     
                                                         
ath9k: tx chmask: 1, rx chmask: 1                                               
                                                         
ath9k: Set channel: 2422 MHz                                                    
                                                         
ath9k: (2417 MHz) -> (2422 MHz), cflags:300e0, chanwidth: 0                     
                                                         
ath9k: tx chmask: 1, rx chmask: 1                                               
                                                         
ath9k: Set HW RX filter: 0x0                                                    
                                                         
ath9k: Set channel: 2427 MHz                                                    
                                                         
ath9k: (2422 MHz) -> (2427 MHz), cflags:300e0, chanwidth: 0                     
                                                         
ath9k: tx chmask: 1, rx chmask: 1                                               
                                                         
ath9k: Set channel: 2432 MHz                                                    
                                                         
ath9k: (2427 MHz) -> (2432 MHz), cflags:700e0, chanwidth: 0                     
                                                         
ath9k: tx chmask: 1, rx chmask: 1                                               
                                                         
ath9k: Set channel: 2437 MHz                                                    
                                                         
ath9k: (2432 MHz) -> (2437 MHz), cflags:700e0, chanwidth: 0                     
                                                         
ath9k: tx chmask: 1, rx chmask: 1                                               
                                                         
ath9k: Set channel: 2442 MHz                                                    
                                                         
ath9k: (2437 MHz) -> (2442 MHz), cflags:700e0, chanwidth: 0                     
                                                         
ath9k: tx chmask: 1, rx chmask: 1                                               
                                                         
ath9k: Set channel: 2447 MHz                                                    
                                                         
ath9k: (2442 MHz) -> (2447 MHz), cflags:500e0, chanwidth: 0                     
                                                         
ath9k: tx chmask: 1, rx chmask: 1                                               
                                                         
ath9k: Set channel: 2452 MHz                                                    
                                                         
ath9k: (2447 MHz) -> (2452 MHz), cflags:500e0, chanwidth: 0                     
                                                         
ath9k: tx chmask: 1, rx chmask: 1                                               
                                                         
ath9k: Set channel: 2457 MHz                                                    
                                                         
ath9k: (2452 MHz) -> (2457 MHz), cflags:500e0, chanwidth: 0                     
                                                         
ath9k: tx chmask: 1, rx chmask: 1                                               
                                                         
ath9k: Set channel: 2462 MHz                                                    
                                                         
ath9k: (2457 MHz) -> (2462 MHz), cflags:500e0, chanwidth: 0                     
                                                         
ath9k: tx chmask: 1, rx chmask: 1
ath9k: Set channel: 2462 MHz
ath9k: (2462 MHz) -> (2462 MHz), cflags:500e0, chanwidth: 0
ath9k: tx chmask: 1, rx chmask: 1
ath9k: RX filter 0x0 bssid 00:22:6b:68:b0:5c aid 0x0
ath9k: Set channel: 2462 MHz
ath9k: (2462 MHz) -> (2462 MHz), cflags:500e0, chanwidth: 0
ath9k: tx chmask: 1, rx chmask: 1
ath9k: Set HW RX filter: 0x0
ath9k: Set channel: 2462 MHz
ath9k: (2462 MHz) -> (2462 MHz), cflags:500e0, chanwidth: 0
ath9k: tx chmask: 1, rx chmask: 1
ath9k: Configure tx [queue/halq] [0/3],  aifs: 2, cw_min: 15, cw_max: 1023, 
txop: 0
ath9k: Configure tx [queue/halq] [1/2],  aifs: 2, cw_min: 15, cw_max: 1023, 
txop: 0
ath9k: Configure tx [queue/halq] [2/1],  aifs: 2, cw_min: 15, cw_max: 1023, 
txop: 0
ath9k: Configure tx [queue/halq] [3/0],  aifs: 2, cw_min: 15, cw_max: 1023, 
txop: 0
wlan1: authenticate with AP 00:22:6b:68:b0:5c
wlan1: authenticated
wlan1: associate with AP 00:22:6b:68:b0:5c
wlan1: RX AssocResp from 00:22:6b:68:b0:5c (capab=0x411 status=0 aid=1)
wlan1: associated
ath9k: Choosing rate table for mode: 7
ath9k: Configure tx [queue/halq] [2/1],  aifs: 3, cw_min: 15, cw_max: 1023, 
txop: 0
ath9k: Configure tx [queue/halq] [3/0],  aifs: 7, cw_min: 15, cw_max: 1023, 
txop: 0
ath9k: Configure tx [queue/halq] [1/2],  aifs: 2, cw_min: 7, cw_max: 15, txop: 
94
ath9k: Configure tx [queue/halq] [0/3],  aifs: 2, cw_min: 3, cw_max: 7, txop: 47
ath9k: Set channel: 2462 MHz
ath9k: (2462 MHz) -> (2462 MHz), cflags:500e0, chanwidth: 0
ath9k: tx chmask: 7, rx chmask: 5
ath9k: BSS Changed PREAMBLE 1
ath9k: BSS Changed ASSOC 1
ath9k: Bss Info ASSOC 1, bssid: 00:22:6b:68:b0:5c
ath9k: BSS Changed CTS PROT 1
ath9k: BSS Changed CTS PROT 0



_______________________________________________
ath9k-devel mailing list
[email protected]
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to