Lines Matching defs:ads
492 struct ar5210_desc *ads = AR5210DESC(ds);
506 ads->ds_ctl0 = (pktLen & AR_FrameLen)
515 ads->ds_ctl1 = (keyIx << AR_EncryptKeyIdx_S) & AR_EncryptKeyIdx;
516 ads->ds_ctl0 |= AR_EncryptKeyValid;
518 ads->ds_ctl1 = 0;
520 ads->ds_ctl0 |= AR_RTSCTSEnable;
521 ads->ds_ctl1 |= (rtsctsDuration << AR_RTSDuration_S)
543 struct ar5210_desc *ads = AR5210DESC(ds);
545 ads->ds_ctl0 |= AR_TxInterReq;
554 struct ar5210_desc *ads = AR5210DESC(ds);
566 ads->ds_ctl1 |= segLen | (lastSeg ? 0 : AR_More);
573 ads->ds_ctl0 = AR5210DESC_CONST(ds0)->ds_ctl0;
574 ads->ds_ctl1 = segLen;
579 ads->ds_ctl0 = 0;
580 ads->ds_ctl1 = segLen | AR_More;
582 ads->ds_status0 = ads->ds_status1 = 0;
593 struct ar5210_desc *ads = AR5210DESC(ds);
595 if ((ads->ds_status1 & AR_Done) == 0)
599 ts->ts_seqnum = ads->ds_status1 & AR_SeqNum;
600 ts->ts_tstamp = MS(ads->ds_status0, AR_SendTimestamp);
602 if ((ads->ds_status0 & AR_FrmXmitOK) == 0) {
603 if (ads->ds_status0 & AR_ExcessiveRetries)
605 if (ads->ds_status0 & AR_Filtered)
607 if (ads->ds_status0 & AR_FIFOUnderrun)
610 ts->ts_rate = MS(ads->ds_ctl0, AR_XmitRate);
611 ts->ts_rssi = MS(ads->ds_status1, AR_AckSigStrength);
612 ts->ts_shortretry = MS(ads->ds_status0, AR_ShortRetryCnt);
613 ts->ts_longretry = MS(ads->ds_status0, AR_LongRetryCnt);
645 struct ar5210_desc *ads = AR5210DESC(ds);
647 ads->ds_link = link;
656 struct ar5210_desc *ads = AR5210DESC(ds);
658 *link = ads->ds_link;
667 struct ar5210_desc *ads = AR5210DESC(ds);
669 *linkptr = &ads->ds_link;