Lines Matching refs:htole16
100 pCmd->CmdHdr.Cmd = htole16(cmd); \
101 pCmd->CmdHdr.Length = htole16(sizeof(type)); \
271 hvap->bss_type = htole16(WL_MAC_TYPE_PRIMARY_AP); in mwl_hal_attach()
276 hvap->bss_type = htole16(WL_MAC_TYPE_SECONDARY_AP); in mwl_hal_attach()
281 hvap->bss_type = htole16(WL_MAC_TYPE_PRIMARY_CLIENT); in mwl_hal_attach()
286 hvap->bss_type = htole16(WL_MAC_TYPE_SECONDARY_CLIENT); in mwl_hal_attach()
729 pCmd->Action = htole16(HostCmd_ACT_GEN_SET); in mwl_hal_setradio()
733 pCmd->Control = htole16(preamble); in mwl_hal_setradio()
734 pCmd->RadioOn = htole16(onoff); in mwl_hal_setradio()
760 pCmd->Action = htole16(dirSet); in mwl_hal_setantenna()
763 pCmd->AntennaMode = htole16(ant); in mwl_hal_setantenna()
785 pCmd->Action = htole16(HostCmd_ACT_GEN_SET); in mwl_hal_setrtsthreshold()
786 pCmd->Threshold = htole16(threshold); in mwl_hal_setrtsthreshold()
825 pCmd->CmdHdr.Length = htole16(sizeof(HostCmd_802_11h_Detect_Radar)); in mwl_hal_setradardetection()
826 pCmd->Action = htole16(action); in mwl_hal_setradardetection()
828 pCmd->RadarTypeCode = htole16(131); in mwl_hal_setradardetection()
920 pCmd->regionCode = htole16(DOMAIN_CODE_ETSI); in mwl_hal_setregioncode()
923 pCmd->regionCode = htole16(regionCode); in mwl_hal_setregioncode()
1030 pCmd->Action = htole16(HostCmd_ACT_GEN_SET); in mwl_hal_setslottime()
1048 pCmd->Action = htole16(HostCmd_ACT_GEN_SET); in mwl_hal_adjusttxpower()
1051 pCmd->SupportTxPowerLevel = htole16(WL_TX_POWERLEVEL_LOW); in mwl_hal_adjusttxpower()
1053 pCmd->SupportTxPowerLevel = htole16(WL_TX_POWERLEVEL_MEDIUM); in mwl_hal_adjusttxpower()
1055 pCmd->SupportTxPowerLevel = htole16(WL_TX_POWERLEVEL_HIGH); in mwl_hal_adjusttxpower()
1118 pCmd->Action = htole16(HostCmd_ACT_GEN_SET_LIST); in mwl_hal_settxpower()
1122 pCmd->PowerLevelList[i++] = htole16(hc->targetPowers[0]); in mwl_hal_settxpower()
1127 pCmd->PowerLevelList[i] = htole16(pow); in mwl_hal_settxpower()
1168 pCmd->NumOfAdrs = htole16(nmc); in mwl_hal_setmcast()
1169 pCmd->Action = htole16(0xffff); in mwl_hal_setmcast()
1191 pCmd->KeyParam.Length = htole16(sizeof(pCmd->KeyParam)); in mwl_hal_keyset()
1192 pCmd->KeyParam.KeyTypeId = htole16(kv->keyTypeId); in mwl_hal_keyset()
1199 pCmd->KeyParam.KeyLen = htole16(kv->keyLen); in mwl_hal_keyset()
1202 pCmd->KeyParam.KeyLen = htole16(sizeof(TKIP_TYPE_KEY)); in mwl_hal_keyset()
1204 htole16(kv->key.tkip.rsc.low); in mwl_hal_keyset()
1208 htole16(kv->key.tkip.tsc.low); in mwl_hal_keyset()
1213 pCmd->KeyParam.KeyLen = htole16(sizeof(AES_TYPE_KEY)); in mwl_hal_keyset()
1236 pCmd->ActionType = htole16(EncrActionTypeRemoveKey); in mwl_hal_keyreset()
1237 pCmd->KeyParam.Length = htole16(sizeof(pCmd->KeyParam)); in mwl_hal_keyreset()
1238 pCmd->KeyParam.KeyTypeId = htole16(kv->keyTypeId); in mwl_hal_keyreset()
1290 pCmd->CmdHdr.Length = htole16(sizeof(HostCmd_DS_SET_BEACON)-1+frameLen); in mwl_hal_setbeacon()
1291 pCmd->FrmBodyLen = htole16(frameLen); in mwl_hal_setbeacon()
1325 pCmd->Aid = htole16(aid); in mwl_hal_setpowersave_sta()
1343 pCmd->AssocID = htole16(assocId); in mwl_hal_setassocid()
1360 pCmd->Action = htole16(HostCmd_ACT_GEN_SET); in mwl_hal_setchannel()
1490 pCmd->BaInfo.CreateParams.StartSeqNo = htole16(seqno); in mwl_hal_bastream_create()
1604 pCmd->Action = htole16(1); in mwl_hal_setaggampduratemode()
1623 pCmd->Action = htole16(0); in mwl_hal_getaggampduratemode()
1672 to->CapInfo = htole16(from->CapInfo); in cvtPeerInfo()
1673 to->HTCapabilitiesInfo = htole16(from->HTCapabilitiesInfo); in cvtPeerInfo()
1677 to->AddHtInfo.OpMode = htole16(from->AddHtInfo.OpMode); in cvtPeerInfo()
1678 to->AddHtInfo.stbc = htole16(from->AddHtInfo.stbc); in cvtPeerInfo()
1693 pCmd->AID = htole16(aid); in mwl_hal_newstation()
1694 pCmd->StnId = htole16(sid); in mwl_hal_newstation()
1695 pCmd->Action = htole16(0); /* SET */ in mwl_hal_newstation()
1724 pCmd->Action = htole16(2); /* REMOVE */ in mwl_hal_delstation()
1844 pCmd->Action = htole16(onoff); in mwl_hal_setwmm()
1867 pCmd->Action = htole16(0xffff); /* NB: set everything */ in mwl_hal_setedcaparams()
1868 pCmd->TxOP = htole16(TXOPLimit); in mwl_hal_setedcaparams()
1890 pCmd->Action = htole16(HostCmd_ACT_GEN_SET); in mwl_hal_setrateadaptmode()
1891 pCmd->RateAdaptMode = htole16(mode); in mwl_hal_setrateadaptmode()
1908 pCmd->Action = htole16(HostCmd_ACT_GEN_SET); in mwl_hal_setcsmode()
1909 pCmd->CSMode = htole16(csmode); in mwl_hal_setcsmode()
2200 pCmd->Bcnlen = htole16(0); in mwl_hal_GetBeacon()
2240 pCmd->Offset = htole16(reg); in getRFReg()
2241 pCmd->Action = htole16(flag); in getRFReg()
2259 pCmd->Offset = htole16(reg); in getBBReg()
2260 pCmd->Action = htole16(flag); in getBBReg()
2478 mh->mh_cmdbuf[0] = htole16(HostCmd_CMD_CODE_DNLD); in mwlSendBlock()
2479 mh->mh_cmdbuf[1] = htole16(bsize); in mwlSendBlock()