Lines Matching refs:cmd

65 	int cmd;  in mt76_connac_mcu_init_download()  local
70 cmd = MCU_CMD(PATCH_START_REQ); in mt76_connac_mcu_init_download()
72 cmd = MCU_CMD(TARGET_ADDRESS_LEN_REQ); in mt76_connac_mcu_init_download()
74 return mt76_mcu_send_msg(dev, cmd, &req, sizeof(req), true); in mt76_connac_mcu_init_download()
298 int cmd, void *sta_wtbl, struct sk_buff **skb) in mt76_connac_mcu_alloc_wtbl_req() argument
302 .operation = cmd, in mt76_connac_mcu_alloc_wtbl_req()
490 struct mt76_wcid *wcid, int cmd) in mt76_connac_mcu_sta_update_hdr_trans() argument
511 return mt76_mcu_skb_send_msg(dev, skb, cmd, true); in mt76_connac_mcu_sta_update_hdr_trans()
1062 return mt76_mcu_skb_send_msg(dev, skb, info->cmd, true); in mt76_connac_mcu_sta_cmd()
1164 int err, idx, cmd, len; in mt76_connac_mcu_uni_add_dev() local
1189 cmd = enable ? MCU_UNI_CMD(DEV_INFO_UPDATE) : MCU_UNI_CMD(BSS_INFO_UPDATE); in mt76_connac_mcu_uni_add_dev()
1193 err = mt76_mcu_send_msg(dev, cmd, data, len, true); in mt76_connac_mcu_uni_add_dev()
1197 cmd = enable ? MCU_UNI_CMD(BSS_INFO_UPDATE) : MCU_UNI_CMD(DEV_INFO_UPDATE); in mt76_connac_mcu_uni_add_dev()
1201 return mt76_mcu_send_msg(dev, cmd, data, len, true); in mt76_connac_mcu_uni_add_dev()
1239 int cmd, bool enable, bool tx) in mt76_connac_mcu_sta_ba() argument
1266 ret = mt76_mcu_skb_send_msg(dev, skb, cmd, true); in mt76_connac_mcu_sta_ba()
1280 return mt76_mcu_skb_send_msg(dev, skb, cmd, true); in mt76_connac_mcu_sta_ba()
2575 .cmd = suspend ? 1 : 2, in mt76_connac_mcu_set_wow_ctrl()
2698 enum set_key_cmd cmd) in mt76_connac_mcu_sta_key_tlv() argument
2706 sec->add = cmd; in mt76_connac_mcu_sta_key_tlv()
2708 if (cmd == SET_KEY) { in mt76_connac_mcu_sta_key_tlv()
2764 struct mt76_wcid *wcid, enum set_key_cmd cmd) in mt76_connac_mcu_add_key() argument
2774 ret = mt76_connac_mcu_sta_key_tlv(sta_key_conf, skb, key, cmd); in mt76_connac_mcu_add_key()
2929 int mt76_connac_mcu_rdd_cmd(struct mt76_dev *dev, int cmd, u8 index, in mt76_connac_mcu_rdd_cmd() argument
2939 .ctrl = cmd, in mt76_connac_mcu_rdd_cmd()
3182 int cmd, int *wait_seq) in mt76_connac2_mcu_fill_message() argument
3184 int txd_len, mcu_cmd = FIELD_GET(__MCU_CMD_FIELD_ID, cmd); in mt76_connac2_mcu_fill_message()
3198 if (cmd == MCU_CMD(FW_SCATTER)) in mt76_connac2_mcu_fill_message()
3201 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt76_connac2_mcu_fill_message()
3213 if (cmd & __MCU_CMD_FIELD_UNI) { in mt76_connac2_mcu_fill_message()
3232 mcu_txd->ext_cid = FIELD_GET(__MCU_CMD_FIELD_EXT_ID, cmd); in mt76_connac2_mcu_fill_message()
3234 if (mcu_txd->ext_cid || (cmd & __MCU_CMD_FIELD_CE)) { in mt76_connac2_mcu_fill_message()
3235 if (cmd & __MCU_CMD_FIELD_QUERY) in mt76_connac2_mcu_fill_message()
3244 if (cmd & __MCU_CMD_FIELD_WA) in mt76_connac2_mcu_fill_message()