Lines Matching refs:arg

19 	struct wfx_hif_mib_current_tx_power_level arg = {
24 &arg, sizeof(arg));
30 struct wfx_hif_mib_beacon_wake_up_period arg = {
39 &arg, sizeof(arg));
44 struct wfx_hif_mib_rcpi_rssi_threshold arg = {
50 arg.upperthresh = 1;
51 arg.lowerthresh = 1;
53 arg.upper_threshold = rssi_thold + rssi_hyst;
54 arg.upper_threshold = (arg.upper_threshold + 110) * 2;
55 arg.lower_threshold = rssi_thold;
56 arg.lower_threshold = (arg.lower_threshold + 110) * 2;
60 &arg, sizeof(arg));
64 struct wfx_hif_mib_extended_count_table *arg)
68 memset(arg, 0xFF, sizeof(*arg));
70 arg, sizeof(struct wfx_hif_mib_count_table));
73 arg, sizeof(struct wfx_hif_mib_extended_count_table));
79 struct wfx_hif_mib_mac_address arg = { };
82 ether_addr_copy(arg.mac_addr, mac);
84 &arg, sizeof(arg));
89 struct wfx_hif_mib_rx_filter arg = { };
92 arg.bssid_filter = 1;
94 arg.fwd_probe_req = 1;
95 return wfx_hif_write_mib(wvif->wdev, wvif->id, HIF_MIB_ID_RX_FILTER, &arg, sizeof(arg));
102 struct wfx_hif_mib_bcn_filter_table *arg;
103 int buf_len = struct_size(arg, ie_table, tbl_len);
105 arg = kzalloc(buf_len, GFP_KERNEL);
106 if (!arg)
108 arg->num_of_info_elmts = cpu_to_le32(tbl_len);
109 memcpy(arg->ie_table, tbl, flex_array_size(arg, ie_table, tbl_len));
111 arg, buf_len);
112 kfree(arg);
118 struct wfx_hif_mib_bcn_filter_enable arg = {
123 &arg, sizeof(arg));
128 struct wfx_hif_mib_gl_operational_power_mode arg = {
134 &arg, sizeof(arg));
140 struct wfx_hif_mib_template_frame *arg;
144 arg = (struct wfx_hif_mib_template_frame *)skb->data;
146 arg->init_rate = init_rate;
147 arg->frame_type = frame_type;
148 arg->frame_length = cpu_to_le16(skb->len);
150 arg, sizeof(*arg) + skb->len);
155 struct wfx_hif_mib_protected_mgmt_policy arg = { };
159 arg.pmf_enable = 1;
160 arg.host_enc_auth_frames = 1;
163 arg.unpmf_allowed = 1;
165 &arg, sizeof(arg));
170 struct wfx_hif_mib_block_ack_policy arg = {
176 &arg, sizeof(arg));
182 struct wfx_hif_mib_set_association_mode arg = {
192 &arg, sizeof(arg));
197 struct wfx_hif_mib_set_tx_rate_retry_policy *arg;
198 size_t size = struct_size(arg, tx_rate_retry_policy, 1);
201 arg = kzalloc(size, GFP_KERNEL);
202 if (!arg)
204 arg->num_tx_rate_policies = 1;
205 arg->tx_rate_retry_policy[0].policy_index = policy_index;
206 arg->tx_rate_retry_policy[0].short_retry_count = 255;
207 arg->tx_rate_retry_policy[0].long_retry_count = 255;
208 arg->tx_rate_retry_policy[0].first_rate_sel = 1;
209 arg->tx_rate_retry_policy[0].terminate = 1;
210 arg->tx_rate_retry_policy[0].count_init = 1;
211 memcpy(&arg->tx_rate_retry_policy[0].rates, rates,
212 sizeof(arg->tx_rate_retry_policy[0].rates));
214 arg, size);
215 kfree(arg);
221 struct wfx_hif_mib_keep_alive_period arg = {
226 &arg, sizeof(arg));
231 struct wfx_hif_mib_arp_ip_addr_table arg = {
238 memcpy(arg.ipv4_address, addr, sizeof(arg.ipv4_address));
239 arg.arp_enable = HIF_ARP_NS_FILTERING_ENABLE;
242 &arg, sizeof(arg));
247 struct wfx_hif_mib_gl_set_multi_msg arg = {
251 return wfx_hif_write_mib(wdev, -1, HIF_MIB_ID_GL_SET_MULTI_MSG, &arg, sizeof(arg));
256 struct wfx_hif_mib_set_uapsd_information arg = { };
259 arg.trig_voice = 1;
261 arg.trig_video = 1;
263 arg.trig_be = 1;
265 arg.trig_bckgrnd = 1;
267 &arg, sizeof(arg));
272 struct wfx_hif_mib_non_erp_protection arg = {
277 &arg, sizeof(arg));
282 struct wfx_hif_mib_slot_time arg = {
286 return wfx_hif_write_mib(wvif->wdev, wvif->id, HIF_MIB_ID_SLOT_TIME, &arg, sizeof(arg));
291 struct wfx_hif_mib_wep_default_key_id arg = {
296 &arg, sizeof(arg));
301 struct wfx_hif_mib_dot11_rts_threshold arg = {
306 &arg, sizeof(arg));