Searched refs:slot_arg (Results 1 – 2 of 2) sorted by relevance
1632 struct rtw89_fw_mrc_add_slot_arg *slot_arg; in __mrc_fw_add_role() local1635 slot_arg = &arg->slots[slot_idx]; in __mrc_fw_add_role()1638 slot_arg->duration = role->duration; in __mrc_fw_add_role()1639 slot_arg->role_num = 1; in __mrc_fw_add_role()1643 slot_arg->roles[0].role_type = RTW89_H2C_MRC_ROLE_WIFI; in __mrc_fw_add_role()1644 slot_arg->roles[0].is_master = role == ref; in __mrc_fw_add_role()1645 slot_arg->roles[0].band = chan->band_type; in __mrc_fw_add_role()1646 slot_arg->roles[0].bw = chan->band_width; in __mrc_fw_add_role()1647 slot_arg->roles[0].central_ch = chan->channel; in __mrc_fw_add_role()1648 slot_arg->roles[0].primary_ch = chan->primary_channel; in __mrc_fw_add_role()[all …]
7802 const struct rtw89_fw_mrc_add_slot_arg *slot_arg, in rtw89_fw_h2c_mrc_add_slot() argument7811 slot_h2c->w0 = le32_encode_bits(slot_arg->duration, in rtw89_fw_h2c_mrc_add_slot()7813 le32_encode_bits(slot_arg->courtesy_en, in rtw89_fw_h2c_mrc_add_slot()7815 le32_encode_bits(slot_arg->role_num, in rtw89_fw_h2c_mrc_add_slot()7817 slot_h2c->w1 = le32_encode_bits(slot_arg->courtesy_period, in rtw89_fw_h2c_mrc_add_slot()7819 le32_encode_bits(slot_arg->courtesy_target, in rtw89_fw_h2c_mrc_add_slot()7822 for (i = 0; i < slot_arg->role_num; i++) { in rtw89_fw_h2c_mrc_add_slot()7824 le32_encode_bits(slot_arg->roles[i].macid, in rtw89_fw_h2c_mrc_add_slot()7826 le32_encode_bits(slot_arg->roles[i].role_type, in rtw89_fw_h2c_mrc_add_slot()7828 le32_encode_bits(slot_arg->roles[i].is_master, in rtw89_fw_h2c_mrc_add_slot()[all …]