102 unsigned short wBeaconPeriod,
157 if (pMgmtHandle !=
NULL) {
209 unsigned char byMaxSupportRate =
RATE_1M;
210 unsigned char bySupportRate =
RATE_1M;
213 if (pSupportRateIEs) {
214 for (ii = 0; ii < pSupportRateIEs->len; ii++) {
216 if (bySupportRate > byMaxSupportRate) {
217 byMaxSupportRate = bySupportRate;
221 if (pExtSupportRateIEs) {
222 for (ii = 0; ii < pExtSupportRateIEs->len; ii++) {
224 if (bySupportRate > byMaxSupportRate) {
225 byMaxSupportRate = bySupportRate;
230 return byMaxSupportRate;
251 unsigned char byRxDataRate,
256 unsigned char byMaxAckRate;
257 unsigned char byBasicRate;
266 if (pSupportRateIEs) {
267 for (ii = 0; ii < pSupportRateIEs->len; ii++) {
268 if (pSupportRateIEs->abyRates[ii] & 0x80) {
270 if ((byBasicRate <= byRxDataRate) &&
271 (byBasicRate > byMaxAckRate)) {
272 byMaxAckRate = byBasicRate;
277 if (pExtSupportRateIEs) {
278 for (ii = 0; ii < pExtSupportRateIEs->len; ii++) {
279 if (pExtSupportRateIEs->abyRates[ii] & 0x80) {
281 if ((byBasicRate <= byRxDataRate) &&
282 (byBasicRate > byMaxAckRate)) {
283 byMaxAckRate = byBasicRate;
388 if ((pMgmt !=
NULL) && (pePhyType !=
NULL)) {
431 unsigned int uCount = 0;
437 if (!pBSS->bActive) {
440 if (*pvFirstBSS ==
NULL) {
441 *pvFirstBSS = &(pMgmt->
sBSSList[ii]);
445 *puBSSCount = uCount;
463 while (*pvNextBSS ==
NULL) {
468 if (pBSS->bActive ==
true) {
494 unsigned char *pbyDestAddress,
496 unsigned short wRate,
497 unsigned char *pbyTxFailCount
501 unsigned int uNodeIndex = 0;
529 unsigned char *pbyDestAddress,
530 unsigned short *pwTxDataRate,
531 unsigned char *pbyACKRate,
532 unsigned char *pbyCCKBasicRate,
533 unsigned char *pbyOFDMBasicRate
537 unsigned int uNodeIndex = 0;
538 unsigned short wTxDataRate =
RATE_1M;
539 unsigned char byACKRate =
RATE_1M;
540 unsigned char byCCKBasicRate =
RATE_1M;
541 unsigned char byOFDMBasicRate =
RATE_24M;
578 if (byACKRate > (
unsigned char) wTxDataRate) {
579 byACKRate = (
unsigned char) wTxDataRate;
589 *pwTxDataRate = wTxDataRate;
590 *pbyACKRate = byACKRate;
591 *pbyCCKBasicRate = byCCKBasicRate;
592 *pbyOFDMBasicRate = byOFDMBasicRate;
604 if (bGroupKey ==
true) {
660 unsigned long ulCount,
713 unsigned char byReportMode,
714 unsigned char byBasicMap,
715 unsigned char byCCAFraction,
716 unsigned char *pbyRPIs
723 if ((pvMeasureEID !=
NULL) &&
760 if (bEndOfReport ==
true) {
771 unsigned char byNewChannel