From: sri ram Date: Sat, 17 Jan 2009 23:42:50 -0500 Subject: [ath9k-devel] not getting 11n rates In-Reply-To: <3b3ea6f80901171904i33766abdpccc10e812b10363d@mail.gmail.com> References: <3b3ea6f80901171351s2cdd38fcsfa7ebd9aaad44445@mail.gmail.com> <18802.35863.297405.206039@localhost.localdomain> <3b3ea6f80901171904i33766abdpccc10e812b10363d@mail.gmail.com> Message-ID: <3b3ea6f80901172042i742bbd70p45e36c8ce3640801@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Sujith, Sorry I hadn't compiled debug mode support. After compiling the output looks as follows. ksandeep at 80211n-0:~$modprobe ath9k debug=0x0000200 ksandeep at 80211n-0:~$dmesg [23251.531280] cfg80211: Using static regulatory domain info [23251.531288] cfg80211: Regulatory domain: US [23251.531291] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [23251.531295] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) [23251.531298] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [23251.531301] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [23251.531304] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [23251.531307] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [23251.531310] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm) [23251.531314] cfg80211: Calling CRDA for country: US [23251.616877] ath9k: 0.1 [23251.617743] ath9k 0000:01:02.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [23253.175069] ath9k: 2MHz channel: 2412, channelFlags: 0x300e0 [23253.175078] ath9k: 2MHz channel: 2417, channelFlags: 0x300e0 [23253.175081] ath9k: 2MHz channel: 2422, channelFlags: 0x300e0 [23253.175084] ath9k: 2MHz channel: 2427, channelFlags: 0x300e0 [23253.175087] ath9k: 2MHz channel: 2432, channelFlags: 0x700e0 [23253.175090] ath9k: 2MHz channel: 2437, channelFlags: 0x700e0 [23253.175093] ath9k: 2MHz channel: 2442, channelFlags: 0x700e0 [23253.175096] ath9k: 2MHz channel: 2447, channelFlags: 0x500e0 [23253.175099] ath9k: 2MHz channel: 2452, channelFlags: 0x500e0 [23253.175102] ath9k: 2MHz channel: 2457, channelFlags: 0x500e0 [23253.175105] ath9k: 2MHz channel: 2462, channelFlags: 0x500e0 [23253.175107] ath9k: 5MHz channel: 5180, channelFlags: 0x30140 [23253.175111] ath9k: 5MHz channel: 5200, channelFlags: 0x50140 [23253.175113] ath9k: 5MHz channel: 5220, channelFlags: 0x30140 [23253.175116] ath9k: 5MHz channel: 5240, channelFlags: 0x50140 [23253.175119] ath9k: 5MHz channel: 5260, channelFlags: 0x30340 [23253.175122] ath9k: 5MHz channel: 5280, channelFlags: 0x50340 [23253.175125] ath9k: 5MHz channel: 5300, channelFlags: 0x30340 [23253.175128] ath9k: 5MHz channel: 5320, channelFlags: 0x50340 [23253.175131] ath9k: 5MHz channel: 5500, channelFlags: 0x30340 [23253.175134] ath9k: 5MHz channel: 5520, channelFlags: 0x50340 [23253.175137] ath9k: 5MHz channel: 5540, channelFlags: 0x30340 [23253.175140] ath9k: 5MHz channel: 5560, channelFlags: 0x50340 [23253.175143] ath9k: 5MHz channel: 5580, channelFlags: 0x30340 [23253.175146] ath9k: 5MHz channel: 5600, channelFlags: 0x50340 [23253.175149] ath9k: 5MHz channel: 5620, channelFlags: 0x30340 [23253.175152] ath9k: 5MHz channel: 5640, channelFlags: 0x50340 [23253.175154] ath9k: 5MHz channel: 5660, channelFlags: 0x30340 [23253.175157] ath9k: 5MHz channel: 5680, channelFlags: 0x50340 [23253.175160] ath9k: 5MHz channel: 5700, channelFlags: 0x10340 [23253.175163] ath9k: 5MHz channel: 5745, channelFlags: 0x30140 [23253.175166] ath9k: 5MHz channel: 5765, channelFlags: 0x50140 [23253.175169] ath9k: 5MHz channel: 5785, channelFlags: 0x30140 [23253.175172] ath9k: 5MHz channel: 5805, channelFlags: 0x50140 [23253.175175] ath9k: 5MHz channel: 5825, channelFlags: 0x10140 [23253.175188] ath9k: Rate: 1Mbps, ratecode: 27 [23253.175191] ath9k: Rate: 2Mbps, ratecode: 26 [23253.175194] ath9k: Rate: 5Mbps, ratecode: 25 [23253.175197] ath9k: Rate: 11Mbps, ratecode: 24 [23253.175199] ath9k: Rate: 6Mbps, ratecode: 11 [23253.175202] ath9k: Rate: 9Mbps, ratecode: 15 [23253.175204] ath9k: Rate: 12Mbps, ratecode: 10 [23253.175207] ath9k: Rate: 18Mbps, ratecode: 14 [23253.175209] ath9k: Rate: 24Mbps, ratecode: 9 [23253.175212] ath9k: Rate: 36Mbps, ratecode: 13 [23253.175215] ath9k: Rate: 48Mbps, ratecode: 8 [23253.175217] ath9k: Rate: 54Mbps, ratecode: 12 [23253.175220] ath9k: Rate: 6Mbps, ratecode: 11 [23253.175222] ath9k: Rate: 9Mbps, ratecode: 15 [23253.175225] ath9k: Rate: 12Mbps, ratecode: 10 [23253.175227] ath9k: Rate: 18Mbps, ratecode: 14 [23253.175230] ath9k: Rate: 24Mbps, ratecode: 9 [23253.175233] ath9k: Rate: 36Mbps, ratecode: 13 [23253.175235] ath9k: Rate: 48Mbps, ratecode: 8 [23253.175238] ath9k: Rate: 54Mbps, ratecode: 12 [23253.175264] ath9k: tx DMA: 512 buffers 1 desc/buf [23253.175310] ath9k: tx DMA map: dfdc0000 (73728) -> 1fdc0000 (73728) [23253.227800] ath9k: beacon DMA: 1 buffers 1 desc/buf [23253.227813] ath9k: beacon DMA map: f64b1000 (144) -> 364b1000 (144) [23253.227819] ath9k: cachelsz 32 rxbufsize 3872 [23253.227823] ath9k: rx DMA: 512 buffers 1 desc/buf [23253.227859] ath9k: rx DMA map: dfce0000 (73728) -> 1fce0000 (73728) [23253.237000] phy0: Selected rate control algorithm 'ath9k_rate_control' [23253.240048] Registered led device: ath9k-phy0:radio [23253.241183] Registered led device: ath9k-phy0:assoc [23253.242239] Registered led device: ath9k-phy0:tx [23253.243244] Registered led device: ath9k-phy0:rx [23253.243259] phy0: Atheros AR9160 MAC/BB Rev:1 AR5133 RF Rev:b0: mem=0xf8ba0000, irq=17 [23253.253511] udev: renamed network interface wlan0 to wlan1 [23257.308469] ath9k: Starting driver with initial channel: 2412 MHz [23257.314457] ath9k: Attach a VAP of type: 2 [23257.314465] ath9k: BSS Changed PREAMBLE 0 [23257.314468] ath9k: BSS Changed CTS PROT 0 [23257.319199] ath9k: Set HW RX filter: 0x0 [23257.319776] ath9k: Set channel: 2412 MHz [23257.319784] ath9k: tx chmask: 1, rx chmask: 1 [23257.322845] ath9k: (2412 MHz) -> (2412 MHz), chanwidth: 0 [23257.326825] ath9k: Configure tx [queue/halq] [0/3], aifs: 2, cw_min: 31, cw_max: 1023, txop: 0 [23257.326839] ath9k: Configure tx [queue/halq] [1/2], aifs: 2, cw_min: 31, cw_max: 1023, txop: 0 [23257.326852] ath9k: Configure tx [queue/halq] [2/1], aifs: 2, cw_min: 31, cw_max: 1023, txop: 0 [23257.326863] ath9k: Configure tx [queue/halq] [3/0], aifs: 2, cw_min: 31, cw_max: 1023, txop: 0 [23257.326888] ath9k: Set HW RX filter: 0x0 [23257.326910] ath9k: Set HW RX filter: 0x0 [23257.338924] ADDRCONF(NETDEV_UP): wlan1: link is not ready [23257.338940] ath9k: Set HW RX filter: 0x0 [23257.341515] ath9k: Set HW RX filter: 0x10 [23257.371308] ath9k: Set channel: 2412 MHz [23257.371320] ath9k: tx chmask: 1, rx chmask: 1 [23257.374386] ath9k: (2412 MHz) -> (2412 MHz), chanwidth: 0 [23257.432014] ath9k: Set channel: 2417 MHz [23257.432026] ath9k: tx chmask: 1, rx chmask: 1 [23257.435236] ath9k: (2412 MHz) -> (2417 MHz), chanwidth: 0 Thanks, Sri On 1/17/09, sri ram wrote: > > Thanks Sujith and Brian. > > Sujith, > Here is the output when I use the debug mode and dmesg: > > root at 80211n-0:~# modprobe ath9k debug=0x00002000 > FATAL: Error inserting ath9k > (/lib/modules/2.6.27-9- > generic/updates/drivers/net/wireless/ath9k/ath9k.ko): > Unknown symbol in module, or unknown parameter (see dmesg) > root at 80211n-0:~# dmesg > ... > [16392.012435] ath9k: Unknown parameter `debug' > > Is this a known problem? > > Brian, > I do not use any security on my AP or client. Even when I try to use WPA > the client does not connect. Can you let me know more about your > configuration so that I know what configuration works well? > > Thanks, > Sri > On 1/17/09, Sujith wrote: >> >> sri ram wrote: >> > Hi, >> > I am trying to use the ath9k driver with a WMIA-199N miniPCI 802.11n >> > chip based on the AR9160 chipset. I am working on a machine installed >> > with Ubuntu Intrepid (kernel 2.6.27-7). I installed the latest >> > compat-wireless package. I also have a CISCO WRT600n 802.11n router >> > setup with a 40MHz channel in the 5GHz band (802.11n only). I observe >> > that the card is able to associate with the AP. But it is associating >> > with a rate of only 54Mbps. The router supports 802.11n rates up to >> > 270Mbps and I observe that on windows an 802.11n card is able to >> > associate at 270Mbps. I tried using using iwconfig to set a higher >> > rate. But I get an "Invalid Argument" error. The iwlist wlan1 scan >> > also shows the maximum supported rates for the particular connection >> > as 54Mbps. >> > >> > Should I use a different kernel/wireless-tools package to allow >> > connections at a higher rate? >> >> >> Please load ath9k with debugging enabled, as 'modprobe ath9k >> debug=0x00002000' >> and post the output here. >> >> Sujith >> >> -- >> http://sujith-m.blogspot.com >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090117/dd388648/attachment-0001.htm