Home
last modified time | relevance | path

Searched refs:rsn_cap (Results 1 – 12 of 12) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/wireless/microchip/wilc1000/
H A Dfw.h109 u8 rsn_cap[2]; member
H A Dhif.c485 memcpy(param->rsn_cap, &rsn_ie[offset], 2); in wilc_parse_join_bss_param()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dwl_cfgvif.c1854 wl_get_mfp_capability(u8 rsn_cap, u32 *wpa_auth, u32 *mfp_val) in wl_get_mfp_capability() argument
1857 if (rsn_cap & RSN_CAP_MFPR) { in wl_get_mfp_capability()
1868 } else if (rsn_cap & RSN_CAP_MFPC) { in wl_get_mfp_capability()
1911 u8 rsn_cap[2]; in wl_validate_wpa2ie() local
2029 rsn_cap[0] = *(const u8 *)&mgmt->list[suite_count]; in wl_validate_wpa2ie()
2030 rsn_cap[1] = *((const u8 *)&mgmt->list[suite_count] + 1); in wl_validate_wpa2ie()
2032 if (rsn_cap[0] & (RSN_CAP_16_REPLAY_CNTRS << RSN_CAP_PTK_REPLAY_CNTR_SHIFT)) { in wl_validate_wpa2ie()
2039 if (wl_get_mfp_capability(rsn_cap[0], &wpa_auth, &mfp) != BCME_OK) { in wl_validate_wpa2ie()
2040 WL_ERR(("mfp configuration invalid. rsn_cap:0x%x\n", rsn_cap[0])); in wl_validate_wpa2ie()
2365 u8 rsn_cap[2]; in wl_validate_wpaie_wpa2ie() local
[all …]
H A Dwl_cfg80211.c712 static int wl_cfg80211_get_rsn_capa(const bcm_tlv_t *wpa2ie, const u8** rsn_cap);
4412 const u8** rsn_cap) in wl_cfg80211_get_rsn_capa() argument
4455 rsn_cap[0] = (const u8 *)&mgmt->list[suite_count]; in wl_cfg80211_get_rsn_capa()
4916 const u8* rsn_cap = NULL; in wl_cfg80211_set_mfp() local
4938 (wl_cfg80211_get_rsn_capa(wpa2_ie, &rsn_cap) == 0) && rsn_cap) { in wl_cfg80211_set_mfp()
4939 WL_DBG(("rsn_cap 0x%x%x\n", rsn_cap[0], rsn_cap[1])); in wl_cfg80211_set_mfp()
4945 if (rsn_cap[0] & RSN_CAP_MFPR) { in wl_cfg80211_set_mfp()
4947 } else if (rsn_cap[0] & RSN_CAP_MFPC) { in wl_cfg80211_set_mfp()
4957 ptr = (const u8*)rsn_cap + RSN_CAP_LEN; in wl_cfg80211_set_mfp()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwl_cfgvif.c1847 wl_get_mfp_capability(u8 rsn_cap, u32 *wpa_auth, u32 *mfp_val) in wl_get_mfp_capability() argument
1850 if (rsn_cap & RSN_CAP_MFPR) { in wl_get_mfp_capability()
1861 } else if (rsn_cap & RSN_CAP_MFPC) { in wl_get_mfp_capability()
1904 u8 rsn_cap[2]; in wl_validate_wpa2ie() local
2022 rsn_cap[0] = *(const u8 *)&mgmt->list[suite_count]; in wl_validate_wpa2ie()
2023 rsn_cap[1] = *((const u8 *)&mgmt->list[suite_count] + 1); in wl_validate_wpa2ie()
2025 if (rsn_cap[0] & (RSN_CAP_16_REPLAY_CNTRS << RSN_CAP_PTK_REPLAY_CNTR_SHIFT)) { in wl_validate_wpa2ie()
2032 if (wl_get_mfp_capability(rsn_cap[0], &wpa_auth, &mfp) != BCME_OK) { in wl_validate_wpa2ie()
2033 WL_ERR(("mfp configuration invalid. rsn_cap:0x%x\n", rsn_cap[0])); in wl_validate_wpa2ie()
2358 u8 rsn_cap[2]; in wl_validate_wpaie_wpa2ie() local
[all …]
H A Dwl_cfg80211.c698 static int wl_cfg80211_get_rsn_capa(const bcm_tlv_t *wpa2ie, const u8** rsn_cap);
4398 const u8** rsn_cap) in wl_cfg80211_get_rsn_capa() argument
4441 rsn_cap[0] = (const u8 *)&mgmt->list[suite_count]; in wl_cfg80211_get_rsn_capa()
4902 const u8* rsn_cap = NULL; in wl_cfg80211_set_mfp() local
4924 (wl_cfg80211_get_rsn_capa(wpa2_ie, &rsn_cap) == 0) && rsn_cap) { in wl_cfg80211_set_mfp()
4925 WL_DBG(("rsn_cap 0x%x%x\n", rsn_cap[0], rsn_cap[1])); in wl_cfg80211_set_mfp()
4931 if (rsn_cap[0] & RSN_CAP_MFPR) { in wl_cfg80211_set_mfp()
4933 } else if (rsn_cap[0] & RSN_CAP_MFPC) { in wl_cfg80211_set_mfp()
4943 ptr = (const u8*)rsn_cap + RSN_CAP_LEN; in wl_cfg80211_set_mfp()
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/
H A Dmlan_join.c560 t_u16 rsn_cap = 0; in wlan_get_rsn_cap() local
579 rsn_cap = wlan_le16_to_cpu(*ptr); in wlan_get_rsn_cap()
580 PRINTM(MCMND, "rsn_cap=0x%x\n", rsn_cap); in wlan_get_rsn_cap()
581 return rsn_cap; in wlan_get_rsn_cap()
/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcfg80211.c1760 u16 rsn_cap; in brcmf_set_key_mgmt() local
1869 rsn_cap = ie[offset] + (ie[offset + 1] << 8); in brcmf_set_key_mgmt()
1870 if (rsn_cap & RSN_CAP_MFPR_MASK) in brcmf_set_key_mgmt()
1872 else if (rsn_cap & RSN_CAP_MFPC_MASK) in brcmf_set_key_mgmt()
4125 u16 rsn_cap; in brcmf_configure_wpaie() local
4264 rsn_cap = data[offset] + (data[offset + 1] << 8); in brcmf_configure_wpaie()
4265 if (rsn_cap & RSN_CAP_PTK_REPLAY_CNTR_MASK) in brcmf_configure_wpaie()
4267 if (rsn_cap & RSN_CAP_MFPR_MASK) { in brcmf_configure_wpaie()
4288 } else if (rsn_cap & RSN_CAP_MFPC_MASK) { in brcmf_configure_wpaie()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dwl_cfg80211.c803 static int wl_cfg80211_get_rsn_capa(bcm_tlv_t *wpa2ie, u8** rsn_cap);
4850 static int wl_cfg80211_get_rsn_capa(bcm_tlv_t *wpa2ie, u8** rsn_cap) in wl_cfg80211_get_rsn_capa() argument
4878 rsn_cap[0] = (u8 *)&mgmt->list[suite_count]; in wl_cfg80211_get_rsn_capa()
5161 u8* rsn_cap = NULL; in wl_cfg80211_set_mfp() local
5182 (wl_cfg80211_get_rsn_capa(wpa2_ie, &rsn_cap) == 0)) { in wl_cfg80211_set_mfp()
5184 if (rsn_cap[0] & RSN_CAP_MFPR) { in wl_cfg80211_set_mfp()
5186 } else if (rsn_cap[0] & RSN_CAP_MFPC) { in wl_cfg80211_set_mfp()
5196 ptr = (u8*)rsn_cap + RSN_CAP_LEN; in wl_cfg80211_set_mfp()
5212 mfp, wpa2_ie, rsn_cap[0], rsn_cap[1], fw_support)); in wl_cfg80211_set_mfp()
8842 u8 rsn_cap[2]; in wl_validate_wpa2ie() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dwl_cfg80211.c858 static int wl_cfg80211_get_rsn_capa(const bcm_tlv_t *wpa2ie, const u8** rsn_cap);
5484 const u8** rsn_cap) argument
5527 rsn_cap[0] = (const u8 *)&mgmt->list[suite_count];
5928 const u8* rsn_cap = NULL; local
5949 (wl_cfg80211_get_rsn_capa(wpa2_ie, &rsn_cap) == 0) && rsn_cap) {
5950 WL_DBG(("rsn_cap 0x%x%x\n", rsn_cap[0], rsn_cap[1]));
5956 if (rsn_cap[0] & RSN_CAP_MFPR) {
5958 } else if (rsn_cap[0] & RSN_CAP_MFPC) {
5968 ptr = (const u8*)rsn_cap + RSN_CAP_LEN;
10937 u8 rsn_cap[2]; local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dwl_cfg80211.c856 static int wl_cfg80211_get_rsn_capa(const bcm_tlv_t *wpa2ie, const u8** rsn_cap);
5482 const u8** rsn_cap) argument
5525 rsn_cap[0] = (const u8 *)&mgmt->list[suite_count];
5926 const u8* rsn_cap = NULL; local
5947 (wl_cfg80211_get_rsn_capa(wpa2_ie, &rsn_cap) == 0) && rsn_cap) {
5948 WL_DBG(("rsn_cap 0x%x%x\n", rsn_cap[0], rsn_cap[1]));
5954 if (rsn_cap[0] & RSN_CAP_MFPR) {
5956 } else if (rsn_cap[0] & RSN_CAP_MFPC) {
5966 ptr = (const u8*)rsn_cap + RSN_CAP_LEN;
10935 u8 rsn_cap[2]; local
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dwl_cfg80211.c848 static int wl_cfg80211_get_rsn_capa(const bcm_tlv_t *wpa2ie, const u8** rsn_cap);
5355 const u8** rsn_cap) argument
5398 rsn_cap[0] = (const u8 *)&mgmt->list[suite_count];
5799 const u8* rsn_cap = NULL; local
5820 (wl_cfg80211_get_rsn_capa(wpa2_ie, &rsn_cap) == 0) && rsn_cap) {
5821 WL_DBG(("rsn_cap 0x%x%x\n", rsn_cap[0], rsn_cap[1]));
5827 if (rsn_cap[0] & RSN_CAP_MFPR) {
5829 } else if (rsn_cap[0] & RSN_CAP_MFPC) {
5839 ptr = (const u8*)rsn_cap + RSN_CAP_LEN;
10839 u8 rsn_cap[2]; local
[all …]