Lines Matching refs:cmd
229 struct il_host_cmd cmd = { in il4965_send_led_cmd() local
242 return il_send_cmd(il, &cmd); in il4965_send_led_cmd()
529 struct il_calib_diff_gain_cmd cmd; in il4965_chain_noise_reset() local
540 memset(&cmd, 0, sizeof(cmd)); in il4965_chain_noise_reset()
541 cmd.hdr.op_code = IL_PHY_CALIBRATE_DIFF_GAIN_CMD; in il4965_chain_noise_reset()
542 cmd.diff_gain_a = 0; in il4965_chain_noise_reset()
543 cmd.diff_gain_b = 0; in il4965_chain_noise_reset()
544 cmd.diff_gain_c = 0; in il4965_chain_noise_reset()
545 if (il_send_cmd_pdu(il, C_PHY_CALIBRATION, sizeof(cmd), &cmd)) in il4965_chain_noise_reset()
1243 struct il4965_txpowertable_cmd cmd = { 0 }; in il4965_send_tx_power() local
1261 cmd.band = band; in il4965_send_tx_power()
1262 cmd.channel = il->active.channel; in il4965_send_tx_power()
1266 is_ht40, ctrl_chan_high, &cmd.tx_power); in il4965_send_tx_power()
1270 ret = il_send_cmd_pdu(il, C_TX_PWR_TBL, sizeof(cmd), &cmd); in il4965_send_tx_power()
1461 struct il4965_channel_switch_cmd cmd; in il4965_hw_channel_switch() local
1479 cmd.band = band; in il4965_hw_channel_switch()
1480 cmd.expect_beacon = 0; in il4965_hw_channel_switch()
1482 cmd.channel = cpu_to_le16(ch); in il4965_hw_channel_switch()
1483 cmd.rxon_flags = il->staging.flags; in il4965_hw_channel_switch()
1484 cmd.rxon_filter_flags = il->staging.filter_flags; in il4965_hw_channel_switch()
1500 cmd.switch_time = cpu_to_le32(il->ucode_beacon_time); in il4965_hw_channel_switch()
1507 cmd.switch_time = in il4965_hw_channel_switch()
1511 D_11H("uCode time for the switch is 0x%x\n", cmd.switch_time); in il4965_hw_channel_switch()
1514 cmd.expect_beacon = il_is_channel_radar(ch_info); in il4965_hw_channel_switch()
1522 &cmd.tx_power); in il4965_hw_channel_switch()
1528 return il_send_cmd_pdu(il, C_CHANNEL_SWITCH, sizeof(cmd), &cmd); in il4965_hw_channel_switch()
1701 il4965_build_addsta_hcmd(const struct il_addsta_cmd *cmd, u8 * data) in il4965_build_addsta_hcmd() argument
1704 addsta->mode = cmd->mode; in il4965_build_addsta_hcmd()
1705 memcpy(&addsta->sta, &cmd->sta, sizeof(struct sta_id_modify)); in il4965_build_addsta_hcmd()
1706 memcpy(&addsta->key, &cmd->key, sizeof(struct il4965_keyinfo)); in il4965_build_addsta_hcmd()
1707 addsta->station_flags = cmd->station_flags; in il4965_build_addsta_hcmd()
1708 addsta->station_flags_msk = cmd->station_flags_msk; in il4965_build_addsta_hcmd()
1709 addsta->tid_disable_tx = cmd->tid_disable_tx; in il4965_build_addsta_hcmd()
1710 addsta->add_immediate_ba_tid = cmd->add_immediate_ba_tid; in il4965_build_addsta_hcmd()
1711 addsta->remove_immediate_ba_tid = cmd->remove_immediate_ba_tid; in il4965_build_addsta_hcmd()
1712 addsta->add_immediate_ba_ssn = cmd->add_immediate_ba_ssn; in il4965_build_addsta_hcmd()
1713 addsta->sleep_tx_count = cmd->sleep_tx_count; in il4965_build_addsta_hcmd()