sta 146 dev/acpi/acpiprt.c int pin, irq, sta;
sta 184 dev/acpi/acpiprt.c sta = aml_val2int(&res) & STA_ENABLED;
sta 186 dev/acpi/acpiprt.c if (sta == 0)
sta 915 dev/ic/advlib.c int sta = TRUE;
sta 929 dev/ic/advlib.c sta = FALSE;
sta 931 dev/ic/advlib.c sta = FALSE;
sta 936 dev/ic/advlib.c return (sta);
sta 83 dev/ic/if_wi_hostap.c void wihap_sta_delete(struct wihap_sta_info *sta);
sta 277 dev/ic/if_wi_hostap.c struct wihap_sta_info *sta, *next;
sta 293 dev/ic/if_wi_hostap.c for (sta = TAILQ_FIRST(&whi->sta_list);
sta 294 dev/ic/if_wi_hostap.c sta != TAILQ_END(&whi->sta_list); sta = next) {
sta 295 dev/ic/if_wi_hostap.c timeout_del(&sta->tmo);
sta 297 dev/ic/if_wi_hostap.c printf("wihap_shutdown: FREE(sta=%p)\n", sta);
sta 298 dev/ic/if_wi_hostap.c next = TAILQ_NEXT(sta, list);
sta 299 dev/ic/if_wi_hostap.c if (sta->challenge)
sta 300 dev/ic/if_wi_hostap.c FREE(sta->challenge, M_TEMP);
sta 301 dev/ic/if_wi_hostap.c FREE(sta, M_DEVBUF);
sta 339 dev/ic/if_wi_hostap.c wihap_sta_movetail(struct wihap_info *whi, struct wihap_sta_info *sta)
sta 341 dev/ic/if_wi_hostap.c TAILQ_REMOVE(&whi->sta_list, sta, list);
sta 342 dev/ic/if_wi_hostap.c sta->flags &= ~WI_SIFLAGS_DEAD;
sta 343 dev/ic/if_wi_hostap.c TAILQ_INSERT_TAIL(&whi->sta_list, sta, list);
sta 351 dev/ic/if_wi_hostap.c struct wihap_sta_info *sta, *next;
sta 356 dev/ic/if_wi_hostap.c for (i = 10, sta = TAILQ_FIRST(&whi->sta_list);
sta 357 dev/ic/if_wi_hostap.c i != 0 && sta != TAILQ_END(&whi->sta_list) &&
sta 358 dev/ic/if_wi_hostap.c (sta->flags & WI_SIFLAGS_DEAD); i--, sta = next) {
sta 359 dev/ic/if_wi_hostap.c next = TAILQ_NEXT(sta, list);
sta 360 dev/ic/if_wi_hostap.c if (timeout_pending(&sta->tmo)) {
sta 362 dev/ic/if_wi_hostap.c wihap_sta_movetail(whi, sta);
sta 363 dev/ic/if_wi_hostap.c } else if (sta->flags & WI_SIFLAGS_ASSOC) {
sta 366 dev/ic/if_wi_hostap.c ether_sprintf(sta->addr));
sta 369 dev/ic/if_wi_hostap.c wihap_sta_disassoc(sc, sta->addr,
sta 371 dev/ic/if_wi_hostap.c sta->flags &= ~WI_SIFLAGS_ASSOC;
sta 378 dev/ic/if_wi_hostap.c wihap_sta_movetail(whi, sta);
sta 379 dev/ic/if_wi_hostap.c timeout_add(&sta->tmo, hz * whi->inactivity_time);
sta 380 dev/ic/if_wi_hostap.c } else if (sta->flags & WI_SIFLAGS_AUTHEN) {
sta 383 dev/ic/if_wi_hostap.c ether_sprintf(sta->addr));
sta 386 dev/ic/if_wi_hostap.c wihap_sta_deauth(sc, sta->addr,
sta 388 dev/ic/if_wi_hostap.c sta->flags &= ~WI_SIFLAGS_AUTHEN;
sta 391 dev/ic/if_wi_hostap.c if (sta->flags & WI_SIFLAGS_PERM)
sta 392 dev/ic/if_wi_hostap.c wihap_sta_movetail(whi, sta);
sta 394 dev/ic/if_wi_hostap.c wihap_sta_delete(sta);
sta 399 dev/ic/if_wi_hostap.c sta = TAILQ_FIRST(&whi->sta_list);
sta 400 dev/ic/if_wi_hostap.c if (sta != NULL && (sta->flags & WI_SIFLAGS_DEAD))
sta 409 dev/ic/if_wi_hostap.c struct wihap_sta_info *sta = v;
sta 410 dev/ic/if_wi_hostap.c struct wi_softc *sc = sta->sc;
sta 417 dev/ic/if_wi_hostap.c TAILQ_REMOVE(&whi->sta_list, sta, list);
sta 418 dev/ic/if_wi_hostap.c sta->flags |= WI_SIFLAGS_DEAD;
sta 419 dev/ic/if_wi_hostap.c TAILQ_INSERT_HEAD(&whi->sta_list, sta, list);
sta 433 dev/ic/if_wi_hostap.c wihap_sta_delete(struct wihap_sta_info *sta)
sta 435 dev/ic/if_wi_hostap.c struct wi_softc *sc = sta->sc;
sta 437 dev/ic/if_wi_hostap.c int i = sta->asid - 0xc001;
sta 439 dev/ic/if_wi_hostap.c timeout_del(&sta->tmo);
sta 443 dev/ic/if_wi_hostap.c TAILQ_REMOVE(&whi->sta_list, sta, list);
sta 444 dev/ic/if_wi_hostap.c LIST_REMOVE(sta, hash);
sta 445 dev/ic/if_wi_hostap.c if (sta->challenge)
sta 446 dev/ic/if_wi_hostap.c FREE(sta->challenge, M_TEMP);
sta 447 dev/ic/if_wi_hostap.c FREE(sta, M_DEVBUF);
sta 460 dev/ic/if_wi_hostap.c struct wihap_sta_info *sta;
sta 464 dev/ic/if_wi_hostap.c MALLOC(sta, struct wihap_sta_info *, sizeof(struct wihap_sta_info),
sta 466 dev/ic/if_wi_hostap.c if (sta == NULL)
sta 469 dev/ic/if_wi_hostap.c bzero(sta, sizeof(struct wihap_sta_info));
sta 476 dev/ic/if_wi_hostap.c sta->asid = 0xc001 + i;
sta 479 dev/ic/if_wi_hostap.c TAILQ_INSERT_TAIL(&whi->sta_list, sta, list);
sta 480 dev/ic/if_wi_hostap.c LIST_INSERT_HEAD(&whi->sta_hash[hash], sta, hash);
sta 482 dev/ic/if_wi_hostap.c sta->sc = sc;
sta 484 dev/ic/if_wi_hostap.c bcopy(addr, &sta->addr, ETHER_ADDR_LEN);
sta 485 dev/ic/if_wi_hostap.c timeout_set(&sta->tmo, wihap_sta_timeout, sta);
sta 486 dev/ic/if_wi_hostap.c timeout_add(&sta->tmo, hz * whi->inactivity_time);
sta 488 dev/ic/if_wi_hostap.c return (sta);
sta 499 dev/ic/if_wi_hostap.c struct wihap_sta_info *sta;
sta 502 dev/ic/if_wi_hostap.c LIST_FOREACH(sta, &whi->sta_hash[i], hash)
sta 503 dev/ic/if_wi_hostap.c if (addr_cmp(addr, sta->addr))
sta 504 dev/ic/if_wi_hostap.c return sta;
sta 510 dev/ic/if_wi_hostap.c wihap_check_rates(struct wihap_sta_info *sta, u_int8_t rates[], int rates_len)
sta 512 dev/ic/if_wi_hostap.c struct wi_softc *sc = sta->sc;
sta 515 dev/ic/if_wi_hostap.c sta->rates = 0;
sta 516 dev/ic/if_wi_hostap.c sta->tx_max_rate = 0;
sta 520 dev/ic/if_wi_hostap.c sta->rates |= WI_SUPPRATES_1M;
sta 523 dev/ic/if_wi_hostap.c sta->rates |= WI_SUPPRATES_2M;
sta 524 dev/ic/if_wi_hostap.c if (sta->tx_max_rate < 1)
sta 525 dev/ic/if_wi_hostap.c sta->tx_max_rate = 1;
sta 528 dev/ic/if_wi_hostap.c sta->rates |= WI_SUPPRATES_5M;
sta 529 dev/ic/if_wi_hostap.c if (sta->tx_max_rate < 2)
sta 530 dev/ic/if_wi_hostap.c sta->tx_max_rate = 2;
sta 533 dev/ic/if_wi_hostap.c sta->rates |= WI_SUPPRATES_11M;
sta 534 dev/ic/if_wi_hostap.c sta->tx_max_rate = 3;
sta 538 dev/ic/if_wi_hostap.c sta->rates &= sc->wi_supprates;
sta 539 dev/ic/if_wi_hostap.c sta->tx_curr_rate = sta->tx_max_rate;
sta 541 dev/ic/if_wi_hostap.c return (sta->rates == 0 ? -1 : 0);
sta 554 dev/ic/if_wi_hostap.c struct wihap_sta_info *sta;
sta 592 dev/ic/if_wi_hostap.c sta = wihap_sta_find(whi, rxfrm->wi_addr2);
sta 593 dev/ic/if_wi_hostap.c if (sta == NULL) {
sta 614 dev/ic/if_wi_hostap.c sta = wihap_sta_alloc(sc, rxfrm->wi_addr2);
sta 616 dev/ic/if_wi_hostap.c if (sta == NULL) {
sta 622 dev/ic/if_wi_hostap.c timeout_add(&sta->tmo, hz * whi->inactivity_time);
sta 638 dev/ic/if_wi_hostap.c sta->flags |= WI_SIFLAGS_AUTHEN;
sta 648 dev/ic/if_wi_hostap.c if (!sta->challenge) {
sta 649 dev/ic/if_wi_hostap.c MALLOC(sta->challenge, u_int32_t *, 128,
sta 651 dev/ic/if_wi_hostap.c if (!sta->challenge)
sta 655 dev/ic/if_wi_hostap.c challenge[i] = sta->challenge[i] =
sta 664 dev/ic/if_wi_hostap.c if (challenge_len != 128 || !sta->challenge ||
sta 671 dev/ic/if_wi_hostap.c if (sta->challenge[i] != challenge[i]) {
sta 676 dev/ic/if_wi_hostap.c sta->flags |= WI_SIFLAGS_AUTHEN;
sta 677 dev/ic/if_wi_hostap.c FREE(sta->challenge, M_TEMP);
sta 678 dev/ic/if_wi_hostap.c sta->challenge = NULL;
sta 731 dev/ic/if_wi_hostap.c struct wihap_sta_info *sta;
sta 782 dev/ic/if_wi_hostap.c sta = wihap_sta_find(whi, rxfrm->wi_addr2);
sta 783 dev/ic/if_wi_hostap.c if (sta == NULL || !(sta->flags & WI_SIFLAGS_AUTHEN)) {
sta 790 dev/ic/if_wi_hostap.c if (wihap_check_rates(sta, rates, rates_len) < 0) {
sta 802 dev/ic/if_wi_hostap.c sta->capinfo = capinfo;
sta 828 dev/ic/if_wi_hostap.c asid = sta->asid;
sta 830 dev/ic/if_wi_hostap.c if (sta->flags & WI_SIFLAGS_ASSOC) {
sta 835 dev/ic/if_wi_hostap.c sta->flags |= WI_SIFLAGS_ASSOC;
sta 836 dev/ic/if_wi_hostap.c timeout_add(&sta->tmo, hz * whi->inactivity_time);
sta 871 dev/ic/if_wi_hostap.c struct wihap_sta_info *sta;
sta 879 dev/ic/if_wi_hostap.c sta = wihap_sta_find(whi, rxfrm->wi_addr2);
sta 880 dev/ic/if_wi_hostap.c if (sta == NULL) {
sta 886 dev/ic/if_wi_hostap.c wihap_sta_delete(sta);
sta 900 dev/ic/if_wi_hostap.c struct wihap_sta_info *sta;
sta 908 dev/ic/if_wi_hostap.c sta = wihap_sta_find(whi, rxfrm->wi_addr2);
sta 909 dev/ic/if_wi_hostap.c if (sta == NULL) {
sta 914 dev/ic/if_wi_hostap.c else if (!(sta->flags & WI_SIFLAGS_AUTHEN)) {
sta 924 dev/ic/if_wi_hostap.c sta->flags &= ~WI_SIFLAGS_ASSOC;
sta 1054 dev/ic/if_wi_hostap.c struct wihap_sta_info *sta;
sta 1056 dev/ic/if_wi_hostap.c sta = wihap_sta_find(whi, addr);
sta 1057 dev/ic/if_wi_hostap.c if (sta != NULL && (sta->flags & WI_SIFLAGS_ASSOC)) {
sta 1059 dev/ic/if_wi_hostap.c timeout_add(&sta->tmo, hz * whi->inactivity_time);
sta 1074 dev/ic/if_wi_hostap.c struct wihap_sta_info *sta;
sta 1084 dev/ic/if_wi_hostap.c sta = wihap_sta_find(whi, addr);
sta 1085 dev/ic/if_wi_hostap.c if (sta != NULL && (sta->flags & WI_SIFLAGS_ASSOC)) {
sta 1087 dev/ic/if_wi_hostap.c timeout_add(&sta->tmo, hz * whi->inactivity_time);
sta 1088 dev/ic/if_wi_hostap.c *txrate = txratetable[sta->tx_curr_rate];
sta 1112 dev/ic/if_wi_hostap.c struct wihap_sta_info *sta;
sta 1143 dev/ic/if_wi_hostap.c sta = wihap_sta_find(whi, rxfrm->wi_addr2);
sta 1146 dev/ic/if_wi_hostap.c if (sta == NULL || !(sta->flags & WI_SIFLAGS_ASSOC)) {
sta 1157 dev/ic/if_wi_hostap.c timeout_add(&sta->tmo, hz * whi->inactivity_time);
sta 1158 dev/ic/if_wi_hostap.c sta->sig_info = letoh16(rxfrm->wi_q_info);
sta 1205 dev/ic/if_wi_hostap.c struct wihap_sta_info *sta;
sta 1224 dev/ic/if_wi_hostap.c sta = wihap_sta_find(whi, reqsta.addr);
sta 1225 dev/ic/if_wi_hostap.c if (sta == NULL)
sta 1229 dev/ic/if_wi_hostap.c if (sta->flags & WI_SIFLAGS_ASSOC)
sta 1230 dev/ic/if_wi_hostap.c wihap_sta_disassoc(sc, sta->addr,
sta 1233 dev/ic/if_wi_hostap.c if (sta->flags & WI_SIFLAGS_AUTHEN)
sta 1234 dev/ic/if_wi_hostap.c wihap_sta_deauth(sc, sta->addr,
sta 1237 dev/ic/if_wi_hostap.c wihap_sta_delete(sta);
sta 1246 dev/ic/if_wi_hostap.c sta = wihap_sta_find(whi, reqsta.addr);
sta 1247 dev/ic/if_wi_hostap.c if (sta == NULL)
sta 1250 dev/ic/if_wi_hostap.c reqsta.flags = sta->flags;
sta 1251 dev/ic/if_wi_hostap.c reqsta.asid = sta->asid;
sta 1252 dev/ic/if_wi_hostap.c reqsta.capinfo = sta->capinfo;
sta 1253 dev/ic/if_wi_hostap.c reqsta.sig_info = sta->sig_info;
sta 1254 dev/ic/if_wi_hostap.c reqsta.rates = sta->rates;
sta 1268 dev/ic/if_wi_hostap.c sta = wihap_sta_find(whi, reqsta.addr);
sta 1269 dev/ic/if_wi_hostap.c if (sta != NULL) {
sta 1279 dev/ic/if_wi_hostap.c sta = wihap_sta_alloc(sc, reqsta.addr);
sta 1280 dev/ic/if_wi_hostap.c sta->flags = reqsta.flags;
sta 1281 dev/ic/if_wi_hostap.c timeout_add(&sta->tmo, hz * whi->inactivity_time);
sta 1307 dev/ic/if_wi_hostap.c sta = TAILQ_FIRST(&whi->sta_list);
sta 1308 dev/ic/if_wi_hostap.c while (sta && reqall.size >= n+sizeof(struct hostap_sta)) {
sta 1310 dev/ic/if_wi_hostap.c bcopy(sta->addr, stabuf.addr, ETHER_ADDR_LEN);
sta 1311 dev/ic/if_wi_hostap.c stabuf.asid = sta->asid;
sta 1312 dev/ic/if_wi_hostap.c stabuf.flags = sta->flags;
sta 1313 dev/ic/if_wi_hostap.c stabuf.capinfo = sta->capinfo;
sta 1314 dev/ic/if_wi_hostap.c stabuf.sig_info = sta->sig_info;
sta 1315 dev/ic/if_wi_hostap.c stabuf.rates = sta->rates;
sta 1322 dev/ic/if_wi_hostap.c sta = TAILQ_NEXT(sta, list);
sta 1336 dev/ic/if_wi_hostap.c sta = TAILQ_FIRST(&whi->sta_list);
sta 1337 dev/ic/if_wi_hostap.c while (sta && na->na_size >=
sta 1340 dev/ic/if_wi_hostap.c IEEE80211_ADDR_COPY(nr.nr_macaddr, sta->addr);
sta 1345 dev/ic/if_wi_hostap.c nr.nr_associd = sta->asid;
sta 1346 dev/ic/if_wi_hostap.c nr.nr_rssi = sta->sig_info >> 8;
sta 1348 dev/ic/if_wi_hostap.c nr.nr_capinfo = sta->capinfo;
sta 1350 dev/ic/if_wi_hostap.c if (sta->rates & WI_SUPPRATES_1M)
sta 1352 dev/ic/if_wi_hostap.c if (sta->rates & WI_SUPPRATES_2M)
sta 1354 dev/ic/if_wi_hostap.c if (sta->rates & WI_SUPPRATES_5M)
sta 1356 dev/ic/if_wi_hostap.c if (sta->rates & WI_SUPPRATES_11M)
sta 1365 dev/ic/if_wi_hostap.c sta = TAILQ_NEXT(sta, list);
sta 2431 dev/ic/rt2661.c uint32_t tmp, sta[3];
sta 2567 dev/ic/rt2661.c RAL_READ_REGION_4(sc, RT2661_STA_CSR0, sta, N(sta));
sta 716 dev/pci/if_iwi.c if (IEEE80211_ADDR_EQ(sc->sta[i], macaddr))
sta 723 dev/pci/if_iwi.c IEEE80211_ADDR_COPY(sc->sta[i], macaddr);
sta 114 dev/pci/if_iwivar.h uint8_t sta[IWI_MAX_NODE][IEEE80211_ADDR_LEN];
sta 1967 dev/usb/if_ral.c ural_read_multi(sc, RAL_STA_CSR0, sc->sta, sizeof sc->sta);
sta 2124 dev/usb/if_ral.c ural_read_multi(sc, RAL_STA_CSR0, sc->sta, sizeof sc->sta);
sta 2153 dev/usb/if_ral.c USETW(req.wLength, sizeof sc->sta);
sta 2156 dev/usb/if_ral.c USBD_DEFAULT_TIMEOUT, &req, sc->sta, sizeof sc->sta, 0,
sta 2177 dev/usb/if_ral.c ifp->if_oerrors += letoh16(sc->sta[9]);
sta 2180 dev/usb/if_ral.c letoh16(sc->sta[7]) + /* TX one-retry ok count */
sta 2181 dev/usb/if_ral.c letoh16(sc->sta[8]) + /* TX more-retry ok count */
sta 2182 dev/usb/if_ral.c letoh16(sc->sta[9]); /* TX retry-fail count */
sta 2186 dev/usb/if_ral.c letoh16(sc->sta[6]); /* TX no-retry ok count */
sta 109 dev/usb/if_ralvar.h uint16_t sta[11];
sta 1991 dev/usb/if_rum.c rum_read_multi(sc, RT2573_STA_CSR0, sc->sta, sizeof sc->sta);
sta 2195 dev/usb/if_rum.c rum_read_multi(sc, RT2573_STA_CSR0, sc->sta, sizeof sc->sta);
sta 2221 dev/usb/if_rum.c USETW(req.wLength, sizeof sc->sta);
sta 2224 dev/usb/if_rum.c USBD_DEFAULT_TIMEOUT, &req, sc->sta, sizeof sc->sta, 0,
sta 2243 dev/usb/if_rum.c ifp->if_oerrors += letoh32(sc->sta[5]) >> 16;
sta 2246 dev/usb/if_rum.c (letoh32(sc->sta[4]) >> 16) + /* TX one-retry ok count */
sta 2247 dev/usb/if_rum.c (letoh32(sc->sta[5]) & 0xffff) + /* TX more-retry ok count */
sta 2248 dev/usb/if_rum.c (letoh32(sc->sta[5]) >> 16); /* TX retry-fail count */
sta 2252 dev/usb/if_rum.c (letoh32(sc->sta[4]) & 0xffff); /* TX no-retry ok count */
sta 111 dev/usb/if_rumvar.h uint32_t sta[6];
sta 1436 net/if_spppsubr.c sta:
sta 1447 net/if_spppsubr.c goto sta;