Home
last modified time | relevance | path

Searched refs:bSupportMode (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.c698 u8 bSupportMode = _rtl92e_get_supported_wireless_mode(dev); in rtl92e_set_wireless_mode() local
701 ((wireless_mode & bSupportMode) == 0)) { in rtl92e_set_wireless_mode()
702 if (bSupportMode & WIRELESS_MODE_N_24G) { in rtl92e_set_wireless_mode()
704 } else if (bSupportMode & WIRELESS_MODE_N_5G) { in rtl92e_set_wireless_mode()
706 } else if ((bSupportMode & WIRELESS_MODE_A)) { in rtl92e_set_wireless_mode()
708 } else if ((bSupportMode & WIRELESS_MODE_G)) { in rtl92e_set_wireless_mode()
710 } else if ((bSupportMode & WIRELESS_MODE_B)) { in rtl92e_set_wireless_mode()
/Linux-v4.19/drivers/staging/rtl8192u/
Dr8192U_core.c2103 u8 bSupportMode = rtl8192_getSupportedWireleeMode(dev); in rtl8192_SetWirelessMode() local
2106 (wireless_mode & bSupportMode) == 0) { in rtl8192_SetWirelessMode()
2107 if (bSupportMode & WIRELESS_MODE_N_24G) { in rtl8192_SetWirelessMode()
2109 } else if (bSupportMode & WIRELESS_MODE_N_5G) { in rtl8192_SetWirelessMode()
2111 } else if ((bSupportMode & WIRELESS_MODE_A)) { in rtl8192_SetWirelessMode()
2113 } else if ((bSupportMode & WIRELESS_MODE_G)) { in rtl8192_SetWirelessMode()
2115 } else if ((bSupportMode & WIRELESS_MODE_B)) { in rtl8192_SetWirelessMode()
2120 __func__, bSupportMode); in rtl8192_SetWirelessMode()