Yep, I'm the only one using A... Here's a patch which will make A-mode work,
though it looks like a few things won't work properly (and didn't before my
patch). Specifically, locking the STA down to B-only or G-only mode won't
work.
Index: zd1211-driver-svn/src/zdhci.c
===================================================================
--- zd1211-driver-svn/src/zdhci.c (revision 83)
+++ zd1211-driver-svn/src/zdhci.c (working copy)
@@ -955,9 +955,6 @@
else if ((mMacMode == PURE_A_MODE) &&
(mBssInfo[i].apMode != PURE_A_AP))
continue;
- else if ((mMacMode == MIXED_MODE) &&
(mBssInfo[i].apMode == PURE_A_AP))
- continue;
-
//check capability ...
if (cap & CAP_PRIVACY) {
if (!mPrivacyInvoked)
@@ -1628,11 +1625,11 @@
printk(" G-AP");
else if (mBssInfo[i].apMode == MIXED_AP)
printk(" M-AP");
+ else if (mBssInfo[i].apMode == PURE_A_AP)
+ printk(" A_AP");
+ else
+ VerAssert();
}
- else if (mBssInfo[i].apMode == PURE_A_AP)
- printk(" A_AP");
- else
- VerAssert();
printk("\n");
Index: zd1211-driver-svn/src/zdshared.c
===================================================================
--- zd1211-driver-svn/src/zdshared.c (revision 83)
+++ zd1211-driver-svn/src/zdshared.c (working copy)
@@ -606,6 +606,9 @@
setAddr3(pf, &mBssId);
pf->HdrLen = MAC_HDR_LNG;
+ if (mMacMode == PURE_A_MODE) {
+ Cap &= CAP_80211A_MASK;
+ }
body[0] = Cap & 0xff;
//Cap
body[1] = (Cap & 0xff00) >> 8;
body[2] = LisInterval & 0xff;
//LisInterval
Index: zd1211-driver-svn/src/zdsorts.h
===================================================================
--- zd1211-driver-svn/src/zdsorts.h (revision 83)
+++ zd1211-driver-svn/src/zdsorts.h (working copy)
@@ -129,7 +129,9 @@
CAP_DSSS_OFDM_BIT = 0x2000
} Capability;
+#define CAP_80211A_MASK (CAP_ESS | CAP_IBSS | CAP_POLLABLE | CAP_POLLREQ |
CAP_PRIVACY) // capabilities permitted for 802.11a mode
+
typedef enum
{
RC_UNSPEC_REASON = 1,
--
View this message in context:
http://www.nabble.com/802.11a-tf1924764.html#a5282019
Sent from the zd1211-devs forum at Nabble.com.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs