Lines Matching refs:bgscan

303 	memset((u8 *)&common->bgscan, 0, sizeof(struct rsi_bgscan_params));  in init_bgscan_params()
304 common->bgscan.bgscan_threshold = RSI_DEF_BGSCAN_THRLD; in init_bgscan_params()
305 common->bgscan.roam_threshold = RSI_DEF_ROAM_THRLD; in init_bgscan_params()
306 common->bgscan.bgscan_periodicity = RSI_BGSCAN_PERIODICITY; in init_bgscan_params()
307 common->bgscan.num_bgscan_channels = 0; in init_bgscan_params()
308 common->bgscan.two_probe = 1; in init_bgscan_params()
309 common->bgscan.active_scan_duration = RSI_ACTIVE_SCAN_TIME; in init_bgscan_params()
310 common->bgscan.passive_scan_duration = RSI_PASSIVE_SCAN_TIME; in init_bgscan_params()
1826 struct rsi_bgscan_params *params = &common->bgscan; in rsi_send_bgscan_params()
1828 struct rsi_bgscan_config *bgscan; in rsi_send_bgscan_params() local
1830 u16 frame_len = sizeof(*bgscan); in rsi_send_bgscan_params()
1840 bgscan = (struct rsi_bgscan_config *)skb->data; in rsi_send_bgscan_params()
1841 rsi_set_len_qno(&bgscan->desc_dword0.len_qno, in rsi_send_bgscan_params()
1843 bgscan->desc_dword0.frame_type = BG_SCAN_PARAMS; in rsi_send_bgscan_params()
1844 bgscan->bgscan_threshold = cpu_to_le16(params->bgscan_threshold); in rsi_send_bgscan_params()
1845 bgscan->roam_threshold = cpu_to_le16(params->roam_threshold); in rsi_send_bgscan_params()
1847 bgscan->bgscan_periodicity = in rsi_send_bgscan_params()
1849 bgscan->active_scan_duration = in rsi_send_bgscan_params()
1851 bgscan->passive_scan_duration = in rsi_send_bgscan_params()
1853 bgscan->two_probe = params->two_probe; in rsi_send_bgscan_params()
1855 bgscan->num_bgscan_channels = scan_req->n_channels; in rsi_send_bgscan_params()
1856 for (i = 0; i < bgscan->num_bgscan_channels; i++) in rsi_send_bgscan_params()
1857 bgscan->channels2scan[i] = in rsi_send_bgscan_params()
1872 struct rsi_bgscan_probe *bgscan; in rsi_send_bgscan_probe_req() local
1875 u16 frame_len = sizeof(*bgscan); in rsi_send_bgscan_probe_req()
1895 bgscan = (struct rsi_bgscan_probe *)skb->data; in rsi_send_bgscan_probe_req()
1896 bgscan->desc_dword0.frame_type = BG_SCAN_PROBE_REQ; in rsi_send_bgscan_probe_req()
1897 bgscan->flags = cpu_to_le16(HOST_BG_SCAN_TRIG); in rsi_send_bgscan_probe_req()
1899 bgscan->mgmt_rate = cpu_to_le16(RSI_RATE_6); in rsi_send_bgscan_probe_req()
1900 bgscan->def_chan = cpu_to_le16(40); in rsi_send_bgscan_probe_req()
1902 bgscan->mgmt_rate = cpu_to_le16(RSI_RATE_1); in rsi_send_bgscan_probe_req()
1903 bgscan->def_chan = cpu_to_le16(11); in rsi_send_bgscan_probe_req()
1905 bgscan->channel_scan_time = cpu_to_le16(RSI_CHANNEL_SCAN_TIME); in rsi_send_bgscan_probe_req()
1916 bgscan->probe_req_length = cpu_to_le16(probereq_skb->len); in rsi_send_bgscan_probe_req()
1918 rsi_set_len_qno(&bgscan->desc_dword0.len_qno, in rsi_send_bgscan_probe_req()