psecnetwork 347 drivers/staging/rtl8188eu/core/rtw_cmd.c struct wlan_bssid_ex *psecnetwork; psecnetwork 390 drivers/staging/rtl8188eu/core/rtw_cmd.c psecnetwork = (struct wlan_bssid_ex *)&psecuritypriv->sec_bss; psecnetwork 391 drivers/staging/rtl8188eu/core/rtw_cmd.c if (!psecnetwork) { psecnetwork 402 drivers/staging/rtl8188eu/core/rtw_cmd.c memset(psecnetwork, 0, t_len); psecnetwork 404 drivers/staging/rtl8188eu/core/rtw_cmd.c memcpy(psecnetwork, &pnetwork->network, get_wlan_bssid_ex_sz(&pnetwork->network)); psecnetwork 406 drivers/staging/rtl8188eu/core/rtw_cmd.c psecuritypriv->authenticator_ie[0] = (unsigned char)psecnetwork->ie_length; psecnetwork 408 drivers/staging/rtl8188eu/core/rtw_cmd.c if (psecnetwork->ie_length - 12 < 255) psecnetwork 409 drivers/staging/rtl8188eu/core/rtw_cmd.c memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->ies[12], psecnetwork->ie_length - 12); psecnetwork 411 drivers/staging/rtl8188eu/core/rtw_cmd.c memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->ies[12], 255); psecnetwork 413 drivers/staging/rtl8188eu/core/rtw_cmd.c psecnetwork->ie_length = 0; psecnetwork 422 drivers/staging/rtl8188eu/core/rtw_cmd.c psecnetwork->ie_length = rtw_restruct_sec_ie(padapter, &pnetwork->network.ies[0], &psecnetwork->ies[0], pnetwork->network.ie_length); psecnetwork 429 drivers/staging/rtl8188eu/core/rtw_cmd.c tmp_len = rtw_restruct_wmm_ie(padapter, &pnetwork->network.ies[0], &psecnetwork->ies[0], pnetwork->network.ie_length, psecnetwork->ie_length); psecnetwork 431 drivers/staging/rtl8188eu/core/rtw_cmd.c if (psecnetwork->ie_length != tmp_len) { psecnetwork 432 drivers/staging/rtl8188eu/core/rtw_cmd.c psecnetwork->ie_length = tmp_len; psecnetwork 451 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_restructure_ht_ie(padapter, &pnetwork->network.ies[0], &psecnetwork->ies[0], psecnetwork 452 drivers/staging/rtl8188eu/core/rtw_cmd.c pnetwork->network.ie_length, &psecnetwork->ie_length); psecnetwork 465 drivers/staging/rtl8188eu/core/rtw_cmd.c pcmd->cmdsz = get_wlan_bssid_ex_sz(psecnetwork);/* get cmdsz before endian conversion */ psecnetwork 469 drivers/staging/rtl8188eu/core/rtw_cmd.c pcmd->parmbuf = (unsigned char *)psecnetwork; psecnetwork 344 drivers/staging/rtl8712/rtl871x_cmd.c struct wlan_bssid_ex *psecnetwork; psecnetwork 375 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork = &psecuritypriv->sec_bss; psecnetwork 376 drivers/staging/rtl8712/rtl871x_cmd.c memcpy(psecnetwork, &pnetwork->network, sizeof(*psecnetwork)); psecnetwork 378 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->IELength; psecnetwork 379 drivers/staging/rtl8712/rtl871x_cmd.c if ((psecnetwork->IELength - 12) < (256 - 1)) psecnetwork 381 drivers/staging/rtl8712/rtl871x_cmd.c &psecnetwork->IEs[12], psecnetwork->IELength - 12); psecnetwork 384 drivers/staging/rtl8712/rtl871x_cmd.c &psecnetwork->IEs[12], (256 - 1)); psecnetwork 385 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->IELength = 0; psecnetwork 394 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->IELength = r8712_restruct_sec_ie(padapter, psecnetwork 396 drivers/staging/rtl8712/rtl871x_cmd.c &psecnetwork->IEs[0], psecnetwork 404 drivers/staging/rtl8712/rtl871x_cmd.c &psecnetwork->IEs[0], psecnetwork 406 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->IELength); psecnetwork 407 drivers/staging/rtl8712/rtl871x_cmd.c if (psecnetwork->IELength != tmp_len) { psecnetwork 408 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->IELength = tmp_len; psecnetwork 425 drivers/staging/rtl8712/rtl871x_cmd.c &psecnetwork->IEs[0], psecnetwork 427 drivers/staging/rtl8712/rtl871x_cmd.c &psecnetwork->IELength); psecnetwork 430 drivers/staging/rtl8712/rtl871x_cmd.c psecuritypriv->supplicant_ie[0] = (u8)psecnetwork->IELength; psecnetwork 431 drivers/staging/rtl8712/rtl871x_cmd.c if (psecnetwork->IELength < 255) psecnetwork 432 drivers/staging/rtl8712/rtl871x_cmd.c memcpy(&psecuritypriv->supplicant_ie[1], &psecnetwork->IEs[0], psecnetwork 433 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->IELength); psecnetwork 435 drivers/staging/rtl8712/rtl871x_cmd.c memcpy(&psecuritypriv->supplicant_ie[1], &psecnetwork->IEs[0], psecnetwork 438 drivers/staging/rtl8712/rtl871x_cmd.c pcmd->cmdsz = r8712_get_wlan_bssid_ex_sz(psecnetwork); psecnetwork 441 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->Length = cpu_to_le32(psecnetwork->Length); psecnetwork 442 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->Ssid.SsidLength = cpu_to_le32( psecnetwork 443 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->Ssid.SsidLength); psecnetwork 444 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->Privacy = cpu_to_le32(psecnetwork->Privacy); psecnetwork 445 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->Rssi = cpu_to_le32(psecnetwork->Rssi); psecnetwork 446 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->NetworkTypeInUse = cpu_to_le32( psecnetwork 447 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->NetworkTypeInUse); psecnetwork 448 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->Configuration.ATIMWindow = cpu_to_le32( psecnetwork 449 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->Configuration.ATIMWindow); psecnetwork 450 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->Configuration.BeaconPeriod = cpu_to_le32( psecnetwork 451 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->Configuration.BeaconPeriod); psecnetwork 452 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->Configuration.DSConfig = cpu_to_le32( psecnetwork 453 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->Configuration.DSConfig); psecnetwork 454 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->Configuration.FHConfig.DwellTime = cpu_to_le32( psecnetwork 455 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->Configuration.FHConfig.DwellTime); psecnetwork 456 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->Configuration.FHConfig.HopPattern = cpu_to_le32( psecnetwork 457 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->Configuration.FHConfig.HopPattern); psecnetwork 458 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->Configuration.FHConfig.HopSet = cpu_to_le32( psecnetwork 459 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->Configuration.FHConfig.HopSet); psecnetwork 460 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->Configuration.FHConfig.Length = cpu_to_le32( psecnetwork 461 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->Configuration.FHConfig.Length); psecnetwork 462 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->Configuration.Length = cpu_to_le32( psecnetwork 463 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->Configuration.Length); psecnetwork 464 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->InfrastructureMode = cpu_to_le32( psecnetwork 465 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->InfrastructureMode); psecnetwork 466 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->IELength = cpu_to_le32(psecnetwork->IELength); psecnetwork 470 drivers/staging/rtl8712/rtl871x_cmd.c pcmd->parmbuf = (unsigned char *)psecnetwork; psecnetwork 772 drivers/staging/rtl8723bs/core/rtw_cmd.c struct wlan_bssid_ex *psecnetwork; psecnetwork 821 drivers/staging/rtl8723bs/core/rtw_cmd.c psecnetwork = (struct wlan_bssid_ex *)&psecuritypriv->sec_bss; psecnetwork 823 drivers/staging/rtl8723bs/core/rtw_cmd.c memset(psecnetwork, 0, t_len); psecnetwork 825 drivers/staging/rtl8723bs/core/rtw_cmd.c memcpy(psecnetwork, &pnetwork->network, get_wlan_bssid_ex_sz(&pnetwork->network)); psecnetwork 827 drivers/staging/rtl8723bs/core/rtw_cmd.c psecuritypriv->authenticator_ie[0] = (unsigned char)psecnetwork->IELength; psecnetwork 829 drivers/staging/rtl8723bs/core/rtw_cmd.c if ((psecnetwork->IELength-12) < (256-1)) { psecnetwork 830 drivers/staging/rtl8723bs/core/rtw_cmd.c memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->IEs[12], psecnetwork->IELength-12); psecnetwork 832 drivers/staging/rtl8723bs/core/rtw_cmd.c memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->IEs[12], (256-1)); psecnetwork 835 drivers/staging/rtl8723bs/core/rtw_cmd.c psecnetwork->IELength = 0; psecnetwork 845 drivers/staging/rtl8723bs/core/rtw_cmd.c psecnetwork->IELength = rtw_restruct_sec_ie(padapter, &pnetwork->network.IEs[0], &psecnetwork->IEs[0], pnetwork->network.IELength); psecnetwork 851 drivers/staging/rtl8723bs/core/rtw_cmd.c tmp_len = rtw_restruct_wmm_ie(padapter, &pnetwork->network.IEs[0], &psecnetwork->IEs[0], pnetwork->network.IELength, psecnetwork->IELength); psecnetwork 853 drivers/staging/rtl8723bs/core/rtw_cmd.c if (psecnetwork->IELength != tmp_len) { psecnetwork 854 drivers/staging/rtl8723bs/core/rtw_cmd.c psecnetwork->IELength = tmp_len; psecnetwork 872 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_build_wmm_ie_ht(padapter, &psecnetwork->IEs[12], &psecnetwork->IELength); psecnetwork 875 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_restructure_ht_ie(padapter, &pnetwork->network.IEs[12], &psecnetwork->IEs[0], psecnetwork 876 drivers/staging/rtl8723bs/core/rtw_cmd.c pnetwork->network.IELength-12, &psecnetwork->IELength, psecnetwork 881 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_append_exented_cap(padapter, &psecnetwork->IEs[0], &psecnetwork->IELength); psecnetwork 885 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->cmdsz = get_wlan_bssid_ex_sz(psecnetwork);/* get cmdsz before endian conversion */ psecnetwork 889 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->parmbuf = (unsigned char *)psecnetwork;