Lines Matching refs:npmk
4350 u32 npmk; in brcmf_update_pmklist() local
4353 npmk = le32_to_cpu(pmk_list->npmk); in brcmf_update_pmklist()
4355 brcmf_dbg(CONN, "No of elements %d\n", npmk); in brcmf_update_pmklist()
4356 for (i = 0; i < npmk; i++) in brcmf_update_pmklist()
4372 u32 npmk, i; in brcmf_cfg80211_set_pmksa() local
4386 npmk = le32_to_cpu(cfg->pmk_list.npmk); in brcmf_cfg80211_set_pmksa()
4387 for (i = 0; i < npmk; i++) in brcmf_cfg80211_set_pmksa()
4393 if (i == npmk) { in brcmf_cfg80211_set_pmksa()
4394 npmk++; in brcmf_cfg80211_set_pmksa()
4395 cfg->pmk_list.npmk = cpu_to_le32(npmk); in brcmf_cfg80211_set_pmksa()
4398 bphy_err(drvr, "Too many PMKSA entries cached %d\n", npmk); in brcmf_cfg80211_set_pmksa()
4417 u32 npmk, i; in brcmf_cfg80211_del_pmksa() local
4430 npmk = le32_to_cpu(cfg->pmk_list.npmk); in brcmf_cfg80211_del_pmksa()
4431 for (i = 0; i < npmk; i++) in brcmf_cfg80211_del_pmksa()
4435 if ((npmk > 0) && (i < npmk)) { in brcmf_cfg80211_del_pmksa()
4436 for (; i < (npmk - 1); i++) { in brcmf_cfg80211_del_pmksa()
4442 cfg->pmk_list.npmk = cpu_to_le32(npmk - 1); in brcmf_cfg80211_del_pmksa()