From: Brian Date: Tue, 04 Nov 2008 10:12:18 +1000 Subject: [ath9k-devel] ath9k code In-Reply-To: <20081103224619.GD6378@tesla> References: <20081030200043.GF21459@tesla> <20081103224619.GD6378@tesla> Message-ID: <490F9362.7010801@astronomicalresearchaustralia.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Luis, Thanks for the driver, it works pretty good here. I have only had one instance of the link failing. It has been up for over 24hours now. Unfortunately, for now, I have to use an older kernel and so used http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-old.tar.bz2 Does the patch below apply to this? If so how do I apply it? Just had a look at my recv.c and 296 looks different so I guess I cannot apply it. Thanks, Brian Luis R. Rodriguez wrote: > On Thu, Oct 30, 2008 at 09:07:47PM -0700, Steven Noonan wrote: >> On Thu, Oct 30, 2008 at 1:00 PM, Luis R. Rodriguez >> wrote: >>> On Thu, Oct 30, 2008 at 12:51:37PM -0700, Jongwon Yoon wrote: >>>> Hi, >>>> I'm using kernel 2.6.27 and D-link DWA-652 card (AR5416). >>>> As some people reported, I also experienced de-authentication from the AP, even if I don't use any WPA2 or TKIP. Right after I enable the wlan0 interface, it's up for a while, however about 5 mins later, it gets de-associated. To bring it up, I have to rmmod and modprobe again. Is this problem solved? >>> Thanks for reporting this, we are looking into this issue. >>> >> I've been encountering this for some time. I neglected to report it >> because I had gotten so used to it. I've got to learn that unlike with >> Windows, reporting driver issues can actually change things. > > Please try this patch, I just posted it on linux-wireless. > > From: Luis R. Rodriguez > ath9k: enable RXing of beacons on STA/IBSS > > This enables beacons to come through on STA/IBSS. > It should fix sporadic connection issues. Right now > mac80211 expect beacons so give it beacons. > > Signed-off-by: Luis R. Rodriguez > --- > drivers/net/wireless/ath9k/recv.c | 5 ++--- > 1 files changed, 2 insertions(+), 3 deletions(-) > > diff --git a/drivers/net/wireless/ath9k/recv.c b/drivers/net/wireless/ath9k/recv.c > index 2ecb0a0..2d72ac1 100644 > --- a/drivers/net/wireless/ath9k/recv.c > +++ b/drivers/net/wireless/ath9k/recv.c > @@ -296,9 +296,8 @@ 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