Lines Matching refs:desc
2033 char name[256], desc[256], *dpos;
2065 if (len >= sizeof(desc))
2066 len = sizeof(desc) - 1;
2068 desc[j] = (char) pos[j];
2069 desc[len] = '\0';
2071 wpa_printf(MSG_DEBUG, "NDIS: %d - %s - %s", i, name, desc);
2079 if (os_strncmp(desc, drv->ifname, os_strlen(drv->ifname)) == 0)
2108 dpos = os_strstr(desc, " - ");
2110 dlen = dpos - desc;
2112 dlen = os_strlen(desc);
2113 drv->adapter_desc = dup_binstr(desc, dlen);
2129 char *desc[MAX_ADAPTERS];
2203 desc[num_desc] = pos;
2231 desc[num_desc++] = "dummy description";
2244 i, name[i], desc[i]);
2248 os_strncmp(desc[i], drv->ifname, os_strlen(drv->ifname)) ==
2256 name[found_desc], desc[found_desc]);
2272 pos = os_strrchr(desc[i], '(');
2274 dlen = pos - desc[i];
2276 if (pos > desc[i] && *pos == ' ')
2279 dlen = os_strlen(desc[i]);
2281 drv->adapter_desc = dup_binstr(desc[i], dlen);
2966 char name[256], desc[256];
3022 if (len >= sizeof(desc))
3023 len = sizeof(desc) - 1;
3025 desc[j] = (char) pos[j];
3026 desc[len] = '\0';
3028 wpa_printf(MSG_DEBUG, "NDIS: %d - %s - %s", i, name, desc);
3042 niface->desc = os_strdup(desc);
3055 char *desc[MAX_ADAPTERS];
3128 desc[num_desc] = pos;
3156 desc[num_desc++] = "dummy description";
3179 niface->desc = os_strdup(desc[i]);
3199 wpa_driver_ndis_ops.desc = ndis_drv_desc;