Home
last modified time | relevance | path

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

/Linux-v4.19/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) { 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()
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_cmd.c239 struct sitesurvey_parm *psurveyPara; in rtw_sitesurvey_cmd() local
250 psurveyPara = kzalloc(sizeof(struct sitesurvey_parm), GFP_ATOMIC); in rtw_sitesurvey_cmd()
251 if (!psurveyPara) { in rtw_sitesurvey_cmd()
260 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, _SiteSurvey_CMD_); in rtw_sitesurvey_cmd()
263 psurveyPara->scan_mode = pmlmepriv->scan_mode; in rtw_sitesurvey_cmd()
271 memcpy(&psurveyPara->ssid[i], &ssid[i], sizeof(struct ndis_802_11_ssid)); in rtw_sitesurvey_cmd()
272 psurveyPara->ssid_num++; in rtw_sitesurvey_cmd()
283 memcpy(&psurveyPara->ch[i], &ch[i], sizeof(struct rtw_ieee80211_channel)); in rtw_sitesurvey_cmd()
284 psurveyPara->ch_num++; in rtw_sitesurvey_cmd()
Drtw_mlme_ext.c4766 struct sitesurvey_parm *psurveyPara; in survey_timer_hdl() local
4787 psurveyPara = kzalloc(sizeof(struct sitesurvey_parm), GFP_ATOMIC); in survey_timer_hdl()
4788 if (!psurveyPara) { in survey_timer_hdl()
4793 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, _SiteSurvey_CMD_); in survey_timer_hdl()
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_cmd.c600 struct sitesurvey_parm *psurveyPara; in rtw_sitesurvey_cmd() local
612 psurveyPara = rtw_zmalloc(sizeof(struct sitesurvey_parm)); in rtw_sitesurvey_cmd()
613 if (psurveyPara == NULL) { in rtw_sitesurvey_cmd()
622 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, GEN_CMD_CODE(_SiteSurvey)); in rtw_sitesurvey_cmd()
625 psurveyPara->scan_mode = pmlmepriv->scan_mode; in rtw_sitesurvey_cmd()
632 memcpy(&psurveyPara->ssid[i], &ssid[i], sizeof(struct ndis_802_11_ssid)); in rtw_sitesurvey_cmd()
633 psurveyPara->ssid_num++; in rtw_sitesurvey_cmd()
636 psurveyPara->ssid[i].Ssid, psurveyPara->ssid[i].SsidLength); in rtw_sitesurvey_cmd()
646 memcpy(&psurveyPara->ch[i], &ch[i], sizeof(struct rtw_ieee80211_channel)); in rtw_sitesurvey_cmd()
647 psurveyPara->ch_num++; in rtw_sitesurvey_cmd()
[all …]
Drtw_mlme_ext.c5832 struct sitesurvey_parm *psurveyPara; in survey_timer_hdl() local
5860 psurveyPara = rtw_zmalloc(sizeof(struct sitesurvey_parm)); in survey_timer_hdl()
5861 if (psurveyPara == NULL) { in survey_timer_hdl()
5866 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, GEN_CMD_CODE(_SiteSurvey)); in survey_timer_hdl()