Lines Matching refs:tx_cmd
351 struct il3945_tx_cmd *tx_cmd = (struct il3945_tx_cmd *)cmd->cmd.payload; in il3945_build_tx_cmd_hwcrypto() local
354 tx_cmd->sec_ctl = 0; in il3945_build_tx_cmd_hwcrypto()
358 tx_cmd->sec_ctl = TX_CMD_SEC_CCM; in il3945_build_tx_cmd_hwcrypto()
359 memcpy(tx_cmd->key, keyinfo->key, keyinfo->keylen); in il3945_build_tx_cmd_hwcrypto()
367 tx_cmd->sec_ctl |= TX_CMD_SEC_KEY128; in il3945_build_tx_cmd_hwcrypto()
370 tx_cmd->sec_ctl |= in il3945_build_tx_cmd_hwcrypto()
375 memcpy(&tx_cmd->key[3], keyinfo->key, keyinfo->keylen); in il3945_build_tx_cmd_hwcrypto()
395 struct il3945_tx_cmd *tx_cmd = (struct il3945_tx_cmd *)cmd->cmd.payload; in il3945_build_tx_cmd_basic() local
396 __le32 tx_flags = tx_cmd->tx_flags; in il3945_build_tx_cmd_basic()
399 tx_cmd->stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; in il3945_build_tx_cmd_basic()
412 tx_cmd->sta_id = std_id; in il3945_build_tx_cmd_basic()
418 tx_cmd->tid_tspec = qc[0] & 0xf; in il3945_build_tx_cmd_basic()
429 tx_cmd->timeout.pm_frame_timeout = cpu_to_le16(3); in il3945_build_tx_cmd_basic()
431 tx_cmd->timeout.pm_frame_timeout = cpu_to_le16(2); in il3945_build_tx_cmd_basic()
433 tx_cmd->timeout.pm_frame_timeout = 0; in il3945_build_tx_cmd_basic()
436 tx_cmd->driver_txop = 0; in il3945_build_tx_cmd_basic()
437 tx_cmd->tx_flags = tx_flags; in il3945_build_tx_cmd_basic()
438 tx_cmd->next_frame_len = 0; in il3945_build_tx_cmd_basic()
451 struct il3945_tx_cmd *tx_cmd; in il3945_tx_skb() local
526 tx_cmd = (struct il3945_tx_cmd *)out_cmd->cmd.payload; in il3945_tx_skb()
528 memset(tx_cmd, 0, sizeof(*tx_cmd)); in il3945_tx_skb()
542 memcpy(tx_cmd->hdr, hdr, hdr_len); in il3945_tx_skb()
553 tx_cmd->len = cpu_to_le16((u16) skb->len); in il3945_tx_skb()
555 tx_cmd->tx_flags &= ~TX_CMD_FLG_ANT_A_MSK; in il3945_tx_skb()
556 tx_cmd->tx_flags &= ~TX_CMD_FLG_ANT_B_MSK; in il3945_tx_skb()
608 D_TX("tx_flags = 0X%x\n", le32_to_cpu(tx_cmd->tx_flags)); in il3945_tx_skb()
609 il_print_hex_dump(il, IL_DL_TX, tx_cmd, sizeof(*tx_cmd)); in il3945_tx_skb()
610 il_print_hex_dump(il, IL_DL_TX, (u8 *) tx_cmd->hdr, in il3945_tx_skb()
2577 scan->tx_cmd.tx_flags = TX_CMD_FLG_SEQ_CTL_MSK; in il3945_request_scan()
2578 scan->tx_cmd.sta_id = il->hw_params.bcast_id; in il3945_request_scan()
2579 scan->tx_cmd.stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; in il3945_request_scan()
2586 scan->tx_cmd.rate = RATE_1M_PLCP; in il3945_request_scan()
2590 scan->tx_cmd.rate = RATE_6M_PLCP; in il3945_request_scan()
2611 scan->tx_cmd.len = cpu_to_le16(len); in il3945_request_scan()
2625 le16_to_cpu(scan->tx_cmd.len) + in il3945_request_scan()