Lines Matching refs:cmd

157 	struct iwm_beacon_filter_cmd *cmd)
162 0, sizeof(struct iwm_beacon_filter_cmd), cmd);
167 le32toh(cmd->ba_enable_beacon_abort));
170 le32toh(cmd->ba_escape_timer));
173 le32toh(cmd->bf_debug_flag));
176 le32toh(cmd->bf_enable_beacon_filter));
179 le32toh(cmd->bf_energy_delta));
182 le32toh(cmd->bf_escape_timer));
185 le32toh(cmd->bf_roaming_energy_delta));
188 le32toh(cmd->bf_roaming_state));
191 le32toh(cmd->bf_temp_threshold));
194 le32toh(cmd->bf_temp_fast_filter));
197 le32toh(cmd->bf_temp_slow_filter));
204 struct iwm_node *in, struct iwm_beacon_filter_cmd *cmd)
206 cmd->ba_enable_beacon_abort = htole32(sc->sc_bf.ba_enabled);
210 iwm_mvm_power_log(struct iwm_softc *sc, struct iwm_mac_power_cmd *cmd)
215 cmd->id_and_color, IWM_POWER_SCHEME_CAM, le16toh(cmd->flags));
217 "Keep alive = %u sec\n", le16toh(cmd->keep_alive_seconds));
219 if (!(cmd->flags & htole16(IWM_POWER_FLAGS_POWER_MANAGEMENT_ENA_MSK))) {
226 "Rx timeout = %u usec\n", le32toh(cmd->rx_data_timeout));
228 "Tx timeout = %u usec\n", le32toh(cmd->tx_data_timeout));
229 if (cmd->flags & htole16(IWM_POWER_FLAGS_SKIP_OVER_DTIM_MSK))
231 "DTIM periods to skip = %u\n", cmd->skip_dtim_periods);
252 struct iwm_mac_power_cmd *cmd)
260 cmd->skip_dtim_periods = 0;
261 cmd->flags &= ~htole16(IWM_POWER_FLAGS_SKIP_OVER_DTIM_MSK);
276 cmd->skip_dtim_periods = 1 + skip;
277 cmd->flags |= htole16(IWM_POWER_FLAGS_SKIP_OVER_DTIM_MSK);
282 struct iwm_mac_power_cmd *cmd)
291 cmd->id_and_color = htole32(IWM_FW_CMD_ID_AND_COLOR(ivp->id,
305 cmd->keep_alive_seconds = htole16(keep_alive);
310 cmd->flags |= htole16(IWM_POWER_FLAGS_POWER_SAVE_ENA_MSK);
311 cmd->flags |= htole16(IWM_POWER_FLAGS_POWER_MANAGEMENT_ENA_MSK);
313 iwm_mvm_power_config_skip_dtim(sc, cmd);
315 cmd->rx_data_timeout =
317 cmd->tx_data_timeout =
324 struct iwm_mac_power_cmd cmd = {};
326 iwm_mvm_power_build_cmd(sc, in, &cmd);
327 iwm_mvm_power_log(sc, &cmd);
330 sizeof(cmd), &cmd);
335 struct iwm_beacon_filter_cmd *cmd)
339 iwm_mvm_beacon_filter_set_cqm_params(sc, in, cmd);
340 ret = iwm_mvm_beacon_filter_send_cmd(sc, cmd);
351 struct iwm_beacon_filter_cmd cmd = {
356 return _iwm_mvm_enable_beacon_filter(sc, in, &cmd);
362 struct iwm_beacon_filter_cmd cmd = {};
365 ret = iwm_mvm_beacon_filter_send_cmd(sc, &cmd);
403 struct iwm_beacon_filter_cmd cmd = {
413 return _iwm_mvm_enable_beacon_filter(sc, in, &cmd);
457 struct iwm_device_power_cmd cmd = {
465 cmd.flags |= htole16(IWM_DEVICE_POWER_FLAGS_POWER_SAVE_ENA_MSK);
468 "Sending device power command with flags = 0x%X\n", cmd.flags);
471 IWM_POWER_TABLE_CMD, 0, sizeof(cmd), &cmd);