Home
last modified time | relevance | path

Searched refs:group_cipher (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c346 int rtw_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher, int *pairwise_cipher, int *is_8… in rtw_parse_wpa_ie() argument
369 *group_cipher = rtw_get_wpa_cipher_suite(pos); in rtw_parse_wpa_ie()
413 int rtw_parse_wpa2_ie(u8 *rsn_ie, int rsn_ie_len, int *group_cipher, int *pairwise_cipher, int *is_… in rtw_parse_wpa2_ie() argument
434 *group_cipher = rtw_get_wpa2_cipher_suite(pos); in rtw_parse_wpa2_ie()
920 int group_cipher = 0, pairwise_cipher = 0, is8021x = 0; in rtw_get_cipher_info() local
927 …if (rtw_parse_wpa_ie(pbuf, wpa_ielen + 2, &group_cipher, &pairwise_cipher, &is8021x) == _SUCCESS) { in rtw_get_cipher_info()
929 pnetwork->BcnInfo.group_cipher = group_cipher; in rtw_get_cipher_info()
942 …if (rtw_parse_wpa2_ie(pbuf, wpa_ielen + 2, &group_cipher, &pairwise_cipher, &is8021x) == _SUCCESS)… in rtw_get_cipher_info()
945 pnetwork->BcnInfo.group_cipher = group_cipher; in rtw_get_cipher_info()
949 pnetwork->BcnInfo.group_cipher, pnetwork->BcnInfo.is_8021x)); in rtw_get_cipher_info()
Drtw_wlan_util.c791 int group_cipher = 0, pairwise_cipher = 0, is_8021x = 0; in rtw_check_bcn_info() local
944 …if (rtw_parse_wpa_ie(pbuf, wpa_ielen + 2, &group_cipher, &pairwise_cipher, &is_8021x) == _SUCCESS)… in rtw_check_bcn_info()
947 pairwise_cipher, group_cipher, is_8021x)); in rtw_check_bcn_info()
954 …if (rtw_parse_wpa2_ie(pbuf, wpa_ielen + 2, &group_cipher, &pairwise_cipher, &is_8021x) == _SUCCESS… in rtw_check_bcn_info()
957 __func__, pairwise_cipher, group_cipher, is_8021x)); in rtw_check_bcn_info()
963 …ur_network->group_cipher is %d: %d\n", __func__, cur_network->BcnInfo.group_cipher, group_cipher)); in rtw_check_bcn_info()
964 …e_cipher != cur_network->BcnInfo.pairwise_cipher || group_cipher != cur_network->BcnInfo.group_cip… in rtw_check_bcn_info()
967 group_cipher, cur_network->BcnInfo.group_cipher); in rtw_check_bcn_info()
Drtw_ap.c740 int group_cipher, pairwise_cipher; in rtw_check_beacon_data() local
849 group_cipher = 0; in rtw_check_beacon_data()
856 if (rtw_parse_wpa2_ie(p, ie_len + 2, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) { in rtw_check_beacon_data()
862 psecuritypriv->wpa2_group_cipher = group_cipher; in rtw_check_beacon_data()
868 group_cipher = 0; in rtw_check_beacon_data()
876 if (rtw_parse_wpa_ie(p, ie_len + 2, &group_cipher, in rtw_check_beacon_data()
884 psecuritypriv->wpa_group_cipher = group_cipher; in rtw_check_beacon_data()
Drtw_mlme_ext.c3023 int group_cipher = 0, pairwise_cipher = 0; in OnAssocReq() local
3028 …if (rtw_parse_wpa2_ie(wpa_ie - 2, wpa_ie_len + 2, &group_cipher, &pairwise_cipher, NULL) == _SUCCE… in OnAssocReq()
3032 pstat->wpa2_group_cipher = group_cipher & psecuritypriv->wpa2_group_cipher; in OnAssocReq()
3044 int group_cipher = 0, pairwise_cipher = 0; in OnAssocReq() local
3049 …if (rtw_parse_wpa_ie(wpa_ie - 2, wpa_ie_len + 2, &group_cipher, &pairwise_cipher, NULL) == _SUCCES… in OnAssocReq()
3053 pstat->wpa_group_cipher = group_cipher & psecuritypriv->wpa_group_cipher; in OnAssocReq()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c465 int rtw_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher, int *pairwise_cipher, int *is_8… in rtw_parse_wpa_ie() argument
489 *group_cipher = rtw_get_wpa_cipher_suite(pos); in rtw_parse_wpa_ie()
538 int rtw_parse_wpa2_ie(u8 *rsn_ie, int rsn_ie_len, int *group_cipher, int *pairwise_cipher, int *is_… in rtw_parse_wpa2_ie() argument
560 *group_cipher = rtw_get_wpa2_cipher_suite(pos); in rtw_parse_wpa2_ie()
1137 int group_cipher = 0, pairwise_cipher = 0, is8021x = 0; in rtw_get_cipher_info() local
1144 if (_SUCCESS == rtw_parse_wpa_ie(pbuf, wpa_ielen+2, &group_cipher, &pairwise_cipher, &is8021x)) { in rtw_get_cipher_info()
1146 pnetwork->BcnInfo.group_cipher = group_cipher; in rtw_get_cipher_info()
1157 … if (_SUCCESS == rtw_parse_wpa2_ie(pbuf, wpa_ielen+2, &group_cipher, &pairwise_cipher, &is8021x)) { in rtw_get_cipher_info()
1160 pnetwork->BcnInfo.group_cipher = group_cipher; in rtw_get_cipher_info()
1164 pnetwork->BcnInfo.group_cipher, pnetwork->BcnInfo.is_8021x)); in rtw_get_cipher_info()
Drtw_wlan_util.c1231 int group_cipher = 0, pairwise_cipher = 0, is_8021x = 0; in rtw_check_bcn_info() local
1392 … if (_SUCCESS == rtw_parse_wpa_ie(pbuf, wpa_ielen+2, &group_cipher, &pairwise_cipher, &is_8021x)) { in rtw_check_bcn_info()
1395 pairwise_cipher, group_cipher, is_8021x)); in rtw_check_bcn_info()
1401 …if (_SUCCESS == rtw_parse_wpa2_ie(pbuf, wpa_ielen+2, &group_cipher, &pairwise_cipher, &is_8021x)) { in rtw_check_bcn_info()
1404 __func__, pairwise_cipher, group_cipher, is_8021x)); in rtw_check_bcn_info()
1410 …ur_network->group_cipher is %d: %d\n", __func__, cur_network->BcnInfo.group_cipher, group_cipher)); in rtw_check_bcn_info()
1411 …e_cipher != cur_network->BcnInfo.pairwise_cipher || group_cipher != cur_network->BcnInfo.group_cip… in rtw_check_bcn_info()
1414 group_cipher, cur_network->BcnInfo.group_cipher); in rtw_check_bcn_info()
Drtw_ap.c952 int group_cipher, pairwise_cipher; in rtw_check_beacon_data() local
1080 group_cipher = 0; pairwise_cipher = 0; in rtw_check_beacon_data()
1093 &group_cipher, in rtw_check_beacon_data()
1102 psecuritypriv->wpa2_group_cipher = group_cipher; in rtw_check_beacon_data()
1109 group_cipher = 0; pairwise_cipher = 0; in rtw_check_beacon_data()
1123 &group_cipher, in rtw_check_beacon_data()
1133 psecuritypriv->wpa_group_cipher = group_cipher; in rtw_check_beacon_data()
Drtw_mlme_ext.c1316 int group_cipher = 0, pairwise_cipher = 0; in OnAssocReq() local
1321 …if (rtw_parse_wpa2_ie(wpa_ie-2, wpa_ie_len+2, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) { in OnAssocReq()
1325 pstat->wpa2_group_cipher = group_cipher&psecuritypriv->wpa2_group_cipher; in OnAssocReq()
1339 int group_cipher = 0, pairwise_cipher = 0; in OnAssocReq() local
1344 if (rtw_parse_wpa_ie(wpa_ie-2, wpa_ie_len+2, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) { in OnAssocReq()
1348 pstat->wpa_group_cipher = group_cipher&psecuritypriv->wpa_group_cipher; in OnAssocReq()
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
Dieee80211.c277 int r8712_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher, in r8712_parse_wpa_ie() argument
297 *group_cipher = r8712_get_wpa_cipher_suite(pos); in r8712_parse_wpa_ie()
321 int r8712_parse_wpa2_ie(u8 *rsn_ie, int rsn_ie_len, int *group_cipher, in r8712_parse_wpa2_ie() argument
340 *group_cipher = r8712_get_wpa2_cipher_suite(pos); in r8712_parse_wpa2_ie()
Dieee80211.h153 int r8712_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
155 int r8712_parse_wpa2_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
Drtl871x_ioctl_linux.c481 int group_cipher = 0, pairwise_cipher = 0; in r871x_set_wpa_ie() local
494 if (r8712_parse_wpa_ie(buf, ielen, &group_cipher, in r871x_set_wpa_ie()
500 if (r8712_parse_wpa2_ie(buf, ielen, &group_cipher, in r871x_set_wpa_ie()
506 switch (group_cipher) { in r871x_set_wpa_ie()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/
Dwlan_bssdef.h164 int group_cipher; /* WPA/WPA2 group cipher */ member
Dieee80211.h721 int rtw_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
723 int rtw_parse_wpa2_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Duap_cmd.c142 bss_config->wpa_cfg.group_cipher = CIPHER_TKIP; in mwifiex_set_secure_params()
145 bss_config->wpa_cfg.group_cipher = CIPHER_AES_CCMP; in mwifiex_set_secure_params()
351 if (bss_cfg->wpa_cfg.group_cipher & VALID_CIPHER_BITMAP) { in mwifiex_uap_bss_wpa()
357 gwk_cipher->cipher = bss_cfg->wpa_cfg.group_cipher; in mwifiex_uap_bss_wpa()
Dioctl.h70 u8 group_cipher; member
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Dwlan_bssdef.h195 int group_cipher; /* WPA/WPA2 group cipher */ member
Dieee80211.h1137 int rtw_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher, int *pairwise_cipher, int *is_8…
1138 int rtw_parse_wpa2_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher, int *pairwise_cipher, int *is_…
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c1781 int group_cipher = 0, pairwise_cipher = 0; in rtw_cfg80211_set_wpa_ie() local
1824 if (rtw_parse_wpa_ie(pwpa, wpa_ielen+2, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) in rtw_cfg80211_set_wpa_ie()
1837 if (rtw_parse_wpa2_ie(pwpa2, wpa2_ielen+2, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) in rtw_cfg80211_set_wpa_ie()
1847 if (group_cipher == 0) in rtw_cfg80211_set_wpa_ie()
1849 group_cipher = WPA_CIPHER_NONE; in rtw_cfg80211_set_wpa_ie()
1856 switch (group_cipher) in rtw_cfg80211_set_wpa_ie()
Dioctl_linux.c614 int group_cipher = 0, pairwise_cipher = 0; in rtw_set_wpa_ie() local
649 if (rtw_parse_wpa_ie(buf, ielen, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) { in rtw_set_wpa_ie()
655 if (rtw_parse_wpa2_ie(buf, ielen, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) { in rtw_set_wpa_ie()
661 if (group_cipher == 0) in rtw_set_wpa_ie()
662 group_cipher = WPA_CIPHER_NONE; in rtw_set_wpa_ie()
666 switch (group_cipher) { in rtw_set_wpa_ie()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dmcu.h547 __le32 group_cipher; member
Dmcu.c3835 gtk_tlv->group_cipher = cpu_to_le32(cipher); in mt7615_mcu_key_iter()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c492 int group_cipher = 0, pairwise_cipher = 0; in rtw_set_wpa_ie() local
525 if (rtw_parse_wpa_ie(buf, ielen, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) { in rtw_set_wpa_ie()
531 if (rtw_parse_wpa2_ie(buf, ielen, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) { in rtw_set_wpa_ie()
537 switch (group_cipher) { in rtw_set_wpa_ie()