Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/rtl8712/
Drtl871x_cmd.c176 struct sitesurvey_parm *psurveyPara; in r8712_sitesurvey_cmd() local
183 psurveyPara = kmalloc(sizeof(*psurveyPara), GFP_ATOMIC); in r8712_sitesurvey_cmd()
184 if (!psurveyPara) { in r8712_sitesurvey_cmd()
188 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, in r8712_sitesurvey_cmd()
190 psurveyPara->bsslimit = cpu_to_le32(48); in r8712_sitesurvey_cmd()
191 psurveyPara->passive_mode = cpu_to_le32(pmlmepriv->passive_mode); in r8712_sitesurvey_cmd()
192 psurveyPara->ss_ssidlen = 0; in r8712_sitesurvey_cmd()
193 memset(psurveyPara->ss_ssid, 0, IW_ESSID_MAX_SIZE + 1); in r8712_sitesurvey_cmd()
197 memcpy(psurveyPara->ss_ssid, pssid->Ssid, len); in r8712_sitesurvey_cmd()
198 psurveyPara->ss_ssidlen = cpu_to_le32(len); in r8712_sitesurvey_cmd()
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_cmd.c288 struct sitesurvey_parm *psurveyPara; in rtw_sitesurvey_cmd() local
302 psurveyPara = kzalloc(sizeof(*psurveyPara), GFP_ATOMIC); in rtw_sitesurvey_cmd()
303 if (!psurveyPara) { in rtw_sitesurvey_cmd()
310 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, GEN_CMD_CODE(_SiteSurvey)); in rtw_sitesurvey_cmd()
313 psurveyPara->scan_mode = pmlmepriv->scan_mode; in rtw_sitesurvey_cmd()
320 memcpy(&psurveyPara->ssid[i], &ssid[i], sizeof(struct ndis_802_11_ssid)); in rtw_sitesurvey_cmd()
321 psurveyPara->ssid_num++; in rtw_sitesurvey_cmd()
Drtw_mlme_ext.c7243 struct sitesurvey_parm *psurveyPara; in survey_timer_hdl() local
7268 psurveyPara = kzalloc(sizeof(*psurveyPara), GFP_ATOMIC); in survey_timer_hdl()
7269 if (!psurveyPara) { in survey_timer_hdl()
7274 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, GEN_CMD_CODE(_SiteSurvey)); in survey_timer_hdl()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_cmd.c531 struct sitesurvey_parm *psurveyPara; in rtw_sitesurvey_cmd() local
542 psurveyPara = rtw_zmalloc(sizeof(struct sitesurvey_parm)); in rtw_sitesurvey_cmd()
543 if (!psurveyPara) { in rtw_sitesurvey_cmd()
550 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, GEN_CMD_CODE(_SiteSurvey)); in rtw_sitesurvey_cmd()
553 psurveyPara->scan_mode = pmlmepriv->scan_mode; in rtw_sitesurvey_cmd()
561 memcpy(&psurveyPara->ssid[i], &ssid[i], sizeof(struct ndis_802_11_ssid)); in rtw_sitesurvey_cmd()
562 psurveyPara->ssid_num++; in rtw_sitesurvey_cmd()
573 memcpy(&psurveyPara->ch[i], &ch[i], sizeof(struct rtw_ieee80211_channel)); in rtw_sitesurvey_cmd()
574 psurveyPara->ch_num++; in rtw_sitesurvey_cmd()
Drtw_mlme_ext.c5098 struct sitesurvey_parm *psurveyPara; in survey_timer_hdl() local
5117 psurveyPara = rtw_zmalloc(sizeof(struct sitesurvey_parm)); in survey_timer_hdl()
5118 if (!psurveyPara) { in survey_timer_hdl()
5123 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, GEN_CMD_CODE(_SiteSurvey)); in survey_timer_hdl()