Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/realtek/rtw89/
H A Dchan.c1898 struct rtw89_fw_mrc_add_slot_arg *slot_arg; in __mrc_fw_add_role() local
1901 slot_arg = &arg->slots[slot_idx]; in __mrc_fw_add_role()
1904 slot_arg->duration = role->duration; in __mrc_fw_add_role()
1905 slot_arg->role_num = 1; in __mrc_fw_add_role()
1909 slot_arg->roles[0].role_type = RTW89_H2C_MRC_ROLE_WIFI; in __mrc_fw_add_role()
1910 slot_arg->roles[0].is_master = role == ref; in __mrc_fw_add_role()
1911 slot_arg->roles[0].band = chan->band_type; in __mrc_fw_add_role()
1912 slot_arg->roles[0].bw = chan->band_width; in __mrc_fw_add_role()
1913 slot_arg->roles[0].central_ch = chan->channel; in __mrc_fw_add_role()
1914 slot_arg->roles[0].primary_ch = chan->primary_channel; in __mrc_fw_add_role()
[all …]
H A Dfw.c10247 const struct rtw89_fw_mrc_add_slot_arg *slot_arg, in rtw89_fw_h2c_mrc_add_slot() argument
10256 slot_h2c->w0 = le32_encode_bits(slot_arg->duration, in rtw89_fw_h2c_mrc_add_slot()
10258 le32_encode_bits(slot_arg->courtesy_en, in rtw89_fw_h2c_mrc_add_slot()
10260 le32_encode_bits(slot_arg->role_num, in rtw89_fw_h2c_mrc_add_slot()
10262 slot_h2c->w1 = le32_encode_bits(slot_arg->courtesy_period, in rtw89_fw_h2c_mrc_add_slot()
10264 le32_encode_bits(slot_arg->courtesy_target, in rtw89_fw_h2c_mrc_add_slot()
10267 for (i = 0; i < slot_arg->role_num; i++) { in rtw89_fw_h2c_mrc_add_slot()
10269 le32_encode_bits(slot_arg->roles[i].macid, in rtw89_fw_h2c_mrc_add_slot()
10271 le32_encode_bits(slot_arg->roles[i].role_type, in rtw89_fw_h2c_mrc_add_slot()
10273 le32_encode_bits(slot_arg->roles[i].is_master, in rtw89_fw_h2c_mrc_add_slot()
[all …]