Lines Matching refs:ahp
36 struct ath_hal_5211 *ahp = AH5211(ah); in ar5211GetMacAddress() local
38 OS_MEMCPY(mac, ahp->ah_macaddr, IEEE80211_ADDR_LEN); in ar5211GetMacAddress()
44 struct ath_hal_5211 *ahp = AH5211(ah); in ar5211SetMacAddress() local
46 OS_MEMCPY(ahp->ah_macaddr, mac, IEEE80211_ADDR_LEN); in ar5211SetMacAddress()
315 struct ath_hal_5211 *ahp = AH5211(ah); in ar5211WriteAssocid() local
318 OS_MEMCPY(ahp->ah_bssid, bssid, IEEE80211_ADDR_LEN); in ar5211WriteAssocid()
319 OS_REG_WRITE(ah, AR_BSS_ID0, LE_READ_4(ahp->ah_bssid)); in ar5211WriteAssocid()
320 OS_REG_WRITE(ah, AR_BSS_ID1, LE_READ_2(ahp->ah_bssid+4) | in ar5211WriteAssocid()
425 struct ath_hal_5211 *ahp = AH5211(ah); in ar5211SetSifsTime() local
430 ahp->ah_sifstime = (u_int) -1; /* restore default handling */ in ar5211SetSifsTime()
435 ahp->ah_slottime = us; in ar5211SetSifsTime()
450 struct ath_hal_5211 *ahp = AH5211(ah); in ar5211SetSlotTime() local
455 ahp->ah_slottime = us; /* restore default handling */ in ar5211SetSlotTime()
460 ahp->ah_slottime = us; in ar5211SetSlotTime()
475 struct ath_hal_5211 *ahp = AH5211(ah); in ar5211SetAckTimeout() local
480 ahp->ah_acktimeout = (u_int) -1; /* restore default handling */ in ar5211SetAckTimeout()
486 ahp->ah_acktimeout = us; in ar5211SetAckTimeout()
507 struct ath_hal_5211 *ahp = AH5211(ah); in ar5211SetAckCTSRate() local
511 ahp->ah_staId1Defaults &= ~AR_STA_ID1_ACKCTS_6MB; in ar5211SetAckCTSRate()
514 ahp->ah_staId1Defaults |= AR_STA_ID1_ACKCTS_6MB; in ar5211SetAckCTSRate()
522 struct ath_hal_5211 *ahp = AH5211(ah); in ar5211SetCTSTimeout() local
527 ahp->ah_ctstimeout = (u_int) -1; /* restore default handling */ in ar5211SetCTSTimeout()
533 ahp->ah_ctstimeout = us; in ar5211SetCTSTimeout()
677 struct ath_hal_5211 *ahp = AH5211(ah); in ar5211GetDiagState() local
679 (void) ahp; in ar5211GetDiagState()
687 *result = &ahp->ah_gainValues; in ar5211GetDiagState()
691 *result = __DECONST(void *, ahp->ah_gainValues.currStep); in ar5211GetDiagState()