From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Brown Date: Tue, 24 Feb 2009 02:51:57 -0500 Subject: [ath9k-devel] AR9260 hang during connection to AP In-Reply-To: <18851.31428.305864.482898@gargle.gargle.HOWL> References: <18834.58107.765835.365791@gargle.gargle.HOWL> <18835.426.261949.207749@gargle.gargle.HOWL> <499ED76F.6070204@cortland.com> <18851.31428.305864.482898@gargle.gargle.HOWL> Message-ID: <49A3A71D.8080600@cortland.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 wrote: > Steve Brown wrote: > >> Feb 20 11:01:29 ubuntu kernel: [15783.068821] ath9k: Set channel: 2437 MHz >> Feb 20 11:01:29 ubuntu kernel: [15783.068825] ath9k: tx chmask: 1, rx chmask: 1 >> Feb 20 11:01:29 ubuntu kernel: [15783.068909] ath9k: (2412 MHz) -> (2437 MHz), chanwidth: 0 >> Feb 20 11:01:29 ubuntu kernel: [15783.069918] ath9k: RX filter 0x0 bssid 00:0e:8e:1d:f5:5b aid 0x0 >> Feb 20 11:01:29 ubuntu kernel: [15783.070935] ath9k: Set channel: 2437 MHz >> Feb 20 11:01:29 ubuntu kernel: [15783.070941] ath9k: tx chmask: 1, rx chmask: 1 >> Feb 20 11:01:29 ubuntu kernel: [15783.071026] ath9k: (2437 MHz) -> (2437 MHz), chanwidth: 0 >> > > Is the AP on channel 6 ? Configured with dynamic 20/40 ? > hostapd.conf channel=6 ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40] iw phy phy1 info Wiphy phy1 Band 1: HT capabilities: 0x104e * 20/40 MHz operation * SM PS disabled * 40 MHz short GI * max A-MSDU len 3839 * DSSS/CCK 40 MHz HT A-MPDU factor: 0x0003 (65535 bytes) HT A-MPDU density: 0x0006 (8 usec) HT MCS set: ff ff 00 00 00 00 00 00 00 00 00 00 01 00 00 00 > >> Feb 20 11:01:29 ubuntu kernel: [15783.074932] ath9k: RX filter 0x0 bssid 00:0e:8e:1d:f5:5b aid 0x0 >> Feb 20 11:01:29 ubuntu kernel: [15783.075828] ath9k: Configure tx [queue/halq] [0/3], aifs: 2, cw_min: 15, cw_max: 1023, txop: 0 >> Feb 20 11:01:29 ubuntu kernel: [15783.075842] ath9k: Configure tx [queue/halq] [1/2], aifs: 2, cw_min: 15, cw_max: 1023, txop: 0 >> Feb 20 11:01:29 ubuntu kernel: [15783.075853] ath9k: Configure tx [queue/halq] [2/1], aifs: 2, cw_min: 15, cw_max: 1023, txop: 0 >> Feb 20 11:01:29 ubuntu kernel: [15783.075864] ath9k: Configure tx [queue/halq] [3/0], aifs: 2, cw_min: 15, cw_max: 1023, txop: 0 >> Feb 20 11:01:29 ubuntu kernel: [15783.075880] wlan2: authenticate with AP 00:0e:8e:1d:f5:5b >> Feb 20 11:01:29 ubuntu kernel: [15783.078537] wlan2: authenticated >> Feb 20 11:01:29 ubuntu kernel: [15783.078540] wlan2: associate with AP 00:0e:8e:1d:f5:5b >> Feb 20 11:01:29 ubuntu kernel: [15783.081874] wlan2: RX AssocResp from 00:0e:8e:1d:f5:5b (capab=0x411 status=0 aid=2) >> Feb 20 11:01:29 ubuntu kernel: [15783.081878] wlan2: associated >> Feb 20 11:01:29 ubuntu kernel: [15783.081889] ath9k: Choosing rate table for mode: 10 >> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > This is the bug, the AP advertises 20/40, but sets the operating channel to 20 Mhz, > but ath9k chooses the wrong rate table since it doesn't honor the AP's current channel width. > > Sujith > Hope this answers your question. Steve