All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] ath9k: drop connection on kernel 2.6.28-1
@ 2009-03-11  2:01 Alex
  2009-03-11  7:46 ` Sujith
  0 siblings, 1 reply; 2+ messages in thread
From: Alex @ 2009-03-11  2:01 UTC (permalink / raw)
  To: ath9k-devel

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 !!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ath9k-devel]  ath9k: drop connection on kernel 2.6.28-1
  2009-03-11  2:01 [ath9k-devel] ath9k: drop connection on kernel 2.6.28-1 Alex
@ 2009-03-11  7:46 ` Sujith
  0 siblings, 0 replies; 2+ messages in thread
From: Sujith @ 2009-03-11  7:46 UTC (permalink / raw)
  To: ath9k-devel

Alex wrote:
> 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

Use compat-wireless to get the latest driver.
See: http://wireless.kernel.org/en/users/Download

Sujith

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-11  7:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-11  2:01 [ath9k-devel] ath9k: drop connection on kernel 2.6.28-1 Alex
2009-03-11  7:46 ` Sujith

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.