Lines Matching refs:iter_data
129 struct ath9k_vif_iter_data *iter_data = data; in ath9k_htc_bssid_iter() local
132 if (iter_data->hw_macaddr != NULL) { in ath9k_htc_bssid_iter()
134 iter_data->mask[i] &= ~(iter_data->hw_macaddr[i] ^ mac[i]); in ath9k_htc_bssid_iter()
136 iter_data->hw_macaddr = mac; in ath9k_htc_bssid_iter()
144 struct ath9k_vif_iter_data iter_data; in ath9k_htc_set_mac_bssid_mask() local
151 iter_data.hw_macaddr = NULL; in ath9k_htc_set_mac_bssid_mask()
152 eth_broadcast_addr(iter_data.mask); in ath9k_htc_set_mac_bssid_mask()
155 ath9k_htc_bssid_iter(&iter_data, vif->addr, vif); in ath9k_htc_set_mac_bssid_mask()
160 ath9k_htc_bssid_iter, &iter_data); in ath9k_htc_set_mac_bssid_mask()
162 memcpy(common->bssidmask, iter_data.mask, ETH_ALEN); in ath9k_htc_set_mac_bssid_mask()
164 if (iter_data.hw_macaddr) in ath9k_htc_set_mac_bssid_mask()
165 memcpy(common->macaddr, iter_data.hw_macaddr, ETH_ALEN); in ath9k_htc_set_mac_bssid_mask()