* [ath9k-devel] ath9k code @ 2008-10-30 19:51 Jongwon Yoon 2008-10-30 20:00 ` Luis R. Rodriguez 0 siblings, 1 reply; 7+ messages in thread From: Jongwon Yoon @ 2008-10-30 19:51 UTC (permalink / raw) To: ath9k-devel 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? I also wonder which parameters or functions in the code control set channel bandwidth(20 or 40MHz), frame aggregation(MPDU, MSDU) mechanism, and data rate adaptation? Can you give me a pointer where I can enable or disable above features? any help would be very helpful. thanks. -YJ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20081030/f8ae0108/attachment.htm ^ permalink raw reply [flat|nested] 7+ messages in thread
* [ath9k-devel] ath9k code 2008-10-30 19:51 [ath9k-devel] ath9k code Jongwon Yoon @ 2008-10-30 20:00 ` Luis R. Rodriguez 2008-10-31 4:07 ` Steven Noonan 2008-11-03 18:10 ` Jongwon Yoon 0 siblings, 2 replies; 7+ messages in thread From: Luis R. Rodriguez @ 2008-10-30 20:00 UTC (permalink / raw) To: ath9k-devel 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 also wonder which parameters or functions in the code control set channel bandwidth(20 or 40MHz), This is not chosen by the STA but the AP. Check your AP settings. > frame aggregation(MPDU, MSDU) mechanism, AMPDU is enabled for all data frames, we don't use AMSDU, although mac80211 has RX support for it, we just need to test RX AMSDU suport. Part of this code is in mac80211, part of it is in the driver. > and data rate adaptation? Check rc.c Luis ^ permalink raw reply [flat|nested] 7+ messages in thread
* [ath9k-devel] ath9k code 2008-10-30 20:00 ` Luis R. Rodriguez @ 2008-10-31 4:07 ` Steven Noonan 2008-11-03 22:46 ` Luis R. Rodriguez 2008-11-03 18:10 ` Jongwon Yoon 1 sibling, 1 reply; 7+ messages in thread From: Steven Noonan @ 2008-10-31 4:07 UTC (permalink / raw) To: ath9k-devel On Thu, Oct 30, 2008 at 1:00 PM, Luis R. Rodriguez <lrodriguez@atheros.com> 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. - Steven ^ permalink raw reply [flat|nested] 7+ messages in thread
* [ath9k-devel] ath9k code 2008-10-31 4:07 ` Steven Noonan @ 2008-11-03 22:46 ` Luis R. Rodriguez 2008-11-04 0:12 ` Brian 0 siblings, 1 reply; 7+ messages in thread From: Luis R. Rodriguez @ 2008-11-03 22:46 UTC (permalink / raw) To: ath9k-devel 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 > <lrodriguez@atheros.com> 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 <lrodriguez@atheros.com> 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 <lrodriguez@atheros.com> --- 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 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* [ath9k-devel] ath9k code 2008-11-03 22:46 ` Luis R. Rodriguez @ 2008-11-04 0:12 ` Brian 2008-11-04 0:28 ` Luis R. Rodriguez 0 siblings, 1 reply; 7+ messages in thread From: Brian @ 2008-11-04 0:12 UTC (permalink / raw) To: ath9k-devel 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 >> <lrodriguez@atheros.com> 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 <lrodriguez@atheros.com> > 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 <lrodriguez@atheros.com> > --- > 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [ath9k-devel] ath9k code 2008-11-04 0:12 ` Brian @ 2008-11-04 0:28 ` Luis R. Rodriguez 0 siblings, 0 replies; 7+ messages in thread From: Luis R. Rodriguez @ 2008-11-04 0:28 UTC (permalink / raw) To: ath9k-devel On Mon, Nov 03, 2008 at 04:12:18PM -0800, Brian wrote: > 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. Nope, but you can try this one: diff --git a/drivers/net/wireless/ath9k/recv.c b/drivers/net/wireless/ath9k/recv.c index 4982563..b51999a 100644 --- a/drivers/net/wireless/ath9k/recv.c +++ b/drivers/net/wireless/ath9k/recv.c @@ -618,9 +618,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 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* [ath9k-devel] ath9k code 2008-10-30 20:00 ` Luis R. Rodriguez 2008-10-31 4:07 ` Steven Noonan @ 2008-11-03 18:10 ` Jongwon Yoon 1 sibling, 0 replies; 7+ messages in thread From: Jongwon Yoon @ 2008-11-03 18:10 UTC (permalink / raw) To: ath9k-devel thanks for the quick reply, my other PCI card(sparklan WPIR-501) has three external antennas. As far as I know, MIMO uses at least two antennas for MRC(maximum ratio combining). my question is can I control each of antenna? I mean how do I enable or disable each antenna? if it's possible where should I look in the driver code? any help would be appreciated. thanks. -YJ On Thu, Oct 30, 2008 at 2:00 PM, Luis R. Rodriguez <lrodriguez@atheros.com>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 also wonder which parameters or functions in the code control set > channel bandwidth(20 or 40MHz), > > This is not chosen by the STA but the AP. Check your AP settings. > > > frame aggregation(MPDU, MSDU) mechanism, > > AMPDU is enabled for all data frames, we don't use AMSDU, although > mac80211 has RX support for it, we just need to test RX AMSDU suport. > > Part of this code is in mac80211, part of it is in the driver. > > > and data rate adaptation? > > Check rc.c > > Luis > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20081103/8900af74/attachment.htm ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-11-04 0:28 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-10-30 19:51 [ath9k-devel] ath9k code Jongwon Yoon 2008-10-30 20:00 ` Luis R. Rodriguez 2008-10-31 4:07 ` Steven Noonan 2008-11-03 22:46 ` Luis R. Rodriguez 2008-11-04 0:12 ` Brian 2008-11-04 0:28 ` Luis R. Rodriguez 2008-11-03 18:10 ` Jongwon Yoon
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.