Lines Matching defs:mh

291 	struct mwl_hal *mh;
302 mh = mwl_hal_attach(sc->sc_dev, devid,
304 if (mh == NULL) {
309 sc->sc_mh = mh;
315 if (mwl_hal_fwload(mh, NULL) != 0) {
320 if (mwl_hal_gethwspecs(mh, &sc->sc_hwspecs) != 0) {
517 mwl_hal_detach(mh);
595 struct mwl_hal *mh = sc->sc_mh;
607 hvap = mwl_hal_newvap(mh, MWL_HAL_AP, mac);
617 hvap = mwl_hal_newvap(mh, MWL_HAL_STA, mac);
721 struct mwl_hal *mh = sc->sc_mh;
728 mwl_hal_intrset(mh, 0); /* disable interrupts */
754 mwl_hal_intrset(mh, sc->sc_imask);
797 struct mwl_hal *mh = sc->sc_mh;
812 mwl_hal_getisr(mh, &status); /* NB: clears ISR too */
828 mwl_hal_cmddone(mh);
898 struct mwl_hal *mh = sc->sc_mh;
904 if (mwl_hal_getwatchdogbitmap(mh, &bitmap) != 0) {
915 sp = mwl_hal_bastream_lookup(mh, bitmap);
928 sp = mwl_hal_bastream_lookup(mh, bitmap);
1116 struct mwl_hal *mh = sc->sc_mh;
1118 mwl_hal_setantenna(mh, WL_ANTENNATYPE_RX, sc->sc_rxantenna);
1119 mwl_hal_setantenna(mh, WL_ANTENNATYPE_TX, sc->sc_txantenna);
1120 mwl_hal_setradio(mh, 1, WL_AUTO_PREAMBLE);
1124 mwl_hal_setrateadaptmode(mh, 0);
1125 mwl_hal_setoptimizationlevel(mh,
1128 mwl_hal_setregioncode(mh, mwl_map2regioncode(&ic->ic_regdomain));
1130 mwl_hal_setaggampduratemode(mh, 1, 80); /* XXX */
1131 mwl_hal_setcfend(mh, 0); /* XXX */
1139 struct mwl_hal *mh = sc->sc_mh;
1187 mwl_hal_intrset(mh, sc->sc_imask);
1252 struct mwl_hal *mh = sc->sc_mh;
1256 mwl_hal_intrset(mh, 0); /* disable interrupts */
1258 mwl_hal_intrset(mh, sc->sc_imask);
1756 struct mwl_hal *mh = sc->sc_mh;
1758 mwl_hal_setpromisc(mh, ic->ic_promisc > 0);
1800 struct mwl_hal *mh = sc->sc_mh;
1827 mwl_hal_setgprot(mh, prot);
2891 struct mwl_hal *mh = sc->sc_mh;
2903 if (mwl_hal_setedcaparams(mh, txq->qnum, cwmin, cwmax, aifs, txoplim)) {
3798 struct mwl_hal *mh = sc->sc_mh;
3812 mwl_hal_intrset(mh, 0); /* disable interrupts */
3816 mwl_hal_setchannel(mh, &hchan);
3827 mwl_hal_settxpower(mh, &hchan, maxtxpow / 2);
3847 mwl_hal_intrset(mh, sc->sc_imask);
4089 struct mwl_hal *mh = sc->sc_mh;
4103 mwl_hal_setradardetection(mh, DR_CHK_CHANNEL_AVAILABLE_STOP);
4106 mwl_hal_setradardetection(mh, DR_DFS_DISABLE);
4137 mwl_hal_setradardetection(mh, DR_CHK_CHANNEL_AVAILABLE_START);
4169 mwl_hal_setradardetection(mh,
4198 mwl_hal_setdwds(mh, 1);
4216 mwl_hal_setcsmode(mh, CSMODE_AGGRESSIVE);
4218 mwl_hal_setcsmode(mh, CSMODE_AUTO_ENA);
4229 mwl_hal_setdwds(mh, 0);
4327 struct mwl_hal *mh = sc->sc_mh;
4336 mwl_hal_getchannelinfo(mh, MWL_FREQ_BAND_2DOT4GHZ,
4340 mwl_hal_getchannelinfo(mh, MWL_FREQ_BAND_5GHZ,
4601 struct mwl_hal *mh = sc->sc_mh;
4636 if (mwl_hal_getdiagstate(mh, id, indata, insize, &outdata, &outsize)) {
4656 struct mwl_hal *mh = sc->sc_mh;
4661 if (md->md_id == 0 && mwl_hal_fwload(mh, NULL) != 0) {
4665 if (mwl_hal_gethwspecs(mh, &sc->sc_hwspecs) != 0) {