Lines Matching refs:htole16

936 		htole16((uint16_t)IWX_READ(sc, IWX_CSR_HW_REV));
938 ctxt_info->version.size = htole16(sizeof(*ctxt_info) / 4);
1030 prph_sc_ctrl->version.mac_id = htole16(IWX_READ(sc, IWX_CSR_HW_REV));
1031 prph_sc_ctrl->version.size = htole16(sizeof(*prph_scratch) / 4);
1069 ctxt_info_gen3->mtr_size = htole16(cb_size);
1071 ctxt_info_gen3->mcr_size = htole16(cb_size);
2848 cmd_v0.flags = htole16(IWX_TX_QUEUE_CFG_ENABLE_QUEUE);
2932 cmd_v0.flags = htole16(0); /* clear "queue enabled" flag */
3394 cmd.alloc.ssn = htole16(ssn);
3395 cmd.alloc.win_size = htole16(winsize);
3449 cmd.add_immediate_ba_ssn = htole16(ssn);
3450 cmd.rx_ba_window = htole16(winsize);
4432 desc[idx].rbid = htole16(idx & 0xffff);
4692 htole16(ic->ic_channels[chanidx].ic_freq);
4701 tap->wr_chan_flags = htole16(chan_flags);
5165 if (!(desc->status & htole16(IWX_RX_MPDU_RES_STATUS_CRC_OK)) ||
5166 !(desc->status & htole16(IWX_RX_MPDU_RES_STATUS_OVERRUN_OK))) {
5250 qwh4->i_qos[0] &= htole16(~IEEE80211_QOS_AMSDU);
5255 qwh->i_qos[0] &= htole16(~IEEE80211_QOS_AMSDU);
5316 desc->num_tbs = htole16(1);
5467 if (qid != htole16(ba_tfd->q_num))
5844 cmd->hdr_wide.length = htole16(paylen);
5856 desc->tbs[0].tb_len = htole16(MIN(hdrlen + paylen, IWX_FIRST_TB_SIZE));
5860 desc->tbs[1].tb_len = htole16(hdrlen + paylen -
5864 desc->num_tbs = htole16(2);
5866 desc->num_tbs = htole16(1);
6137 bc_ent = htole16(len | (num_fetch_chunks << 14));
6143 bc_ent = htole16(len | (num_fetch_chunks << 12));
6217 tap->wt_chan_freq = htole16(ni->ni_chan->ic_freq);
6226 tap->wt_chan_flags = htole16(chan_flags);
6270 tx->len = htole16(totlen);
6272 tx->flags = htole16(flags);
6279 tx->len = htole16(totlen);
6280 tx->offload_assist = htole16(offload_assist);
6329 desc->num_tbs = htole16(num_tbs);
6331 desc->tbs[0].tb_len = htole16(IWX_FIRST_TB_SIZE);
6336 desc->tbs[1].tb_len = htole16(sizeof(struct iwx_cmd_header) +
6347 desc->tbs[i + 2].tb_len = htole16(seg->ds_len);
6388 .tid_mask = htole16(tids),
6564 cmd->keep_alive_seconds = htole16(keep_alive);
6567 cmd->flags = htole16(IWX_POWER_FLAGS_POWER_SAVE_ENA_MSK);
6587 htole16(IWX_POWER_FLAGS_POWER_MANAGEMENT_ENA_MSK));
6598 cmd.flags = htole16(IWX_DEVICE_POWER_FLAGS_POWER_SAVE_ENA_MSK);
6875 chan->v1.iter_interval = htole16(0);
6920 preq->mac_header.len = htole16(frm - (uint8_t *)wh);
6930 preq->band_data[0].offset = htole16(frm - (uint8_t *)wh);
6946 preq->band_data[0].len = htole16(frm - pos);
6956 preq->band_data[1].offset = htole16(frm - (uint8_t *)wh);
6961 preq->band_data[1].len = htole16(frm - pos);
6968 preq->band_data[1].len = htole16(frm - pos);
6973 preq->common_data.offset = htole16(frm - (uint8_t *)wh);
6983 preq->common_data.len = htole16(frm - pos);
7073 htole16(IWX_SCAN_ADWELL_MAX_BUDGET_DIRECTED_SCAN);
7076 htole16(IWX_SCAN_ADWELL_MAX_BUDGET_FULL_SCAN);
7107 gp->flags = htole16(gen_flags);
7161 scan_p->periodic_params.schedule[0].interval = htole16(0);
7372 cmd->ac[txf].cw_min = htole16(IWX_EXP2(ac->ac_ecwmin));
7373 cmd->ac[txf].cw_max = htole16(IWX_EXP2(ac->ac_ecwmax));
7376 cmd->ac[txf].edca_txop = htole16(ac->ac_txoplimit * 32);
7818 htole16(iwx_rs_vht_rates(sc, ni, 1));
7820 htole16(iwx_rs_vht_rates(sc, ni, 2));
7824 htole16(iwx_rs_ht_rates(sc, ni,
7827 htole16(iwx_rs_ht_rates(sc, ni,
7842 cfg_cmd.max_mpdu_len = htole16(3895);
7844 cfg_cmd.max_mpdu_len = htole16(3839);
7886 htole16(iwx_rs_vht_rates(sc, ni, 1));
7888 htole16(iwx_rs_vht_rates(sc, ni, 2));
7892 htole16(iwx_rs_ht_rates(sc, ni,
7895 htole16(iwx_rs_ht_rates(sc, ni,
7910 cfg_cmd.max_mpdu_len = htole16(3895);
7912 cfg_cmd.max_mpdu_len = htole16(3839);
8483 cmd.common.key_flags = htole16(IWX_STA_KEY_FLG_CCM |
8489 cmd.common.key_flags |= htole16(IWX_STA_KEY_MULTICAST);
8569 cmd.common.key_flags = htole16(IWX_STA_KEY_NOT_VALID |
8931 mcc_cmd.mcc = htole16(alpha2[0] << 8 | alpha2[1]);
11458 sc->sc_rxtap.wr_ihdr.it_len = htole16(sc->sc_rxtap_len);
11462 sc->sc_txtap.wt_ihdr.it_len = htole16(sc->sc_txtap_len);