On Mon, Mar 14, 2011 at 9:57 PM, Tony Houghton <[email protected]> wrote:
> On Mon, 14 Mar 2011 11:53:42 +0530
> Mohammed Shafi <[email protected]> wrote:
>
>> On Mon, Mar 14, 2011 at 11:51 AM, Mohammed Shafi
>> <[email protected]> wrote:
>> >
>> > not reproducible in 2.6.38-rc7-wl wireless testing under
>> > Ubuntu, dont know where i am missing.
>> > I tried suspend-resume with/without disabling network manager. no
>> > kernel lock ups.
>> > also attaching my wireless tesing .config which may be of some
>> > help. any ideas?
>>
>> also lspci -vvvnn looks the card we are using is same as yours?
>>
>> 05:00.0 Network controller [0280]: Atheros Communications Inc. AR9285
>> Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
>> Subsystem: Atheros Communications Inc. Device [168c:30a1]
>> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
>> ParErr- Stepping- SERR+ FastB2B- DisINTx-
>> Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
>> <TAbort- <MAbort- >SERR- <PERR- INTx-
>> Latency: 0, Cache Line Size: 64 bytes
>> Interrupt: pin A routed to IRQ 19
>> Region 0: Memory at f4800000 (64-bit, non-prefetchable)
>> [size=64K] Capabilities: <access denied>
>> Kernel driver in use: ath9k
>> Kernel modules: ath9k
>
> Here is my lspci output (it's the same for kernel 2.6.34 and 2.6.37) and
> the kernel configs for 2.6.34 (one of the most recent versions I
> compiled from git that doesn't crash) and 2.6.37 (Debian stock which
> does crash).
>
>
Tony if you have time please try with the attached patch. Its
possibility of fixing your issue is very less. This patch does fixes a
kernel panic thing in another AR9285 card(fortunately the issue got
reproduced every time when i connect to an AP).
The difficult thing for me is to reproduce your issue. I can try
hard to reproduce your issue when I get some ample time.
Attached diff patch which you can try with your compat wireless with
the patch -p1 command.
thanks,
shafi
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c
index ef22096..26734e5 100644
--- a/drivers/net/wireless/ath/ath9k/xmit.c
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
@@ -1725,8 +1725,8 @@ static void ath_tx_start_dma(struct ath_softc *sc, struct ath_buf *bf,
u8 tidno;
spin_lock_bh(&txctl->txq->axq_lock);
-
- if (ieee80211_is_data_qos(hdr->frame_control) && txctl->an) {
+ if ((sc->sc_flags & SC_OP_TXAGGR) && txctl->an &&
+ ieee80211_is_data_qos(hdr->frame_control)) {
tidno = ieee80211_get_qos_ctl(hdr)[0] &
IEEE80211_QOS_CTL_TID_MASK;
tid = ATH_AN_2_TID(txctl->an, tidno);
_______________________________________________
ath9k-devel mailing list
[email protected]
https://lists.ath9k.org/mailman/listinfo/ath9k-devel