Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dpno.c163 struct brcmf_pno_macaddr_le pfn_mac; in brcmf_pno_set_random() local
179 pfn_mac.version = BRCMF_PFN_MACADDR_CFG_VER; in brcmf_pno_set_random()
180 pfn_mac.flags = BRCMF_PFN_MAC_OUI_ONLY | BRCMF_PFN_SET_MAC_UNASSOC; in brcmf_pno_set_random()
182 memcpy(pfn_mac.mac, mac_addr, ETH_ALEN); in brcmf_pno_set_random()
184 pfn_mac.mac[i] &= mac_mask[i]; in brcmf_pno_set_random()
185 pfn_mac.mac[i] |= get_random_int() & ~(mac_mask[i]); in brcmf_pno_set_random()
188 pfn_mac.mac[0] &= 0xFE; in brcmf_pno_set_random()
190 pfn_mac.mac[0] |= 0x02; in brcmf_pno_set_random()
193 pi->reqs[i]->reqid, pfn_mac.mac); in brcmf_pno_set_random()
194 err = brcmf_fil_iovar_data_set(ifp, "pfn_macaddr", &pfn_mac, in brcmf_pno_set_random()
[all …]
Dfeature.c244 struct brcmf_pno_macaddr_le pfn_mac; in brcmf_feat_attach() local
278 pfn_mac.version = BRCMF_PFN_MACADDR_CFG_VER; in brcmf_feat_attach()
279 err = brcmf_fil_iovar_data_get(ifp, "pfn_macaddr", &pfn_mac, in brcmf_feat_attach()
280 sizeof(pfn_mac)); in brcmf_feat_attach()