Home
last modified time | relevance | path

Searched refs:pold_state (Results 1 – 21 of 21) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/staging/rtl8712/
H A Drtl871x_ioctl_set.c231 enum NDIS_802_11_NETWORK_INFRASTRUCTURE *pold_state = in r8712_set_802_11_infrastructure_mode() local
234 if (*pold_state != networktype) { in r8712_set_802_11_infrastructure_mode()
237 (*pold_state == Ndis802_11IBSS)) in r8712_set_802_11_infrastructure_mode()
243 (*pold_state == Ndis802_11Infrastructure) || in r8712_set_802_11_infrastructure_mode()
244 (*pold_state == Ndis802_11IBSS)) { in r8712_set_802_11_infrastructure_mode()
251 *pold_state = networktype; in r8712_set_802_11_infrastructure_mode()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/core/
H A Drtw_ioctl_set.c313 enum ndis_802_11_network_infra *pold_state = &cur_network->network.InfrastructureMode; in rtw_set_802_11_infrastructure_mode() local
317 *pold_state, networktype, get_fwstate(pmlmepriv))); in rtw_set_802_11_infrastructure_mode()
319 if (*pold_state != networktype) { in rtw_set_802_11_infrastructure_mode()
325 if (*pold_state == Ndis802_11APMode) { in rtw_set_802_11_infrastructure_mode()
335 *pold_state == Ndis802_11IBSS) in rtw_set_802_11_infrastructure_mode()
342 if (*pold_state == Ndis802_11Infrastructure || in rtw_set_802_11_infrastructure_mode()
343 *pold_state == Ndis802_11IBSS) { in rtw_set_802_11_infrastructure_mode()
348 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/core/
H A Drtw_ioctl_set.c414 enum NDIS_802_11_NETWORK_INFRASTRUCTURE *pold_state = &(cur_network->network.InfrastructureMode); in rtw_set_802_11_infrastructure_mode() local
418 *pold_state, networktype, get_fwstate(pmlmepriv))); in rtw_set_802_11_infrastructure_mode()
420 if (*pold_state != networktype) { in rtw_set_802_11_infrastructure_mode()
424 if (*pold_state == Ndis802_11APMode) { in rtw_set_802_11_infrastructure_mode()
433 if ((check_fwstate(pmlmepriv, _FW_LINKED) == true) || (*pold_state == Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
440 if ((*pold_state == Ndis802_11Infrastructure) || (*pold_state == Ndis802_11IBSS)) { in rtw_set_802_11_infrastructure_mode()
446 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/
H A Drtw_ioctl_set.c458 NDIS_802_11_NETWORK_INFRASTRUCTURE *pold_state = &(cur_network->network.InfrastructureMode); in rtw_set_802_11_infrastructure_mode() local
463 if (*pold_state != networktype) { in rtw_set_802_11_infrastructure_mode()
466 if (*pold_state == Ndis802_11APMode in rtw_set_802_11_infrastructure_mode()
467 || *pold_state == Ndis802_11_mesh in rtw_set_802_11_infrastructure_mode()
485 if ((is_linked == _TRUE) || (*pold_state == Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
497 if ((*pold_state == Ndis802_11Infrastructure) || (*pold_state == Ndis802_11IBSS)) { in rtw_set_802_11_infrastructure_mode()
510 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/
H A Drtw_ioctl_set.c442 NDIS_802_11_NETWORK_INFRASTRUCTURE *pold_state = &(cur_network->network.InfrastructureMode); in rtw_set_802_11_infrastructure_mode() local
446 if (*pold_state != networktype) { in rtw_set_802_11_infrastructure_mode()
449 if (*pold_state == Ndis802_11APMode in rtw_set_802_11_infrastructure_mode()
450 || *pold_state == Ndis802_11_mesh in rtw_set_802_11_infrastructure_mode()
462 if ((check_fwstate(pmlmepriv, _FW_LINKED) == _TRUE) || (*pold_state == Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
469 if ((*pold_state == Ndis802_11Infrastructure) || (*pold_state == Ndis802_11IBSS)) { in rtw_set_802_11_infrastructure_mode()
475 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/
H A Drtw_ioctl_set.c458 NDIS_802_11_NETWORK_INFRASTRUCTURE *pold_state = &(cur_network->network.InfrastructureMode); in rtw_set_802_11_infrastructure_mode() local
463 if (*pold_state != networktype) { in rtw_set_802_11_infrastructure_mode()
466 if (*pold_state == Ndis802_11APMode in rtw_set_802_11_infrastructure_mode()
467 || *pold_state == Ndis802_11_mesh in rtw_set_802_11_infrastructure_mode()
485 if ((is_linked == _TRUE) || (*pold_state == Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
497 if ((*pold_state == Ndis802_11Infrastructure) || (*pold_state == Ndis802_11IBSS)) { in rtw_set_802_11_infrastructure_mode()
510 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/
H A Drtw_ioctl_set.c442 NDIS_802_11_NETWORK_INFRASTRUCTURE *pold_state = &(cur_network->network.InfrastructureMode); in rtw_set_802_11_infrastructure_mode() local
446 if (*pold_state != networktype) { in rtw_set_802_11_infrastructure_mode()
449 if (*pold_state == Ndis802_11APMode in rtw_set_802_11_infrastructure_mode()
450 || *pold_state == Ndis802_11_mesh in rtw_set_802_11_infrastructure_mode()
462 if ((check_fwstate(pmlmepriv, _FW_LINKED) == _TRUE) || (*pold_state == Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
469 if ((*pold_state == Ndis802_11Infrastructure) || (*pold_state == Ndis802_11IBSS)) { in rtw_set_802_11_infrastructure_mode()
475 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/
H A Drtw_ioctl_set.c450 NDIS_802_11_NETWORK_INFRASTRUCTURE *pold_state = &(cur_network->network.InfrastructureMode); in rtw_set_802_11_infrastructure_mode() local
455 if (*pold_state != networktype) { in rtw_set_802_11_infrastructure_mode()
458 if (*pold_state == Ndis802_11APMode in rtw_set_802_11_infrastructure_mode()
459 || *pold_state == Ndis802_11_mesh in rtw_set_802_11_infrastructure_mode()
477 if ((is_linked == _TRUE) || (*pold_state == Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
484 if ((*pold_state == Ndis802_11Infrastructure) || (*pold_state == Ndis802_11IBSS)) { in rtw_set_802_11_infrastructure_mode()
494 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/
H A Drtw_ioctl_set.c450 NDIS_802_11_NETWORK_INFRASTRUCTURE *pold_state = &(cur_network->network.InfrastructureMode); in rtw_set_802_11_infrastructure_mode() local
455 if (*pold_state != networktype) { in rtw_set_802_11_infrastructure_mode()
458 if (*pold_state == Ndis802_11APMode in rtw_set_802_11_infrastructure_mode()
459 || *pold_state == Ndis802_11_mesh in rtw_set_802_11_infrastructure_mode()
477 if ((is_linked == _TRUE) || (*pold_state == Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
484 if ((*pold_state == Ndis802_11Infrastructure) || (*pold_state == Ndis802_11IBSS)) { in rtw_set_802_11_infrastructure_mode()
494 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/
H A Drtw_ioctl_set.c451 NDIS_802_11_NETWORK_INFRASTRUCTURE *pold_state = &(cur_network->network.InfrastructureMode); in rtw_set_802_11_infrastructure_mode() local
456 if (*pold_state != networktype) { in rtw_set_802_11_infrastructure_mode()
459 if (*pold_state == Ndis802_11APMode in rtw_set_802_11_infrastructure_mode()
460 || *pold_state == Ndis802_11_mesh in rtw_set_802_11_infrastructure_mode()
478 if ((is_linked == _TRUE) || (*pold_state == Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
485 if ((*pold_state == Ndis802_11Infrastructure) || (*pold_state == Ndis802_11IBSS)) { in rtw_set_802_11_infrastructure_mode()
495 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/
H A Drtw_ioctl_set.c459 NDIS_802_11_NETWORK_INFRASTRUCTURE *pold_state = &(cur_network->network.InfrastructureMode); in rtw_set_802_11_infrastructure_mode() local
464 if (*pold_state != networktype) { in rtw_set_802_11_infrastructure_mode()
467 if (*pold_state == Ndis802_11APMode in rtw_set_802_11_infrastructure_mode()
468 || *pold_state == Ndis802_11_mesh in rtw_set_802_11_infrastructure_mode()
486 if ((is_linked == _TRUE) || (*pold_state == Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
493 if ((*pold_state == Ndis802_11Infrastructure) || (*pold_state == Ndis802_11IBSS)) { in rtw_set_802_11_infrastructure_mode()
503 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/
H A Drtw_ioctl_set.c442 NDIS_802_11_NETWORK_INFRASTRUCTURE *pold_state = &(cur_network->network.InfrastructureMode); in rtw_set_802_11_infrastructure_mode() local
447 if (*pold_state != networktype) { in rtw_set_802_11_infrastructure_mode()
450 if (*pold_state == Ndis802_11APMode in rtw_set_802_11_infrastructure_mode()
451 || *pold_state == Ndis802_11_mesh in rtw_set_802_11_infrastructure_mode()
469 if ((is_linked == _TRUE) || (*pold_state == Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
476 if ((*pold_state == Ndis802_11Infrastructure) || (*pold_state == Ndis802_11IBSS)) { in rtw_set_802_11_infrastructure_mode()
486 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/
H A Drtw_ioctl_set.c450 NDIS_802_11_NETWORK_INFRASTRUCTURE *pold_state = &(cur_network->network.InfrastructureMode); in rtw_set_802_11_infrastructure_mode() local
455 if (*pold_state != networktype) { in rtw_set_802_11_infrastructure_mode()
458 if (*pold_state == Ndis802_11APMode in rtw_set_802_11_infrastructure_mode()
459 || *pold_state == Ndis802_11_mesh in rtw_set_802_11_infrastructure_mode()
477 if ((is_linked == _TRUE) || (*pold_state == Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
484 if ((*pold_state == Ndis802_11Infrastructure) || (*pold_state == Ndis802_11IBSS)) { in rtw_set_802_11_infrastructure_mode()
494 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/
H A Drtw_ioctl_set.c450 NDIS_802_11_NETWORK_INFRASTRUCTURE *pold_state = &(cur_network->network.InfrastructureMode); in rtw_set_802_11_infrastructure_mode() local
455 if (*pold_state != networktype) { in rtw_set_802_11_infrastructure_mode()
458 if (*pold_state == Ndis802_11APMode in rtw_set_802_11_infrastructure_mode()
459 || *pold_state == Ndis802_11_mesh in rtw_set_802_11_infrastructure_mode()
477 if ((is_linked == _TRUE) || (*pold_state == Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
484 if ((*pold_state == Ndis802_11Infrastructure) || (*pold_state == Ndis802_11IBSS)) { in rtw_set_802_11_infrastructure_mode()
494 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/
H A Drtw_ioctl_set.c451 NDIS_802_11_NETWORK_INFRASTRUCTURE *pold_state = &(cur_network->network.InfrastructureMode); in rtw_set_802_11_infrastructure_mode() local
456 if (*pold_state != networktype) { in rtw_set_802_11_infrastructure_mode()
459 if (*pold_state == Ndis802_11APMode in rtw_set_802_11_infrastructure_mode()
460 || *pold_state == Ndis802_11_mesh in rtw_set_802_11_infrastructure_mode()
478 if ((is_linked == _TRUE) || (*pold_state == Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
485 if ((*pold_state == Ndis802_11Infrastructure) || (*pold_state == Ndis802_11IBSS)) { in rtw_set_802_11_infrastructure_mode()
495 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/
H A Drtw_ioctl_set.c450 NDIS_802_11_NETWORK_INFRASTRUCTURE *pold_state = &(cur_network->network.InfrastructureMode); in rtw_set_802_11_infrastructure_mode() local
455 if (*pold_state != networktype) { in rtw_set_802_11_infrastructure_mode()
458 if (*pold_state == Ndis802_11APMode in rtw_set_802_11_infrastructure_mode()
459 || *pold_state == Ndis802_11_mesh in rtw_set_802_11_infrastructure_mode()
477 if ((is_linked == _TRUE) || (*pold_state == Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
484 if ((*pold_state == Ndis802_11Infrastructure) || (*pold_state == Ndis802_11IBSS)) { in rtw_set_802_11_infrastructure_mode()
494 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/
H A Drtw_ioctl_set.c459 NDIS_802_11_NETWORK_INFRASTRUCTURE *pold_state = &(cur_network->network.InfrastructureMode); in rtw_set_802_11_infrastructure_mode() local
464 if (*pold_state != networktype) { in rtw_set_802_11_infrastructure_mode()
467 if (*pold_state == Ndis802_11APMode in rtw_set_802_11_infrastructure_mode()
468 || *pold_state == Ndis802_11_mesh in rtw_set_802_11_infrastructure_mode()
486 if ((is_linked == _TRUE) || (*pold_state == Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
493 if ((*pold_state == Ndis802_11Infrastructure) || (*pold_state == Ndis802_11IBSS)) { in rtw_set_802_11_infrastructure_mode()
503 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/
H A Drtw_ioctl_set.c511 NDIS_802_11_NETWORK_INFRASTRUCTURE *pold_state = &(cur_network->network.InfrastructureMode); in rtw_set_802_11_infrastructure_mode() local
515 if (*pold_state != networktype) { in rtw_set_802_11_infrastructure_mode()
518 if (*pold_state == Ndis802_11APMode) { in rtw_set_802_11_infrastructure_mode()
529 if ((check_fwstate(pmlmepriv, _FW_LINKED) == _TRUE) || (*pold_state == Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
536 if ((*pold_state == Ndis802_11Infrastructure) || (*pold_state == Ndis802_11IBSS)) { in rtw_set_802_11_infrastructure_mode()
542 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/core/
H A Drtw_ioctl_set.c611 NDIS_802_11_NETWORK_INFRASTRUCTURE* pold_state = &(cur_network->network.InfrastructureMode); in rtw_set_802_11_infrastructure_mode() local
617 *pold_state, networktype, get_fwstate(pmlmepriv))); in rtw_set_802_11_infrastructure_mode()
619 if(*pold_state != networktype) in rtw_set_802_11_infrastructure_mode()
624 if(*pold_state==Ndis802_11APMode) in rtw_set_802_11_infrastructure_mode()
636 if((check_fwstate(pmlmepriv, _FW_LINKED)== _TRUE) ||(*pold_state==Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
643 if((*pold_state == Ndis802_11Infrastructure) ||(*pold_state == Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
651 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/core/
H A Drtw_ioctl_set.c571 NDIS_802_11_NETWORK_INFRASTRUCTURE *pold_state = &(cur_network->network.InfrastructureMode); in rtw_set_802_11_infrastructure_mode() local
577 *pold_state, networktype, get_fwstate(pmlmepriv))); in rtw_set_802_11_infrastructure_mode()
579 if (*pold_state != networktype) { in rtw_set_802_11_infrastructure_mode()
583 if (*pold_state == Ndis802_11APMode) { in rtw_set_802_11_infrastructure_mode()
594 if ((check_fwstate(pmlmepriv, _FW_LINKED) == _TRUE) || (*pold_state == Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
601 if ((*pold_state == Ndis802_11Infrastructure) || (*pold_state == Ndis802_11IBSS)) { in rtw_set_802_11_infrastructure_mode()
607 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/core/
H A Drtw_ioctl_set.c611 NDIS_802_11_NETWORK_INFRASTRUCTURE* pold_state = &(cur_network->network.InfrastructureMode); in rtw_set_802_11_infrastructure_mode() local
617 *pold_state, networktype, get_fwstate(pmlmepriv))); in rtw_set_802_11_infrastructure_mode()
619 if(*pold_state != networktype) in rtw_set_802_11_infrastructure_mode()
624 if(*pold_state==Ndis802_11APMode) in rtw_set_802_11_infrastructure_mode()
636 if((check_fwstate(pmlmepriv, _FW_LINKED)== _TRUE) ||(*pold_state==Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
643 if((*pold_state == Ndis802_11Infrastructure) ||(*pold_state == Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
651 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()