Lines Matching refs:npmk
4351 u32 npmk; in brcmf_update_pmklist() local
4354 npmk = le32_to_cpu(pmk_list->npmk); in brcmf_update_pmklist()
4356 brcmf_dbg(CONN, "No of elements %d\n", npmk); in brcmf_update_pmklist()
4357 for (i = 0; i < npmk; i++) in brcmf_update_pmklist()
4373 u32 npmk, i; in brcmf_cfg80211_set_pmksa() local
4387 npmk = le32_to_cpu(cfg->pmk_list.npmk); in brcmf_cfg80211_set_pmksa()
4388 for (i = 0; i < npmk; i++) in brcmf_cfg80211_set_pmksa()
4394 if (i == npmk) { in brcmf_cfg80211_set_pmksa()
4395 npmk++; in brcmf_cfg80211_set_pmksa()
4396 cfg->pmk_list.npmk = cpu_to_le32(npmk); in brcmf_cfg80211_set_pmksa()
4399 bphy_err(drvr, "Too many PMKSA entries cached %d\n", npmk); in brcmf_cfg80211_set_pmksa()
4418 u32 npmk, i; in brcmf_cfg80211_del_pmksa() local
4431 npmk = le32_to_cpu(cfg->pmk_list.npmk); in brcmf_cfg80211_del_pmksa()
4432 for (i = 0; i < npmk; i++) in brcmf_cfg80211_del_pmksa()
4436 if ((npmk > 0) && (i < npmk)) { in brcmf_cfg80211_del_pmksa()
4437 for (; i < (npmk - 1); i++) { in brcmf_cfg80211_del_pmksa()
4443 cfg->pmk_list.npmk = cpu_to_le32(npmk - 1); in brcmf_cfg80211_del_pmksa()