Home | History | Annotate | Download | only in ic

Lines Matching refs:sc_config

196 	buflen = sizeof(sc->sc_config);
197 if (an_read_rid(sc, AN_RID_GENCONFIG, &sc->sc_config, &buflen) != 0) {
566 IEEE80211_ADDR_COPY(sc->sc_config.an_macaddr, ic->ic_myaddr);
567 sc_config.an_scanmode = htole16(AN_SCANMODE_ACTIVE);
568 sc->sc_config.an_authtype = htole16(AN_AUTHTYPE_OPEN); /*XXX*/
570 sc->sc_config.an_authtype |=
573 sc->sc_config.an_authtype |=
576 sc->sc_config.an_listen_interval = htole16(ic->ic_lintval);
577 sc->sc_config.an_beacon_period = htole16(ic->ic_lintval);
579 sc->sc_config.an_psave_mode = htole16(AN_PSAVE_PSP);
581 sc->sc_config.an_psave_mode = htole16(AN_PSAVE_CAM);
582 sc->sc_config.an_ds_channel =
587 sc->sc_config.an_opmode =
589 sc->sc_config.an_rxmode = htole16(AN_RXMODE_BC_MC_ADDR);
592 sc->sc_config.an_opmode = htole16(AN_OPMODE_IBSS_ADHOC);
593 sc->sc_config.an_rxmode = htole16(AN_RXMODE_BC_MC_ADDR);
596 sc->sc_config.an_opmode =
598 sc->sc_config.an_rxmode =
600 sc->sc_config.an_authtype = htole16(AN_AUTHTYPE_NONE);
602 sc->sc_config.an_authtype |=
611 sc->sc_config.an_rxmode |= htole16(AN_RXMODE_NO_8023_HEADER);
650 for (i = 0; i < sizeof(sc->sc_config) / 2; i++)
651 printf(" %04x", ((u_int16_t *)&sc->sc_config)[i]);
655 if ((error = an_write_rid(sc, AN_RID_GENCONFIG, &sc->sc_config,
656 sizeof(sc->sc_config))) != 0) {
1061 prevauth = sc->sc_config.an_authtype;
1065 sc->sc_config.an_authtype = AN_AUTHTYPE_OPEN;
1073 sc->sc_config.an_authtype =
1082 sc->sc_config.an_authtype = AN_AUTHTYPE_OPEN |
1091 if (error == 0 && prevauth != sc->sc_config.an_authtype)
1273 if (sc->sc_config.an_authtype & AN_AUTHTYPE_LEAP)
1275 else if (sc->sc_config.an_authtype & AN_AUTHTYPE_PRIVACY_IN_USE)