Lines Matching refs:mh

293 	struct mwl_hal *mh;
304 mh = mwl_hal_attach(sc->sc_dev, devid,
306 if (mh == NULL) {
311 sc->sc_mh = mh;
317 if (mwl_hal_fwload(mh, NULL) != 0) {
322 if (mwl_hal_gethwspecs(mh, &sc->sc_hwspecs) != 0) {
519 mwl_hal_detach(mh);
597 struct mwl_hal *mh = sc->sc_mh;
609 hvap = mwl_hal_newvap(mh, MWL_HAL_AP, mac);
619 hvap = mwl_hal_newvap(mh, MWL_HAL_STA, mac);
723 struct mwl_hal *mh = sc->sc_mh;
730 mwl_hal_intrset(mh, 0); /* disable interrupts */
756 mwl_hal_intrset(mh, sc->sc_imask);
799 struct mwl_hal *mh = sc->sc_mh;
813 mwl_hal_getisr(mh, &status); /* NB: clears ISR too */
826 mwl_hal_cmddone(mh);
896 struct mwl_hal *mh = sc->sc_mh;
902 if (mwl_hal_getwatchdogbitmap(mh, &bitmap) != 0) {
913 sp = mwl_hal_bastream_lookup(mh, bitmap);
926 sp = mwl_hal_bastream_lookup(mh, bitmap);
1114 struct mwl_hal *mh = sc->sc_mh;
1116 mwl_hal_setantenna(mh, WL_ANTENNATYPE_RX, sc->sc_rxantenna);
1117 mwl_hal_setantenna(mh, WL_ANTENNATYPE_TX, sc->sc_txantenna);
1118 mwl_hal_setradio(mh, 1, WL_AUTO_PREAMBLE);
1122 mwl_hal_setrateadaptmode(mh, 0);
1123 mwl_hal_setoptimizationlevel(mh,
1126 mwl_hal_setregioncode(mh, mwl_map2regioncode(&ic->ic_regdomain));
1128 mwl_hal_setaggampduratemode(mh, 1, 80); /* XXX */
1129 mwl_hal_setcfend(mh, 0); /* XXX */
1137 struct mwl_hal *mh = sc->sc_mh;
1185 mwl_hal_intrset(mh, sc->sc_imask);
1250 struct mwl_hal *mh = sc->sc_mh;
1254 mwl_hal_intrset(mh, 0); /* disable interrupts */
1256 mwl_hal_intrset(mh, sc->sc_imask);
1754 struct mwl_hal *mh = sc->sc_mh;
1756 mwl_hal_setpromisc(mh, ic->ic_promisc > 0);
1798 struct mwl_hal *mh = sc->sc_mh;
1825 mwl_hal_setgprot(mh, prot);
2893 struct mwl_hal *mh = sc->sc_mh;
2905 if (mwl_hal_setedcaparams(mh, txq->qnum, cwmin, cwmax, aifs, txoplim)) {
3800 struct mwl_hal *mh = sc->sc_mh;
3814 mwl_hal_intrset(mh, 0); /* disable interrupts */
3818 mwl_hal_setchannel(mh, &hchan);
3829 mwl_hal_settxpower(mh, &hchan, maxtxpow / 2);
3849 mwl_hal_intrset(mh, sc->sc_imask);
4091 struct mwl_hal *mh = sc->sc_mh;
4105 mwl_hal_setradardetection(mh, DR_CHK_CHANNEL_AVAILABLE_STOP);
4108 mwl_hal_setradardetection(mh, DR_DFS_DISABLE);
4139 mwl_hal_setradardetection(mh, DR_CHK_CHANNEL_AVAILABLE_START);
4171 mwl_hal_setradardetection(mh,
4200 mwl_hal_setdwds(mh, 1);
4218 mwl_hal_setcsmode(mh, CSMODE_AGGRESSIVE);
4220 mwl_hal_setcsmode(mh, CSMODE_AUTO_ENA);
4231 mwl_hal_setdwds(mh, 0);
4329 struct mwl_hal *mh = sc->sc_mh;
4338 mwl_hal_getchannelinfo(mh, MWL_FREQ_BAND_2DOT4GHZ,
4342 mwl_hal_getchannelinfo(mh, MWL_FREQ_BAND_5GHZ,
4603 struct mwl_hal *mh = sc->sc_mh;
4638 if (mwl_hal_getdiagstate(mh, id, indata, insize, &outdata, &outsize)) {
4658 struct mwl_hal *mh = sc->sc_mh;
4663 if (md->md_id == 0 && mwl_hal_fwload(mh, NULL) != 0) {
4667 if (mwl_hal_gethwspecs(mh, &sc->sc_hwspecs) != 0) {