Home
last modified time | relevance | path

Searched refs:psurveyPara (Results 1 – 5 of 5) sorted by relevance

/drivers/staging/rtl8712/
Drtl871x_cmd.c226 struct sitesurvey_parm *psurveyPara; in r8712_sitesurvey_cmd() local
233 psurveyPara = kmalloc(sizeof(*psurveyPara), GFP_ATOMIC); in r8712_sitesurvey_cmd()
234 if (psurveyPara == NULL) { in r8712_sitesurvey_cmd()
238 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, in r8712_sitesurvey_cmd()
240 psurveyPara->bsslimit = cpu_to_le32(48); in r8712_sitesurvey_cmd()
241 psurveyPara->passive_mode = cpu_to_le32(pmlmepriv->passive_mode); in r8712_sitesurvey_cmd()
242 psurveyPara->ss_ssidlen = 0; in r8712_sitesurvey_cmd()
243 memset(psurveyPara->ss_ssid, 0, IW_ESSID_MAX_SIZE + 1); in r8712_sitesurvey_cmd()
245 memcpy(psurveyPara->ss_ssid, pssid->Ssid, pssid->SsidLength); in r8712_sitesurvey_cmd()
246 psurveyPara->ss_ssidlen = cpu_to_le32(pssid->SsidLength); in r8712_sitesurvey_cmd()
/drivers/staging/rtl8188eu/core/
Drtw_cmd.c271 struct sitesurvey_parm *psurveyPara; in rtw_sitesurvey_cmd() local
282 psurveyPara = kzalloc(sizeof(struct sitesurvey_parm), GFP_ATOMIC); in rtw_sitesurvey_cmd()
283 if (psurveyPara == NULL) { in rtw_sitesurvey_cmd()
292 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, GEN_CMD_CODE(_SiteSurvey)); in rtw_sitesurvey_cmd()
295 psurveyPara->scan_mode = pmlmepriv->scan_mode; in rtw_sitesurvey_cmd()
303 memcpy(&psurveyPara->ssid[i], &ssid[i], sizeof(struct ndis_802_11_ssid)); in rtw_sitesurvey_cmd()
304 psurveyPara->ssid_num++; in rtw_sitesurvey_cmd()
315 memcpy(&psurveyPara->ch[i], &ch[i], sizeof(struct rtw_ieee80211_channel)); in rtw_sitesurvey_cmd()
316 psurveyPara->ch_num++; in rtw_sitesurvey_cmd()
Drtw_mlme_ext.c4840 struct sitesurvey_parm *psurveyPara; in survey_timer_hdl() local
4861 psurveyPara = kzalloc(sizeof(struct sitesurvey_parm), GFP_ATOMIC); in survey_timer_hdl()
4862 if (psurveyPara == NULL) { in survey_timer_hdl()
4867 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, GEN_CMD_CODE(_SiteSurvey)); in survey_timer_hdl()
/drivers/staging/rtl8723au/core/
Drtw_cmd.c331 struct sitesurvey_parm *psurveyPara; in rtw_sitesurvey_cmd23a() local
342 psurveyPara = kzalloc(sizeof(struct sitesurvey_parm), GFP_ATOMIC); in rtw_sitesurvey_cmd23a()
343 if (!psurveyPara) { in rtw_sitesurvey_cmd23a()
353 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, in rtw_sitesurvey_cmd23a()
357 psurveyPara->scan_mode = pmlmepriv->scan_mode; in rtw_sitesurvey_cmd23a()
364 memcpy(&psurveyPara->ssid[i], &ssid[i], in rtw_sitesurvey_cmd23a()
366 psurveyPara->ssid_num++; in rtw_sitesurvey_cmd23a()
377 memcpy(&psurveyPara->ch[i], &ch[i], in rtw_sitesurvey_cmd23a()
379 psurveyPara->ch_num++; in rtw_sitesurvey_cmd23a()
Drtw_mlme_ext.c5343 struct sitesurvey_parm *psurveyPara; in survey_timer_hdl() local
5365 psurveyPara = kzalloc(sizeof(struct sitesurvey_parm), in survey_timer_hdl()
5367 if (!psurveyPara) { in survey_timer_hdl()
5372 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, in survey_timer_hdl()