| 162 | | ret->descriptions[ret->num_cards] = strdup("iwlwifi Intel"); |
| 163 | | ret->capabilities[ret->num_cards] = tx80211_d80211_capabilities(); |
| 164 | | ret->num_cards++; |
| | 167 | ret->descriptions[ret->num_cards] = strdup("iwlwifi Intel (mac80211)"); |
| | 168 | ret->capabilities[ret->num_cards] = tx80211_mac80211_capabilities(); |
| | 169 | ret->num_cards++; |
| | 170 | |
| | 171 | ret->cardnames[ret->num_cards] = strdup("iwl-agn"); |
| | 172 | ret->descriptions[ret->num_cards] = strdup("iwlwifi Intel (mac80211)"); |
| | 173 | ret->capabilities[ret->num_cards] = tx80211_mac80211_capabilities(); |
| | 174 | ret->num_cards++; |
| | 175 | |
| | 176 | ret->cardnames[ret->num_cards] = strdup("iwl4965"); |
| | 177 | ret->descriptions[ret->num_cards] = strdup("iwlwifi Intel (mac80211)"); |
| | 178 | ret->capabilities[ret->num_cards] = tx80211_mac80211_capabilities(); |
| | 179 | ret->num_cards++; |
| | 180 | |
| | 181 | ret->cardnames[ret->num_cards] = strdup("iwl5000"); |
| | 182 | ret->descriptions[ret->num_cards] = strdup("iwlwifi Intel (mac80211)"); |
| | 183 | ret->capabilities[ret->num_cards] = tx80211_mac80211_capabilities(); |
| | 184 | ret->num_cards++; |
| | 185 | |
| | 186 | ret->cardnames[ret->num_cards] = strdup("b43"); |
| | 187 | ret->descriptions[ret->num_cards] = strdup("Broadcom b43 (mac80211)"); |
| | 188 | ret->capabilities[ret->num_cards] = tx80211_mac80211_capabilities(); |
| | 189 | ret->num_cards++; |
| | 190 | |
| | 191 | ret->cardnames[ret->num_cards] = strdup("b43-legacy"); |
| | 192 | ret->descriptions[ret->num_cards] = strdup("Broadcom b43-legacy (mac80211)"); |
| | 193 | ret->capabilities[ret->num_cards] = tx80211_mac80211_capabilities(); |
| | 194 | ret->num_cards++; |
| | 195 | |
| | 196 | ret->cardnames[ret->num_cards] = strdup("rt2x00"); |
| | 197 | ret->descriptions[ret->num_cards] = strdup("Realtek 2x00 (mac80211)"); |
| | 198 | ret->capabilities[ret->num_cards] = tx80211_mac80211_capabilities(); |
| | 199 | ret->num_cards++; |
| | 200 | |
| | 201 | ret->cardnames[ret->num_cards] = strdup("rt2500pci"); |
| | 202 | ret->descriptions[ret->num_cards] = strdup("Realtek 2500 PCI (mac80211)"); |
| | 203 | ret->capabilities[ret->num_cards] = tx80211_mac80211_capabilities(); |
| | 204 | ret->num_cards++; |
| | 205 | |
| | 206 | ret->cardnames[ret->num_cards] = strdup("rt2500usb"); |
| | 207 | ret->descriptions[ret->num_cards] = strdup("Realtek 2500 USB (mac80211)"); |
| | 208 | ret->capabilities[ret->num_cards] = tx80211_mac80211_capabilities(); |
| | 209 | ret->num_cards++; |
| | 210 | |
| | 211 | ret->cardnames[ret->num_cards] = strdup("rt61pci"); |
| | 212 | ret->descriptions[ret->num_cards] = strdup("Realtek 61 PCI (mac80211)"); |
| | 213 | ret->capabilities[ret->num_cards] = tx80211_mac80211_capabilities(); |
| | 214 | ret->num_cards++; |
| | 215 | |
| | 216 | |
| 246 | | if (!strcasecmp(in_str, "ath5k") || |
| 247 | | !strcasecmp(in_str, "iwlwifi") || |
| 248 | | !strcasecmp(in_str, "d80211")) |
| 249 | | return INJ_D80211; |
| | 298 | if (!strcasecmp(in_str, "ath5k") || !strcasecmp(in_str, "ath9k") || |
| | 299 | !strcasecmp(in_str, "iwlwifi") || !strcasecmp(in_str, "iwlagn") || |
| | 300 | !strcasecmp(in_str, "iwl-agn") || !strcasecmp(in_str, "iwl3945") || |
| | 301 | !strcasecmp(in_str, "iwl4965") || !strcasecmp(in_str, "iwl5000") || |
| | 302 | !strcasecmp(in_str, "mac80211") || !strcasecmp(in_str, "d80211") || |
| | 303 | !strcasecmp(in_str, "rt2x00") || !strcasecmp(in_str, "rt2400pci") || |
| | 304 | !strcasecmp(in_str, "rt2500pci") || strcasecmp(in_str, "rt2500usb") || |
| | 305 | !strcasecmp(in_str, "rt61pci") || strcasecmp(in_str, "rt73usb") || |
| | 306 | !strcasecmp(in_str, "b43") || !strcasecmp(in_str, "b43legacy") || |
| | 307 | !strcasecmp(in_str, "rtl8180") || !strcasecmp(in_str, "rtl8187")) |
| | 308 | return INJ_MAC80211; |