Lines Matching refs:arg

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