Lines Matching refs:i

77 	uint8_t i;  in wifi_pos_set_11az_failed_peers()  local
89 for (i = 0; i < WLAN_MAX_11AZ_PEERS; i++) { in wifi_pos_set_11az_failed_peers()
91 &pasn_context->failed_peer_list[i])) { in wifi_pos_set_11az_failed_peers()
99 for (i = 0; i < WLAN_MAX_11AZ_PEERS; i++) { in wifi_pos_set_11az_failed_peers()
101 &pasn_context->failed_peer_list[i])) { in wifi_pos_set_11az_failed_peers()
102 qdf_copy_macaddr(&pasn_context->failed_peer_list[i], in wifi_pos_set_11az_failed_peers()
106 QDF_MAC_ADDR_REF(mac_addr->bytes), i); in wifi_pos_set_11az_failed_peers()
122 uint8_t i; in wifi_pos_add_peer_to_list() local
138 for (i = 0; i < WLAN_MAX_11AZ_PEERS; i++) { in wifi_pos_add_peer_to_list()
140 dst_entry = &secure_list[i]; in wifi_pos_add_peer_to_list()
142 dst_entry = &unsecure_list[i]; in wifi_pos_add_peer_to_list()
159 QDF_MAC_ADDR_REF(dst_entry->peer_mac.bytes), i); in wifi_pos_add_peer_to_list()
179 uint8_t i; in wifi_pos_move_peers_to_fail_list() local
213 for (i = 0; i < WLAN_MAX_11AZ_PEERS; i++) { in wifi_pos_move_peers_to_fail_list()
219 if (!qdf_is_macaddr_broadcast(&list[i].peer_mac)) { in wifi_pos_move_peers_to_fail_list()
221 vdev, &list[i].peer_mac); in wifi_pos_move_peers_to_fail_list()
222 qdf_set_macaddr_broadcast(&list[i].peer_mac); in wifi_pos_move_peers_to_fail_list()
235 for (i = 0; i < WLAN_MAX_11AZ_PEERS; i++) { in wifi_pos_move_peers_to_fail_list()
240 if (qdf_is_macaddr_equal(peer_mac, &secure_list[i].peer_mac)) { in wifi_pos_move_peers_to_fail_list()
241 entry_to_copy = secure_list[i].peer_mac; in wifi_pos_move_peers_to_fail_list()
242 qdf_set_macaddr_broadcast(&secure_list[i].peer_mac); in wifi_pos_move_peers_to_fail_list()
245 &unsecure_list[i].peer_mac)) { in wifi_pos_move_peers_to_fail_list()
246 entry_to_copy = unsecure_list[i].peer_mac; in wifi_pos_move_peers_to_fail_list()
247 qdf_set_macaddr_broadcast(&unsecure_list[i].peer_mac); in wifi_pos_move_peers_to_fail_list()
357 uint8_t i; in wifi_pos_handle_ranging_peer_create() local
374 for (i = 0; i < total_entries; i++) { in wifi_pos_handle_ranging_peer_create()
375 peer = wlan_objmgr_get_peer_by_mac(psoc, req[i].peer_mac.bytes, in wifi_pos_handle_ranging_peer_create()
385 QDF_MAC_ADDR_REF(req[i].peer_mac.bytes)); in wifi_pos_handle_ranging_peer_create()
386 wifi_pos_add_peer_to_list(vdev, &req[i], false); in wifi_pos_handle_ranging_peer_create()
388 if (req[i].is_ltf_keyseed_required) in wifi_pos_handle_ranging_peer_create()
404 QDF_MAC_ADDR_REF(req[i].peer_mac.bytes), in wifi_pos_handle_ranging_peer_create()
406 wifi_pos_set_11az_failed_peers(vdev, &req[i].peer_mac); in wifi_pos_handle_ranging_peer_create()
412 status = legacy_cb->pasn_peer_create_cb(psoc, &req[i].peer_mac, in wifi_pos_handle_ranging_peer_create()
415 wifi_pos_set_11az_failed_peers(vdev, &req[i].peer_mac); in wifi_pos_handle_ranging_peer_create()
420 if (req[i].is_ltf_keyseed_required) { in wifi_pos_handle_ranging_peer_create()
422 req[i].peer_mac.bytes, in wifi_pos_handle_ranging_peer_create()
434 wifi_pos_add_peer_to_list(vdev, &req[i], true); in wifi_pos_handle_ranging_peer_create()
520 uint8_t peer_count = 0, i; in wifi_pos_handle_ranging_peer_delete() local
554 for (i = 0; i < total_entries; i++) { in wifi_pos_handle_ranging_peer_delete()
555 peer = wlan_objmgr_get_peer_by_mac(psoc, req[i].peer_mac.bytes, in wifi_pos_handle_ranging_peer_delete()
560 req[i].control_flags); in wifi_pos_handle_ranging_peer_delete()
562 QDF_MAC_ADDR_REF(req[i].peer_mac.bytes)); in wifi_pos_handle_ranging_peer_delete()
564 del_peer_list[peer_count] = req[i]; in wifi_pos_handle_ranging_peer_delete()
568 psoc, &req[i].peer_mac, in wifi_pos_handle_ranging_peer_delete()
576 QDF_MAC_ADDR_REF(req[i].peer_mac.bytes)); in wifi_pos_handle_ranging_peer_delete()
622 uint8_t i, failed_peers_counter = 0, total_peers_to_fill = 0; in wifi_pos_send_pasn_auth_status() local
647 for (i = data->num_peers; i < total_peers_to_fill; i++) { in wifi_pos_send_pasn_auth_status()
648 data->auth_status[i].peer_mac = in wifi_pos_send_pasn_auth_status()
650 data->auth_status[i].status = in wifi_pos_send_pasn_auth_status()