From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luis R. Rodriguez Date: Mon, 3 Nov 2008 14:46:19 -0800 Subject: [ath9k-devel] ath9k code In-Reply-To: References: <20081030200043.GF21459@tesla> Message-ID: <20081103224619.GD6378@tesla> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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 -- 1.5.6.rc2.15.g457bb.dirty