Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dpno.c158 struct brcmf_pno_macaddr_le pfn_mac; in brcmf_pno_set_random() local
174 pfn_mac.version = BRCMF_PFN_MACADDR_CFG_VER; in brcmf_pno_set_random()
175 pfn_mac.flags = BRCMF_PFN_MAC_OUI_ONLY | BRCMF_PFN_SET_MAC_UNASSOC; in brcmf_pno_set_random()
177 memcpy(pfn_mac.mac, mac_addr, ETH_ALEN); in brcmf_pno_set_random()
179 pfn_mac.mac[i] &= mac_mask[i]; in brcmf_pno_set_random()
180 pfn_mac.mac[i] |= get_random_u8() & ~(mac_mask[i]); in brcmf_pno_set_random()
183 pfn_mac.mac[0] &= 0xFE; in brcmf_pno_set_random()
185 pfn_mac.mac[0] |= 0x02; in brcmf_pno_set_random()
188 pi->reqs[ri]->reqid, pfn_mac.mac); in brcmf_pno_set_random()
189 err = brcmf_fil_iovar_data_set(ifp, "pfn_macaddr", &pfn_mac, in brcmf_pno_set_random()
[all …]
H A Dfeature.c291 struct brcmf_pno_macaddr_le pfn_mac; in brcmf_feat_attach() local
334 pfn_mac.version = BRCMF_PFN_MACADDR_CFG_VER; in brcmf_feat_attach()
335 err = brcmf_fil_iovar_data_get(ifp, "pfn_macaddr", &pfn_mac, in brcmf_feat_attach()
336 sizeof(pfn_mac)); in brcmf_feat_attach()