All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex <alxp87@gmail.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k: drop connection on kernel 2.6.28-1
Date: Wed, 11 Mar 2009 02:01:33 +0000	[thread overview]
Message-ID: <49B71B7D.4090504@gmail.com> (raw)

hi everybody,
I have the problem of the dropping connection every 20-30 minutes using 
the ath9k drivers!! I see all of your patches around, but i'm not able 
to patch original files because of they are different...for example file 
/compat-wireless-2.6/driver/net/wireless/ath9k/core.h doesn't exist!!! i 
think it was replaced by the file "ath9k.h" seeing the inclusion in main.c..
I see also the recv.c patch but is different too... In this patch i have 
to apply this patch

--- a/drivers/net/wireless/ath9k/recv.c 
<http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.28.y.git;a=blob;f=drivers/net/wireless/ath9k/recv.c;h=504a0444d89f853672a4abd71886cc17e3068ff9;hb=87a071a978a7defb98c278afbae066a670a973de>
+++ b/drivers/net/wireless/ath9k/recv.c 
<http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.28.y.git;a=blob;f=drivers/net/wireless/ath9k/recv.c;h=b9b36cbc6b8d89a5f6fdd596afa7c714b0398159;hb=f03b6a5feda314415ba0c1b53b44e57e59fab11f>
@@ -627,9 
<http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.28.y.git;a=blob;f=drivers/net/wireless/ath9k/recv.c;h=504a0444d89f853672a4abd71886cc17e3068ff9;hb=87a071a978a7defb98c278afbae066a670a973de#l627> 
+627,8 
<http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.28.y.git;a=blob;f=drivers/net/wireless/ath9k/recv.c;h=b9b36cbc6b8d89a5f6fdd596afa7c714b0398159;hb=f03b6a5feda314415ba0c1b53b44e57e59fab11f#l627> 
@@ u32 ath_calcrxfilter(struct ath_softc *sc)
                rfilt &= ~ATH9K_RX_FILTER_UCAST;
        }
 
-       if (((sc->sc_ah->ah_opmode == ATH9K_M_STA) &&
-            (sc->rx_filter & FIF_BCN_PRBRESP_PROMISC)) ||
-           (sc->sc_ah->ah_opmode == ATH9K_M_IBSS))
+       if (sc->sc_ah->ah_opmode == ATH9K_M_STA ||
+                       sc->sc_ah->ah_opmode == ATH9K_M_IBSS)
                rfilt |= ATH9K_RX_FILTER_BEACON;
 
        /* If in HOSTAP mode, want to enable reception of PSPOLL frames

but I haven't these lines...in my recv.c file tere is:


if (((sc->sc_ah->opmode != NL80211_IFTYPE_AP) &&
         (sc->rx.rxfilter & FIF_PROMISC_IN_BSS)) ||
        (sc->sc_ah->opmode == NL80211_IFTYPE_MONITOR)) {
        rfilt |= ATH9K_RX_FILTER_PROM;
        /* ??? To prevent from sending ACK */
        rfilt &= ~ATH9K_RX_FILTER_UCAST;
    }

    if (sc->rx.rxfilter & FIF_CONTROL)
        rfilt |= ATH9K_RX_FILTER_CONTROL;

    if ((sc->sc_ah->opmode == NL80211_IFTYPE_STATION) &&
        !(sc->rx.rxfilter & FIF_BCN_PRBRESP_PROMISC))
        rfilt |= ATH9K_RX_FILTER_MYBEACON;
    else
        rfilt |= ATH9K_RX_FILTER_BEACON;



I am not an expert but I understand that is a patch for an old version 
of the driver...I have the problem that this old patch resolves...Can 
someone help me and say me what line or file I have to patch? how can I 
resolve the connection lost?
Thank you !!

             reply	other threads:[~2009-03-11  2:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-11  2:01 Alex [this message]
2009-03-11  7:46 ` [ath9k-devel] ath9k: drop connection on kernel 2.6.28-1 Sujith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49B71B7D.4090504@gmail.com \
    --to=alxp87@gmail.com \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.