Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
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 …]
Dfeature.c243 struct brcmf_pno_macaddr_le pfn_mac; in brcmf_feat_attach() local
285 pfn_mac.version = BRCMF_PFN_MACADDR_CFG_VER; in brcmf_feat_attach()
286 err = brcmf_fil_iovar_data_get(ifp, "pfn_macaddr", &pfn_mac, in brcmf_feat_attach()
287 sizeof(pfn_mac)); in brcmf_feat_attach()