Home
last modified time | relevance | path

Searched refs:slot_arg (Results 1 – 2 of 2) sorted by relevance

/freebsd-head/sys/contrib/dev/rtw89/
HDchan.c1633 struct rtw89_fw_mrc_add_slot_arg *slot_arg; in __mrc_fw_add_role() local
1636 slot_arg = &arg->slots[slot_idx]; in __mrc_fw_add_role()
1639 slot_arg->duration = role->duration; in __mrc_fw_add_role()
1640 slot_arg->role_num = 1; in __mrc_fw_add_role()
1644 slot_arg->roles[0].role_type = RTW89_H2C_MRC_ROLE_WIFI; in __mrc_fw_add_role()
1645 slot_arg->roles[0].is_master = role == ref; in __mrc_fw_add_role()
1646 slot_arg->roles[0].band = chan->band_type; in __mrc_fw_add_role()
1647 slot_arg->roles[0].bw = chan->band_width; in __mrc_fw_add_role()
1648 slot_arg->roles[0].central_ch = chan->channel; in __mrc_fw_add_role()
1649 slot_arg->roles[0].primary_ch = chan->primary_channel; in __mrc_fw_add_role()
[all …]
HDfw.c8055 const struct rtw89_fw_mrc_add_slot_arg *slot_arg, in rtw89_fw_h2c_mrc_add_slot() argument
8064 slot_h2c->w0 = le32_encode_bits(slot_arg->duration, in rtw89_fw_h2c_mrc_add_slot()
8066 le32_encode_bits(slot_arg->courtesy_en, in rtw89_fw_h2c_mrc_add_slot()
8068 le32_encode_bits(slot_arg->role_num, in rtw89_fw_h2c_mrc_add_slot()
8070 slot_h2c->w1 = le32_encode_bits(slot_arg->courtesy_period, in rtw89_fw_h2c_mrc_add_slot()
8072 le32_encode_bits(slot_arg->courtesy_target, in rtw89_fw_h2c_mrc_add_slot()
8075 for (i = 0; i < slot_arg->role_num; i++) { in rtw89_fw_h2c_mrc_add_slot()
8077 le32_encode_bits(slot_arg->roles[i].macid, in rtw89_fw_h2c_mrc_add_slot()
8079 le32_encode_bits(slot_arg->roles[i].role_type, in rtw89_fw_h2c_mrc_add_slot()
8081 le32_encode_bits(slot_arg->roles[i].is_master, in rtw89_fw_h2c_mrc_add_slot()
[all …]