Lines Matching refs:index

492 	unsigned int index;  in process_cipher_config()  local
524 for (index = 0; index < ARRAY_SIZE(ciphers); index++) { in process_cipher_config()
525 if (cipher_capa == ciphers[index].capa) { in process_cipher_config()
526 cipher_config->group_cipher = ciphers[index].name; in process_cipher_config()
527 cipher_config->pairwise_cipher = ciphers[index].name; in process_cipher_config()
532 if (index == ARRAY_SIZE(ciphers)) { in process_cipher_config()
537 for (index = 0; index < ARRAY_SIZE(ciphers_group_mgmt); index++) { in process_cipher_config()
538 if (gropu_mgmt_cipher_capa == ciphers_group_mgmt[index].capa) { in process_cipher_config()
539 cipher_config->group_mgmt_cipher = ciphers_group_mgmt[index].name; in process_cipher_config()
544 if (index == ARRAY_SIZE(ciphers_group_mgmt)) { in process_cipher_config()
592 unsigned int index = 0; in hapd_get_eap_config() local
594 for (index = 0; index < ARRAY_SIZE(eap_config); index++) { in hapd_get_eap_config()
595 if (params->security == eap_config[index].type) { in hapd_get_eap_config()
596 memcpy(eap_cfg, &eap_config[index], sizeof(struct wifi_eap_config)); in hapd_get_eap_config()
601 if (index == ARRAY_SIZE(eap_config)) { in hapd_get_eap_config()
864 unsigned int index; in wpas_add_and_config_network() local
1057 for (index = 0; index < ARRAY_SIZE(eap_config); index++) { in wpas_add_and_config_network()
1058 if (params->security == eap_config[index].type) { in wpas_add_and_config_network()
1059 method = eap_config[index].method; in wpas_add_and_config_network()
1060 phase2 = eap_config[index].phase2; in wpas_add_and_config_network()
1065 if (index == ARRAY_SIZE(eap_config)) { in wpas_add_and_config_network()
2174 uint8_t index, index_max, chan_idx, ch_offset = 0; local
2202 for (index = 0; index < index_max; index++) {
2203 if ((chan_idx >= (center_freq[index] - ch_offset)) &&
2204 (chan_idx <= (center_freq[index] + ch_offset))) {
2205 center_freq_seg0_idx = center_freq[index];