ath9k code
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
Quoted 3 lines · Jongwon Yoon
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.
Quoted 1 line
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.
Quoted 1 line
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.
Quoted 1 line
and data rate adaptation?
Check rc.c
Luis
Quoted 7 lines · Luis R. Rodriguez
Quoted 3 lines · Jongwon Yoon
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
Quoted 7 lines · Steven Noonan
Quoted 5 lines · Luis R. Rodriguez
Quoted 3 lines · Jongwon Yoon
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?
Quoted 6 lines
Quoted 2 lines
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 <[email protected]>
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.
--- drivers/net/wireless/ath9k/recv.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
drivers/net/wireless/ath9k/recv.c +2 -3
@@ -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
Signature · 1 line
1.5.6.rc2.15.g457bb.dirty
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
Quoted 43 lines · Luis R. Rodriguez
Quoted 11 lines · Steven Noonan
Quoted 6 lines · Luis R. Rodriguez
Quoted 3 lines · Jongwon Yoon
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 <[email protected]>
ath9k: enable RXing of beacons on STA/IBSSThis 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 <[email protected]>--- drivers/net/wireless/ath9k/recv.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)drivers/net/wireless/ath9k/recv.c +2
-3@@ -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
Quoted 6 lines · Brian
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.
Quoted 8 lines
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.bz2Does the patch below apply to this?
If so how do I apply it?Just had a look at my
recv.cand 296 looks different so I guess I cannot apply it.
Nope, but you can try this one:
drivers/net/wireless/ath9k/recv.c +2 -3
@@ -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
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
Quoted 21 lines · Luis R. Rodriguez
Quoted 3 lines · Jongwon Yoon
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 theAP, 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.
Quoted 1 line
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.
Quoted 1 line
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.
Quoted 8 lines
Part of this code is in mac80211, part of it is in the driver.
Quoted 1 line
and data rate adaptation?
Check
rc.cLuis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20081103/8900af74/attachment.htm