wlandev 39 drivers/staging/wlan-ng/cfg80211.c struct wlandevice *wlandev; wlandev 73 drivers/staging/wlan-ng/cfg80211.c static int prism2_domibset_uint32(struct wlandevice *wlandev, wlandev 84 drivers/staging/wlan-ng/cfg80211.c return p80211req_dorequest(wlandev, (u8 *)&msg); wlandev 87 drivers/staging/wlan-ng/cfg80211.c static int prism2_domibset_pstr32(struct wlandevice *wlandev, wlandev 99 drivers/staging/wlan-ng/cfg80211.c return p80211req_dorequest(wlandev, (u8 *)&msg); wlandev 108 drivers/staging/wlan-ng/cfg80211.c struct wlandevice *wlandev = dev->ml_priv; wlandev 115 drivers/staging/wlan-ng/cfg80211.c if (wlandev->macmode == WLAN_MACMODE_IBSS_STA) wlandev 117 drivers/staging/wlan-ng/cfg80211.c wlandev->macmode = WLAN_MACMODE_IBSS_STA; wlandev 121 drivers/staging/wlan-ng/cfg80211.c if (wlandev->macmode == WLAN_MACMODE_ESS_STA) wlandev 123 drivers/staging/wlan-ng/cfg80211.c wlandev->macmode = WLAN_MACMODE_ESS_STA; wlandev 132 drivers/staging/wlan-ng/cfg80211.c result = prism2_domibset_uint32(wlandev, wlandev 149 drivers/staging/wlan-ng/cfg80211.c struct wlandevice *wlandev = dev->ml_priv; wlandev 161 drivers/staging/wlan-ng/cfg80211.c if (prism2_domibset_uint32(wlandev, wlandev 169 drivers/staging/wlan-ng/cfg80211.c if (prism2_domibset_pstr32(wlandev, did, params->key_len, params->key)) wlandev 179 drivers/staging/wlan-ng/cfg80211.c struct wlandevice *wlandev = dev->ml_priv; wlandev 186 drivers/staging/wlan-ng/cfg80211.c len = wlandev->wep_keylens[key_index]; wlandev 196 drivers/staging/wlan-ng/cfg80211.c params.key = wlandev->wep_keys[key_index]; wlandev 207 drivers/staging/wlan-ng/cfg80211.c struct wlandevice *wlandev = dev->ml_priv; wlandev 221 drivers/staging/wlan-ng/cfg80211.c result = prism2_domibset_pstr32(wlandev, did, 13, "0000000000000"); wlandev 232 drivers/staging/wlan-ng/cfg80211.c struct wlandevice *wlandev = dev->ml_priv; wlandev 234 drivers/staging/wlan-ng/cfg80211.c return prism2_domibset_uint32(wlandev, wlandev 242 drivers/staging/wlan-ng/cfg80211.c struct wlandevice *wlandev = dev->ml_priv; wlandev 248 drivers/staging/wlan-ng/cfg80211.c if (!wlandev || (wlandev->msdstate != WLAN_MSD_RUNNING)) wlandev 257 drivers/staging/wlan-ng/cfg80211.c if (!wlandev->mlmerequest) wlandev 260 drivers/staging/wlan-ng/cfg80211.c result = wlandev->mlmerequest(wlandev, (struct p80211msg *)&quality); wlandev 277 drivers/staging/wlan-ng/cfg80211.c struct wlandevice *wlandev; wlandev 294 drivers/staging/wlan-ng/cfg80211.c wlandev = dev->ml_priv; wlandev 299 drivers/staging/wlan-ng/cfg80211.c if (wlandev->macmode == WLAN_MACMODE_ESS_AP) { wlandev 334 drivers/staging/wlan-ng/cfg80211.c result = p80211req_dorequest(wlandev, (u8 *)&msg1); wlandev 349 drivers/staging/wlan-ng/cfg80211.c result = p80211req_dorequest(wlandev, (u8 *)&msg2); wlandev 394 drivers/staging/wlan-ng/cfg80211.c struct wlandevice *wlandev = priv->wlandev; wlandev 405 drivers/staging/wlan-ng/cfg80211.c result = prism2_domibset_uint32(wlandev, wlandev 420 drivers/staging/wlan-ng/cfg80211.c result = prism2_domibset_uint32(wlandev, wlandev 436 drivers/staging/wlan-ng/cfg80211.c struct wlandevice *wlandev = dev->ml_priv; wlandev 450 drivers/staging/wlan-ng/cfg80211.c result = prism2_domibset_uint32(wlandev, wlandev 475 drivers/staging/wlan-ng/cfg80211.c result = prism2_domibset_uint32(wlandev, wlandev 484 drivers/staging/wlan-ng/cfg80211.c result = prism2_domibset_pstr32(wlandev, wlandev 495 drivers/staging/wlan-ng/cfg80211.c result = prism2_domibset_uint32(wlandev, wlandev 501 drivers/staging/wlan-ng/cfg80211.c result = prism2_domibset_uint32(wlandev, wlandev 511 drivers/staging/wlan-ng/cfg80211.c result = prism2_domibset_uint32(wlandev, wlandev 517 drivers/staging/wlan-ng/cfg80211.c result = prism2_domibset_uint32(wlandev, wlandev 532 drivers/staging/wlan-ng/cfg80211.c result = p80211req_dorequest(wlandev, (u8 *)&msg_join); wlandev 544 drivers/staging/wlan-ng/cfg80211.c struct wlandevice *wlandev = dev->ml_priv; wlandev 555 drivers/staging/wlan-ng/cfg80211.c result = p80211req_dorequest(wlandev, (u8 *)&msg_join); wlandev 578 drivers/staging/wlan-ng/cfg80211.c struct wlandevice *wlandev = priv->wlandev; wlandev 588 drivers/staging/wlan-ng/cfg80211.c result = prism2_domibset_uint32(wlandev, wlandev 605 drivers/staging/wlan-ng/cfg80211.c struct wlandevice *wlandev = priv->wlandev; wlandev 615 drivers/staging/wlan-ng/cfg80211.c result = p80211req_dorequest(wlandev, (u8 *)&msg); wlandev 629 drivers/staging/wlan-ng/cfg80211.c void prism2_connect_result(struct wlandevice *wlandev, u8 failed) wlandev 634 drivers/staging/wlan-ng/cfg80211.c cfg80211_connect_result(wlandev->netdev, wlandev->bssid, wlandev 638 drivers/staging/wlan-ng/cfg80211.c void prism2_disconnected(struct wlandevice *wlandev) wlandev 640 drivers/staging/wlan-ng/cfg80211.c cfg80211_disconnected(wlandev->netdev, 0, NULL, wlandev 644 drivers/staging/wlan-ng/cfg80211.c void prism2_roamed(struct wlandevice *wlandev) wlandev 647 drivers/staging/wlan-ng/cfg80211.c .bssid = wlandev->bssid, wlandev 650 drivers/staging/wlan-ng/cfg80211.c cfg80211_roamed(wlandev->netdev, &roam_info, GFP_KERNEL); wlandev 673 drivers/staging/wlan-ng/cfg80211.c struct wlandevice *wlandev) wlandev 683 drivers/staging/wlan-ng/cfg80211.c priv->wlandev = wlandev; wlandev 1286 drivers/staging/wlan-ng/hfa384x.h struct wlandevice *wlandev; wlandev 1424 drivers/staging/wlan-ng/hfa384x.h void hfa384x_tx_timeout(struct wlandevice *wlandev); wlandev 157 drivers/staging/wlan-ng/hfa384x_usb.c static void hfa384x_int_rxmonitor(struct wlandevice *wlandev, wlandev 173 drivers/staging/wlan-ng/hfa384x_usb.c hfa384x_usbin_txcompl(struct wlandevice *wlandev, union hfa384x_usbin *usbin); wlandev 175 drivers/staging/wlan-ng/hfa384x_usb.c static void hfa384x_usbin_rx(struct wlandevice *wlandev, struct sk_buff *skb); wlandev 177 drivers/staging/wlan-ng/hfa384x_usb.c static void hfa384x_usbin_info(struct wlandevice *wlandev, wlandev 340 drivers/staging/wlan-ng/hfa384x_usb.c hfa384x_usbin_callback, hw->wlandev); wlandev 345 drivers/staging/wlan-ng/hfa384x_usb.c if (!hw->wlandev->hwremoved && wlandev 351 drivers/staging/wlan-ng/hfa384x_usb.c netdev_warn(hw->wlandev->netdev, wlandev 353 drivers/staging/wlan-ng/hfa384x_usb.c hw->wlandev->netdev->name); wlandev 390 drivers/staging/wlan-ng/hfa384x_usb.c struct net_device *netdev = hw->wlandev->netdev; wlandev 395 drivers/staging/wlan-ng/hfa384x_usb.c if (!hw->wlandev->hwremoved && wlandev 401 drivers/staging/wlan-ng/hfa384x_usb.c netdev_warn(hw->wlandev->netdev, wlandev 435 drivers/staging/wlan-ng/hfa384x_usb.c struct net_device *netdev = hw->wlandev->netdev; wlandev 440 drivers/staging/wlan-ng/hfa384x_usb.c if (hw->wlandev->hwremoved) wlandev 451 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, wlandev 455 drivers/staging/wlan-ng/hfa384x_usb.c netdev_info(hw->wlandev->netdev, "%s rx pipe reset complete.\n", wlandev 468 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, wlandev 483 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, wlandev 487 drivers/staging/wlan-ng/hfa384x_usb.c netdev_info(hw->wlandev->netdev, "%s tx pipe reset complete.\n", wlandev 502 drivers/staging/wlan-ng/hfa384x_usb.c netif_wake_queue(hw->wlandev->netdev); wlandev 1062 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, "usb_reset_device() failed, result=%d.\n", wlandev 1110 drivers/staging/wlan-ng/hfa384x_usb.c if (hw->wlandev->hwremoved) { wlandev 1142 drivers/staging/wlan-ng/hfa384x_usb.c if (hw->wlandev->hwremoved) wlandev 1163 drivers/staging/wlan-ng/hfa384x_usb.c netdev_warn(hw->wlandev->netdev, "CTLX[%d] error: state(%s)\n", wlandev 1827 drivers/staging/wlan-ng/hfa384x_usb.c netdev_info(hw->wlandev->netdev, wlandev 1860 drivers/staging/wlan-ng/hfa384x_usb.c netdev_info(hw->wlandev->netdev, "Writing %d bytes to flash @0x%06x\n", wlandev 1867 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, wlandev 1899 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, wlandev 2052 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, wlandev 2060 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, wlandev 2127 drivers/staging/wlan-ng/hfa384x_usb.c netdev_info(hw->wlandev->netdev, "Writing %d bytes to ram @0x%06x\n", wlandev 2225 drivers/staging/wlan-ng/hfa384x_usb.c netdev_warn(hw->wlandev->netdev, wlandev 2239 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, wlandev 2246 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, "pdrcode invalid=%d\n", wlandev 2262 drivers/staging/wlan-ng/hfa384x_usb.c netdev_info(hw->wlandev->netdev, wlandev 2344 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, "Cannot get bulk in endpoint status.\n"); wlandev 2348 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, "Failed to reset bulk in endpoint.\n"); wlandev 2354 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, "Cannot get bulk out endpoint status.\n"); wlandev 2358 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, "Failed to reset bulk out endpoint.\n"); wlandev 2366 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, wlandev 2388 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, wlandev 2399 drivers/staging/wlan-ng/hfa384x_usb.c netdev_warn(hw->wlandev->netdev, "First cmd_initialize() succeeded, but second attempt failed (result=%d)\n", wlandev 2401 drivers/staging/wlan-ng/hfa384x_usb.c netdev_warn(hw->wlandev->netdev, wlandev 2441 drivers/staging/wlan-ng/hfa384x_usb.c if (!hw->wlandev->hwremoved) { wlandev 2493 drivers/staging/wlan-ng/hfa384x_usb.c netdev_warn(hw->wlandev->netdev, "TX URB already in use\n"); wlandev 2561 drivers/staging/wlan-ng/hfa384x_usb.c hfa384x_usbout_callback, hw->wlandev); wlandev 2567 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, wlandev 2576 drivers/staging/wlan-ng/hfa384x_usb.c void hfa384x_tx_timeout(struct wlandevice *wlandev) wlandev 2578 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x *hw = wlandev->priv; wlandev 2583 drivers/staging/wlan-ng/hfa384x_usb.c if (!hw->wlandev->hwremoved) { wlandev 2673 drivers/staging/wlan-ng/hfa384x_usb.c if (hw->wlandev->hwremoved) { wlandev 2788 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, "CTLX[%d] not in a terminating state(%s)\n", wlandev 2827 drivers/staging/wlan-ng/hfa384x_usb.c test_bit(WORK_TX_HALT, &hw->usb_flags) || hw->wlandev->hwremoved) wlandev 2872 drivers/staging/wlan-ng/hfa384x_usb.c netdev_warn(hw->wlandev->netdev, wlandev 2874 drivers/staging/wlan-ng/hfa384x_usb.c hw->wlandev->netdev->name); wlandev 2882 drivers/staging/wlan-ng/hfa384x_usb.c netdev_warn(hw->wlandev->netdev, "%s urb shutdown!\n", wlandev 2883 drivers/staging/wlan-ng/hfa384x_usb.c hw->wlandev->netdev->name); wlandev 2887 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, "Failed to submit CTLX[%d]: error=%d\n", wlandev 2915 drivers/staging/wlan-ng/hfa384x_usb.c struct wlandevice *wlandev = urb->context; wlandev 2929 drivers/staging/wlan-ng/hfa384x_usb.c if (!wlandev || !wlandev->netdev || wlandev->hwremoved) wlandev 2932 drivers/staging/wlan-ng/hfa384x_usb.c hw = wlandev->priv; wlandev 2951 drivers/staging/wlan-ng/hfa384x_usb.c wlandev->netdev->stats.rx_errors++; wlandev 2952 drivers/staging/wlan-ng/hfa384x_usb.c wlandev->netdev->stats.rx_length_errors++; wlandev 2958 drivers/staging/wlan-ng/hfa384x_usb.c netdev_warn(hw->wlandev->netdev, "%s rx pipe stalled: requesting reset\n", wlandev 2959 drivers/staging/wlan-ng/hfa384x_usb.c wlandev->netdev->name); wlandev 2962 drivers/staging/wlan-ng/hfa384x_usb.c wlandev->netdev->stats.rx_errors++; wlandev 2973 drivers/staging/wlan-ng/hfa384x_usb.c wlandev->netdev->stats.rx_errors++; wlandev 2978 drivers/staging/wlan-ng/hfa384x_usb.c wlandev->netdev->stats.rx_over_errors++; wlandev 2997 drivers/staging/wlan-ng/hfa384x_usb.c wlandev->netdev->stats.rx_errors++; wlandev 3011 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, wlandev 3025 drivers/staging/wlan-ng/hfa384x_usb.c hfa384x_usbin_txcompl(wlandev, usbin); wlandev 3028 drivers/staging/wlan-ng/hfa384x_usb.c hfa384x_usbin_rx(wlandev, skb); wlandev 3036 drivers/staging/wlan-ng/hfa384x_usb.c hfa384x_usbin_txcompl(wlandev, usbin); wlandev 3044 drivers/staging/wlan-ng/hfa384x_usb.c hfa384x_usbin_info(wlandev, usbin); wlandev 3148 drivers/staging/wlan-ng/hfa384x_usb.c netdev_warn(hw->wlandev->netdev, wlandev 3184 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, wlandev 3219 drivers/staging/wlan-ng/hfa384x_usb.c static void hfa384x_usbin_txcompl(struct wlandevice *wlandev, wlandev 3228 drivers/staging/wlan-ng/hfa384x_usb.c prism2sta_ev_txexc(wlandev, status); wlandev 3230 drivers/staging/wlan-ng/hfa384x_usb.c prism2sta_ev_tx(wlandev, status); wlandev 3251 drivers/staging/wlan-ng/hfa384x_usb.c static void hfa384x_usbin_rx(struct wlandevice *wlandev, struct sk_buff *skb) wlandev 3254 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x *hw = wlandev->priv; wlandev 3270 drivers/staging/wlan-ng/hfa384x_usb.c if ((wlandev->hostwep & HOSTWEP_EXCLUDEUNENCRYPTED) && wlandev 3289 drivers/staging/wlan-ng/hfa384x_usb.c skb->dev = wlandev->netdev; wlandev 3300 drivers/staging/wlan-ng/hfa384x_usb.c p80211skb_rxmeta_attach(wlandev, skb); wlandev 3307 drivers/staging/wlan-ng/hfa384x_usb.c p80211netdev_rx(wlandev, skb); wlandev 3314 drivers/staging/wlan-ng/hfa384x_usb.c hfa384x_int_rxmonitor(wlandev, &usbin->rxfrm); wlandev 3322 drivers/staging/wlan-ng/hfa384x_usb.c netdev_warn(hw->wlandev->netdev, "Received frame on unsupported port=%d\n", wlandev 3350 drivers/staging/wlan-ng/hfa384x_usb.c static void hfa384x_int_rxmonitor(struct wlandevice *wlandev, wlandev 3360 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x *hw = wlandev->priv; wlandev 3386 drivers/staging/wlan-ng/hfa384x_usb.c if ((wlandev->netdev->type == ARPHRD_IEEE80211_PRISM) && wlandev 3432 drivers/staging/wlan-ng/hfa384x_usb.c p80211netdev_rx(wlandev, skb); wlandev 3453 drivers/staging/wlan-ng/hfa384x_usb.c static void hfa384x_usbin_info(struct wlandevice *wlandev, wlandev 3457 drivers/staging/wlan-ng/hfa384x_usb.c prism2sta_ev_info(wlandev, &usbin->infofrm.info); wlandev 3479 drivers/staging/wlan-ng/hfa384x_usb.c struct wlandevice *wlandev = urb->context; wlandev 3485 drivers/staging/wlan-ng/hfa384x_usb.c if (wlandev && wlandev->netdev) { wlandev 3488 drivers/staging/wlan-ng/hfa384x_usb.c prism2sta_ev_alloc(wlandev); wlandev 3492 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x *hw = wlandev->priv; wlandev 3494 drivers/staging/wlan-ng/hfa384x_usb.c netdev_warn(hw->wlandev->netdev, wlandev 3496 drivers/staging/wlan-ng/hfa384x_usb.c wlandev->netdev->name); wlandev 3499 drivers/staging/wlan-ng/hfa384x_usb.c wlandev->netdev->stats.tx_errors++; wlandev 3506 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x *hw = wlandev->priv; wlandev 3513 drivers/staging/wlan-ng/hfa384x_usb.c wlandev->netdev->stats.tx_errors++; wlandev 3514 drivers/staging/wlan-ng/hfa384x_usb.c netif_stop_queue(wlandev->netdev); wlandev 3524 drivers/staging/wlan-ng/hfa384x_usb.c netdev_info(wlandev->netdev, "unknown urb->status=%d\n", wlandev 3526 drivers/staging/wlan-ng/hfa384x_usb.c wlandev->netdev->stats.tx_errors++; wlandev 3619 drivers/staging/wlan-ng/hfa384x_usb.c netdev_err(hw->wlandev->netdev, wlandev 3629 drivers/staging/wlan-ng/hfa384x_usb.c netdev_warn(hw->wlandev->netdev, wlandev 3631 drivers/staging/wlan-ng/hfa384x_usb.c hw->wlandev->netdev->name); wlandev 3792 drivers/staging/wlan-ng/hfa384x_usb.c if (!hw->wlandev->hwremoved && wlandev 3830 drivers/staging/wlan-ng/hfa384x_usb.c if (hw->wlandev->hwremoved) { wlandev 108 drivers/staging/wlan-ng/p80211conv.c int skb_ether_to_p80211(struct wlandevice *wlandev, u32 ethconv, wlandev 176 drivers/staging/wlan-ng/p80211conv.c switch (wlandev->macmode) { wlandev 179 drivers/staging/wlan-ng/p80211conv.c memcpy(p80211_hdr->a3.a2, wlandev->netdev->dev_addr, ETH_ALEN); wlandev 180 drivers/staging/wlan-ng/p80211conv.c memcpy(p80211_hdr->a3.a3, wlandev->bssid, ETH_ALEN); wlandev 184 drivers/staging/wlan-ng/p80211conv.c memcpy(p80211_hdr->a3.a1, wlandev->bssid, ETH_ALEN); wlandev 185 drivers/staging/wlan-ng/p80211conv.c memcpy(p80211_hdr->a3.a2, wlandev->netdev->dev_addr, ETH_ALEN); wlandev 191 drivers/staging/wlan-ng/p80211conv.c memcpy(p80211_hdr->a3.a2, wlandev->bssid, ETH_ALEN); wlandev 195 drivers/staging/wlan-ng/p80211conv.c netdev_err(wlandev->netdev, wlandev 202 drivers/staging/wlan-ng/p80211conv.c if ((wlandev->hostwep & HOSTWEP_PRIVACYINVOKED) && wlandev 203 drivers/staging/wlan-ng/p80211conv.c (wlandev->hostwep & HOSTWEP_ENCRYPT)) { wlandev 209 drivers/staging/wlan-ng/p80211conv.c foo = wep_encrypt(wlandev, skb->data, p80211_wep->data, wlandev 211 drivers/staging/wlan-ng/p80211conv.c wlandev->hostwep & HOSTWEP_DEFAULTKEY_MASK, wlandev 214 drivers/staging/wlan-ng/p80211conv.c netdev_warn(wlandev->netdev, wlandev 233 drivers/staging/wlan-ng/p80211conv.c static void orinoco_spy_gather(struct wlandevice *wlandev, char *mac, wlandev 242 drivers/staging/wlan-ng/p80211conv.c for (i = 0; i < wlandev->spy_number; i++) { wlandev 243 drivers/staging/wlan-ng/p80211conv.c if (!memcmp(wlandev->spy_address[i], mac, ETH_ALEN)) { wlandev 244 drivers/staging/wlan-ng/p80211conv.c wlandev->spy_stat[i].level = rxmeta->signal; wlandev 245 drivers/staging/wlan-ng/p80211conv.c wlandev->spy_stat[i].noise = rxmeta->noise; wlandev 246 drivers/staging/wlan-ng/p80211conv.c wlandev->spy_stat[i].qual = wlandev 250 drivers/staging/wlan-ng/p80211conv.c wlandev->spy_stat[i].updated = 0x7; wlandev 275 drivers/staging/wlan-ng/p80211conv.c int skb_p80211_to_ether(struct wlandevice *wlandev, u32 ethconv, wlandev 278 drivers/staging/wlan-ng/p80211conv.c struct net_device *netdev = wlandev->netdev; wlandev 321 drivers/staging/wlan-ng/p80211conv.c if ((wlandev->hostwep & HOSTWEP_PRIVACYINVOKED) && wlandev 323 drivers/staging/wlan-ng/p80211conv.c (wlandev->hostwep & HOSTWEP_DECRYPT)) { wlandev 329 drivers/staging/wlan-ng/p80211conv.c foo = wep_decrypt(wlandev, skb->data + payload_offset + 4, wlandev 338 drivers/staging/wlan-ng/p80211conv.c wlandev->rx.decrypt_err++; wlandev 349 drivers/staging/wlan-ng/p80211conv.c wlandev->rx.decrypt++; wlandev 498 drivers/staging/wlan-ng/p80211conv.c if (wlandev->spy_number) wlandev 499 drivers/staging/wlan-ng/p80211conv.c orinoco_spy_gather(wlandev, eth_hdr(skb)->h_source, wlandev 601 drivers/staging/wlan-ng/p80211conv.c int p80211skb_rxmeta_attach(struct wlandevice *wlandev, struct sk_buff *skb) wlandev 609 drivers/staging/wlan-ng/p80211conv.c netdev_err(wlandev->netdev, wlandev 610 drivers/staging/wlan-ng/p80211conv.c "%s: RXmeta already attached!\n", wlandev->name); wlandev 624 drivers/staging/wlan-ng/p80211conv.c rxmeta->wlandev = wlandev; wlandev 653 drivers/staging/wlan-ng/p80211conv.c void p80211skb_free(struct wlandevice *wlandev, struct sk_buff *skb) wlandev 661 drivers/staging/wlan-ng/p80211conv.c netdev_err(wlandev->netdev, wlandev 67 drivers/staging/wlan-ng/p80211conv.h struct wlandevice *wlandev; wlandev 87 drivers/staging/wlan-ng/p80211conv.h void p80211skb_free(struct wlandevice *wlandev, struct sk_buff *skb); wlandev 88 drivers/staging/wlan-ng/p80211conv.h int p80211skb_rxmeta_attach(struct wlandevice *wlandev, struct sk_buff *skb); wlandev 157 drivers/staging/wlan-ng/p80211conv.h int skb_p80211_to_ether(struct wlandevice *wlandev, u32 ethconv, wlandev 159 drivers/staging/wlan-ng/p80211conv.h int skb_ether_to_p80211(struct wlandevice *wlandev, u32 ethconv, wlandev 105 drivers/staging/wlan-ng/p80211netdev.c static int p80211_rx_typedrop(struct wlandevice *wlandev, u16 fc); wlandev 155 drivers/staging/wlan-ng/p80211netdev.c struct wlandevice *wlandev = netdev->ml_priv; wlandev 158 drivers/staging/wlan-ng/p80211netdev.c if (wlandev->msdstate != WLAN_MSD_RUNNING) wlandev 162 drivers/staging/wlan-ng/p80211netdev.c if (wlandev->open) { wlandev 163 drivers/staging/wlan-ng/p80211netdev.c result = wlandev->open(wlandev); wlandev 165 drivers/staging/wlan-ng/p80211netdev.c netif_start_queue(wlandev->netdev); wlandev 166 drivers/staging/wlan-ng/p80211netdev.c wlandev->state = WLAN_DEVICE_OPEN; wlandev 191 drivers/staging/wlan-ng/p80211netdev.c struct wlandevice *wlandev = netdev->ml_priv; wlandev 193 drivers/staging/wlan-ng/p80211netdev.c if (wlandev->close) wlandev 194 drivers/staging/wlan-ng/p80211netdev.c result = wlandev->close(wlandev); wlandev 196 drivers/staging/wlan-ng/p80211netdev.c netif_stop_queue(wlandev->netdev); wlandev 197 drivers/staging/wlan-ng/p80211netdev.c wlandev->state = WLAN_DEVICE_CLOSED; wlandev 216 drivers/staging/wlan-ng/p80211netdev.c void p80211netdev_rx(struct wlandevice *wlandev, struct sk_buff *skb) wlandev 219 drivers/staging/wlan-ng/p80211netdev.c skb_queue_tail(&wlandev->nsd_rxq, skb); wlandev 220 drivers/staging/wlan-ng/p80211netdev.c tasklet_schedule(&wlandev->rx_bh); wlandev 235 drivers/staging/wlan-ng/p80211netdev.c static int p80211_convert_to_ether(struct wlandevice *wlandev, wlandev 241 drivers/staging/wlan-ng/p80211netdev.c if (p80211_rx_typedrop(wlandev, le16_to_cpu(hdr->fc))) wlandev 247 drivers/staging/wlan-ng/p80211netdev.c if (wlandev->netdev->flags & IFF_ALLMULTI) { wlandev 248 drivers/staging/wlan-ng/p80211netdev.c if (!ether_addr_equal_unaligned(wlandev->netdev->dev_addr, wlandev 255 drivers/staging/wlan-ng/p80211netdev.c if (skb_p80211_to_ether(wlandev, wlandev->ethconv, skb) == 0) { wlandev 256 drivers/staging/wlan-ng/p80211netdev.c wlandev->netdev->stats.rx_packets++; wlandev 257 drivers/staging/wlan-ng/p80211netdev.c wlandev->netdev->stats.rx_bytes += skb->len; wlandev 262 drivers/staging/wlan-ng/p80211netdev.c netdev_dbg(wlandev->netdev, "%s failed.\n", __func__); wlandev 273 drivers/staging/wlan-ng/p80211netdev.c struct wlandevice *wlandev = (struct wlandevice *)arg; wlandev 275 drivers/staging/wlan-ng/p80211netdev.c struct net_device *dev = wlandev->netdev; wlandev 278 drivers/staging/wlan-ng/p80211netdev.c while ((skb = skb_dequeue(&wlandev->nsd_rxq))) { wlandev 279 drivers/staging/wlan-ng/p80211netdev.c if (wlandev->state == WLAN_DEVICE_OPEN) { wlandev 296 drivers/staging/wlan-ng/p80211netdev.c if (!p80211_convert_to_ether(wlandev, skb)) wlandev 329 drivers/staging/wlan-ng/p80211netdev.c struct wlandevice *wlandev = netdev->ml_priv; wlandev 338 drivers/staging/wlan-ng/p80211netdev.c if (wlandev->state != WLAN_DEVICE_OPEN) { wlandev 355 drivers/staging/wlan-ng/p80211netdev.c switch (wlandev->macmode) { wlandev 366 drivers/staging/wlan-ng/p80211netdev.c netif_start_queue(wlandev->netdev); wlandev 386 drivers/staging/wlan-ng/p80211netdev.c (wlandev, wlandev->ethconv, skb, &p80211_hdr, wlandev 390 drivers/staging/wlan-ng/p80211netdev.c wlandev->ethconv); wlandev 395 drivers/staging/wlan-ng/p80211netdev.c if (!wlandev->txframe) { wlandev 406 drivers/staging/wlan-ng/p80211netdev.c txresult = wlandev->txframe(wlandev, skb, &p80211_hdr, &p80211_wep); wlandev 411 drivers/staging/wlan-ng/p80211netdev.c netif_wake_queue(wlandev->netdev); wlandev 456 drivers/staging/wlan-ng/p80211netdev.c struct wlandevice *wlandev = dev->ml_priv; wlandev 460 drivers/staging/wlan-ng/p80211netdev.c if (wlandev->set_multicast_list) wlandev 461 drivers/staging/wlan-ng/p80211netdev.c wlandev->set_multicast_list(wlandev, dev); wlandev 466 drivers/staging/wlan-ng/p80211netdev.c static int p80211netdev_ethtool(struct wlandevice *wlandev, wlandev 483 drivers/staging/wlan-ng/p80211netdev.c wlandev->nsdname); wlandev 494 drivers/staging/wlan-ng/p80211netdev.c if (wlandev->linkstatus && wlandev 495 drivers/staging/wlan-ng/p80211netdev.c (wlandev->macmode != WLAN_MACMODE_NONE)) { wlandev 545 drivers/staging/wlan-ng/p80211netdev.c struct wlandevice *wlandev = dev->ml_priv; wlandev 553 drivers/staging/wlan-ng/p80211netdev.c p80211netdev_ethtool(wlandev, (void __user *)ifr->ifr_data); wlandev 578 drivers/staging/wlan-ng/p80211netdev.c result = p80211req_dorequest(wlandev, msgbuf); wlandev 717 drivers/staging/wlan-ng/p80211netdev.c int wlan_setup(struct wlandevice *wlandev, struct device *physdev) wlandev 725 drivers/staging/wlan-ng/p80211netdev.c wlandev->state = WLAN_DEVICE_CLOSED; wlandev 726 drivers/staging/wlan-ng/p80211netdev.c wlandev->ethconv = WLAN_ETHCONV_8021h; wlandev 727 drivers/staging/wlan-ng/p80211netdev.c wlandev->macmode = WLAN_MACMODE_NONE; wlandev 730 drivers/staging/wlan-ng/p80211netdev.c skb_queue_head_init(&wlandev->nsd_rxq); wlandev 731 drivers/staging/wlan-ng/p80211netdev.c tasklet_init(&wlandev->rx_bh, wlandev 732 drivers/staging/wlan-ng/p80211netdev.c p80211netdev_rx_bh, (unsigned long)wlandev); wlandev 735 drivers/staging/wlan-ng/p80211netdev.c wiphy = wlan_create_wiphy(physdev, wlandev); wlandev 749 drivers/staging/wlan-ng/p80211netdev.c wlandev->netdev = netdev; wlandev 750 drivers/staging/wlan-ng/p80211netdev.c netdev->ml_priv = wlandev; wlandev 789 drivers/staging/wlan-ng/p80211netdev.c void wlan_unsetup(struct wlandevice *wlandev) wlandev 793 drivers/staging/wlan-ng/p80211netdev.c tasklet_kill(&wlandev->rx_bh); wlandev 795 drivers/staging/wlan-ng/p80211netdev.c if (wlandev->netdev) { wlandev 796 drivers/staging/wlan-ng/p80211netdev.c wdev = netdev_priv(wlandev->netdev); wlandev 799 drivers/staging/wlan-ng/p80211netdev.c free_netdev(wlandev->netdev); wlandev 800 drivers/staging/wlan-ng/p80211netdev.c wlandev->netdev = NULL; wlandev 824 drivers/staging/wlan-ng/p80211netdev.c int register_wlandev(struct wlandevice *wlandev) wlandev 826 drivers/staging/wlan-ng/p80211netdev.c return register_netdev(wlandev->netdev); wlandev 847 drivers/staging/wlan-ng/p80211netdev.c int unregister_wlandev(struct wlandevice *wlandev) wlandev 851 drivers/staging/wlan-ng/p80211netdev.c unregister_netdev(wlandev->netdev); wlandev 854 drivers/staging/wlan-ng/p80211netdev.c while ((skb = skb_dequeue(&wlandev->nsd_rxq))) wlandev 891 drivers/staging/wlan-ng/p80211netdev.c void p80211netdev_hwremoved(struct wlandevice *wlandev) wlandev 893 drivers/staging/wlan-ng/p80211netdev.c wlandev->hwremoved = 1; wlandev 894 drivers/staging/wlan-ng/p80211netdev.c if (wlandev->state == WLAN_DEVICE_OPEN) wlandev 895 drivers/staging/wlan-ng/p80211netdev.c netif_stop_queue(wlandev->netdev); wlandev 897 drivers/staging/wlan-ng/p80211netdev.c netif_device_detach(wlandev->netdev); wlandev 922 drivers/staging/wlan-ng/p80211netdev.c static int p80211_rx_typedrop(struct wlandevice *wlandev, u16 fc) wlandev 932 drivers/staging/wlan-ng/p80211netdev.c if ((wlandev->netdev->flags & IFF_PROMISC) || wlandev 933 drivers/staging/wlan-ng/p80211netdev.c (wlandev->netdev->flags & IFF_ALLMULTI)) { wlandev 937 drivers/staging/wlan-ng/p80211netdev.c netdev_dbg(wlandev->netdev, "rx'd mgmt:\n"); wlandev 938 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.mgmt++; wlandev 942 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.assocreq++; wlandev 946 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.assocresp++; wlandev 950 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.reassocreq++; wlandev 954 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.reassocresp++; wlandev 958 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.probereq++; wlandev 962 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.proberesp++; wlandev 966 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.beacon++; wlandev 970 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.atim++; wlandev 974 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.disassoc++; wlandev 978 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.authen++; wlandev 982 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.deauthen++; wlandev 986 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.mgmt_unknown++; wlandev 994 drivers/staging/wlan-ng/p80211netdev.c if ((wlandev->netdev->flags & IFF_PROMISC) || wlandev 995 drivers/staging/wlan-ng/p80211netdev.c (wlandev->netdev->flags & IFF_ALLMULTI)) { wlandev 999 drivers/staging/wlan-ng/p80211netdev.c netdev_dbg(wlandev->netdev, "rx'd ctl:\n"); wlandev 1000 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.ctl++; wlandev 1004 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.pspoll++; wlandev 1008 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.rts++; wlandev 1012 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.cts++; wlandev 1016 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.ack++; wlandev 1020 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.cfend++; wlandev 1024 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.cfendcfack++; wlandev 1028 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.ctl_unknown++; wlandev 1036 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.data++; wlandev 1039 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.dataonly++; wlandev 1042 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.data_cfack++; wlandev 1045 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.data_cfpoll++; wlandev 1048 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.data__cfack_cfpoll++; wlandev 1051 drivers/staging/wlan-ng/p80211netdev.c netdev_dbg(wlandev->netdev, "rx'd data:null\n"); wlandev 1052 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.null++; wlandev 1055 drivers/staging/wlan-ng/p80211netdev.c netdev_dbg(wlandev->netdev, "rx'd data:cfack\n"); wlandev 1056 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.cfack++; wlandev 1059 drivers/staging/wlan-ng/p80211netdev.c netdev_dbg(wlandev->netdev, "rx'd data:cfpoll\n"); wlandev 1060 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.cfpoll++; wlandev 1063 drivers/staging/wlan-ng/p80211netdev.c netdev_dbg(wlandev->netdev, "rx'd data:cfack_cfpoll\n"); wlandev 1064 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.cfack_cfpoll++; wlandev 1068 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.data_unknown++; wlandev 1079 drivers/staging/wlan-ng/p80211netdev.c struct wlandevice *wlandev = netdev->ml_priv; wlandev 1081 drivers/staging/wlan-ng/p80211netdev.c if (wlandev->tx_timeout) { wlandev 1082 drivers/staging/wlan-ng/p80211netdev.c wlandev->tx_timeout(wlandev); wlandev 1085 drivers/staging/wlan-ng/p80211netdev.c wlandev->nsdname); wlandev 1086 drivers/staging/wlan-ng/p80211netdev.c netif_wake_queue(wlandev->netdev); wlandev 179 drivers/staging/wlan-ng/p80211netdev.h int (*open)(struct wlandevice *wlandev); wlandev 180 drivers/staging/wlan-ng/p80211netdev.h int (*close)(struct wlandevice *wlandev); wlandev 181 drivers/staging/wlan-ng/p80211netdev.h void (*reset)(struct wlandevice *wlandev); wlandev 182 drivers/staging/wlan-ng/p80211netdev.h int (*txframe)(struct wlandevice *wlandev, struct sk_buff *skb, wlandev 185 drivers/staging/wlan-ng/p80211netdev.h int (*mlmerequest)(struct wlandevice *wlandev, struct p80211msg *msg); wlandev 186 drivers/staging/wlan-ng/p80211netdev.h int (*set_multicast_list)(struct wlandevice *wlandev, wlandev 188 drivers/staging/wlan-ng/p80211netdev.h void (*tx_timeout)(struct wlandevice *wlandev); wlandev 226 drivers/staging/wlan-ng/p80211netdev.h int wep_change_key(struct wlandevice *wlandev, int keynum, u8 *key, int keylen); wlandev 227 drivers/staging/wlan-ng/p80211netdev.h int wep_decrypt(struct wlandevice *wlandev, u8 *buf, u32 len, int key_override, wlandev 229 drivers/staging/wlan-ng/p80211netdev.h int wep_encrypt(struct wlandevice *wlandev, u8 *buf, u8 *dst, u32 len, wlandev 232 drivers/staging/wlan-ng/p80211netdev.h int wlan_setup(struct wlandevice *wlandev, struct device *physdev); wlandev 233 drivers/staging/wlan-ng/p80211netdev.h void wlan_unsetup(struct wlandevice *wlandev); wlandev 234 drivers/staging/wlan-ng/p80211netdev.h int register_wlandev(struct wlandevice *wlandev); wlandev 235 drivers/staging/wlan-ng/p80211netdev.h int unregister_wlandev(struct wlandevice *wlandev); wlandev 236 drivers/staging/wlan-ng/p80211netdev.h void p80211netdev_rx(struct wlandevice *wlandev, struct sk_buff *skb); wlandev 237 drivers/staging/wlan-ng/p80211netdev.h void p80211netdev_hwremoved(struct wlandevice *wlandev); wlandev 76 drivers/staging/wlan-ng/p80211req.c static void p80211req_handlemsg(struct wlandevice *wlandev, wlandev 78 drivers/staging/wlan-ng/p80211req.c static void p80211req_mibset_mibget(struct wlandevice *wlandev, wlandev 82 drivers/staging/wlan-ng/p80211req.c static void p80211req_handle_action(struct wlandevice *wlandev, u32 *data, wlandev 86 drivers/staging/wlan-ng/p80211req.c if (wlandev->hostwep & flag) wlandev 91 drivers/staging/wlan-ng/p80211req.c wlandev->hostwep &= ~flag; wlandev 93 drivers/staging/wlan-ng/p80211req.c wlandev->hostwep |= flag; wlandev 114 drivers/staging/wlan-ng/p80211req.c int p80211req_dorequest(struct wlandevice *wlandev, u8 *msgbuf) wlandev 119 drivers/staging/wlan-ng/p80211req.c if (!((wlandev->msdstate == WLAN_MSD_HWPRESENT && wlandev 121 drivers/staging/wlan-ng/p80211req.c wlandev->msdstate == WLAN_MSD_RUNNING || wlandev 122 drivers/staging/wlan-ng/p80211req.c wlandev->msdstate == WLAN_MSD_FWLOAD)) { wlandev 129 drivers/staging/wlan-ng/p80211req.c netdev_err(wlandev->netdev, wlandev 131 drivers/staging/wlan-ng/p80211req.c wlandev->name); wlandev 136 drivers/staging/wlan-ng/p80211req.c if (test_and_set_bit(1, &wlandev->request_pending)) wlandev 142 drivers/staging/wlan-ng/p80211req.c p80211req_handlemsg(wlandev, msg); wlandev 145 drivers/staging/wlan-ng/p80211req.c if (wlandev->mlmerequest) wlandev 146 drivers/staging/wlan-ng/p80211req.c wlandev->mlmerequest(wlandev, msg); wlandev 148 drivers/staging/wlan-ng/p80211req.c clear_bit(1, &wlandev->request_pending); wlandev 171 drivers/staging/wlan-ng/p80211req.c static void p80211req_handlemsg(struct wlandevice *wlandev, wlandev 178 drivers/staging/wlan-ng/p80211req.c wlandev->hostwep &= wlandev 181 drivers/staging/wlan-ng/p80211req.c wlandev->hostwep |= HOSTWEP_DECRYPT; wlandev 183 drivers/staging/wlan-ng/p80211req.c wlandev->hostwep |= HOSTWEP_ENCRYPT; wlandev 192 drivers/staging/wlan-ng/p80211req.c p80211req_mibset_mibget(wlandev, mib_msg, isget); wlandev 198 drivers/staging/wlan-ng/p80211req.c static void p80211req_mibset_mibget(struct wlandevice *wlandev, wlandev 213 drivers/staging/wlan-ng/p80211req.c wep_change_key(wlandev, wlandev 222 drivers/staging/wlan-ng/p80211req.c *data = wlandev->hostwep & HOSTWEP_DEFAULTKEY_MASK; wlandev 224 drivers/staging/wlan-ng/p80211req.c wlandev->hostwep &= ~(HOSTWEP_DEFAULTKEY_MASK); wlandev 225 drivers/staging/wlan-ng/p80211req.c wlandev->hostwep |= (*data & HOSTWEP_DEFAULTKEY_MASK); wlandev 232 drivers/staging/wlan-ng/p80211req.c p80211req_handle_action(wlandev, data, isget, wlandev 239 drivers/staging/wlan-ng/p80211req.c p80211req_handle_action(wlandev, data, isget, wlandev 52 drivers/staging/wlan-ng/p80211req.h int p80211req_dorequest(struct wlandevice *wlandev, u8 *msgbuf); wlandev 121 drivers/staging/wlan-ng/p80211wep.c int wep_change_key(struct wlandevice *wlandev, int keynum, u8 *key, int keylen) wlandev 134 drivers/staging/wlan-ng/p80211wep.c wlandev->wep_keylens[keynum] = keylen; wlandev 135 drivers/staging/wlan-ng/p80211wep.c memcpy(wlandev->wep_keys[keynum], key, keylen); wlandev 144 drivers/staging/wlan-ng/p80211wep.c int wep_decrypt(struct wlandevice *wlandev, u8 *buf, u32 len, int key_override, wlandev 167 drivers/staging/wlan-ng/p80211wep.c keylen = wlandev->wep_keylens[keyidx]; wlandev 173 drivers/staging/wlan-ng/p80211wep.c memcpy(key + 3, wlandev->wep_keys[keyidx], keylen); wlandev 217 drivers/staging/wlan-ng/p80211wep.c int wep_encrypt(struct wlandevice *wlandev, u8 *buf, wlandev 230 drivers/staging/wlan-ng/p80211wep.c keylen = wlandev->wep_keylens[keynum]; wlandev 246 drivers/staging/wlan-ng/p80211wep.c memcpy(key + 3, wlandev->wep_keys[keynum], keylen); wlandev 165 drivers/staging/wlan-ng/prism2fw.c struct wlandevice *wlandev); wlandev 171 drivers/staging/wlan-ng/prism2fw.c static int read_cardpda(struct pda *pda, struct wlandevice *wlandev); wlandev 182 drivers/staging/wlan-ng/prism2fw.c static int writeimage(struct wlandevice *wlandev, struct imgchunk *fchunk, wlandev 208 drivers/staging/wlan-ng/prism2fw.c static int prism2_fwtry(struct usb_device *udev, struct wlandevice *wlandev) wlandev 212 drivers/staging/wlan-ng/prism2fw.c netdev_info(wlandev->netdev, "prism2_usb: Checking for firmware %s\n", wlandev 216 drivers/staging/wlan-ng/prism2fw.c netdev_info(wlandev->netdev, wlandev 218 drivers/staging/wlan-ng/prism2fw.c netdev_info(wlandev->netdev, wlandev 223 drivers/staging/wlan-ng/prism2fw.c netdev_info(wlandev->netdev, wlandev 226 drivers/staging/wlan-ng/prism2fw.c prism2_fwapply((const struct ihex_binrec *)fw_entry->data, wlandev); wlandev 247 drivers/staging/wlan-ng/prism2fw.c struct wlandevice *wlandev) wlandev 286 drivers/staging/wlan-ng/prism2fw.c prism2sta_ifstate(wlandev, P80211ENUM_ifstate_fwload); wlandev 289 drivers/staging/wlan-ng/prism2fw.c if (read_cardpda(&pda, wlandev)) { wlandev 290 drivers/staging/wlan-ng/prism2fw.c netdev_err(wlandev->netdev, "load_cardpda failed, exiting.\n"); wlandev 299 drivers/staging/wlan-ng/prism2fw.c strcpy(getmsg.devname, wlandev->name); wlandev 313 drivers/staging/wlan-ng/prism2fw.c prism2mgmt_mibset_mibget(wlandev, &getmsg); wlandev 315 drivers/staging/wlan-ng/prism2fw.c netdev_err(wlandev->netdev, "Couldn't fetch PRI-SUP info\n"); wlandev 327 drivers/staging/wlan-ng/prism2fw.c netdev_err(wlandev->netdev, wlandev 334 drivers/staging/wlan-ng/prism2fw.c netdev_err(wlandev->netdev, "Incompatible firmware image.\n"); wlandev 339 drivers/staging/wlan-ng/prism2fw.c netdev_err(wlandev->netdev, wlandev 348 drivers/staging/wlan-ng/prism2fw.c netdev_err(wlandev->netdev, "Failed to make image chunk.\n"); wlandev 355 drivers/staging/wlan-ng/prism2fw.c netdev_err(wlandev->netdev, "Failed to plug data.\n"); wlandev 362 drivers/staging/wlan-ng/prism2fw.c netdev_err(wlandev->netdev, "Failed to insert all CRCs\n"); wlandev 367 drivers/staging/wlan-ng/prism2fw.c result = writeimage(wlandev, fchunk, nfchunks); wlandev 369 drivers/staging/wlan-ng/prism2fw.c netdev_err(wlandev->netdev, "Failed to ramwrite image data.\n"); wlandev 373 drivers/staging/wlan-ng/prism2fw.c netdev_info(wlandev->netdev, "prism2_usb: firmware loading finished.\n"); wlandev 777 drivers/staging/wlan-ng/prism2fw.c static int read_cardpda(struct pda *pda, struct wlandevice *wlandev) wlandev 789 drivers/staging/wlan-ng/prism2fw.c strcpy(msg->devname, wlandev->name); wlandev 797 drivers/staging/wlan-ng/prism2fw.c if (prism2mgmt_readpda(wlandev, msg) != 0) { wlandev 994 drivers/staging/wlan-ng/prism2fw.c static int writeimage(struct wlandevice *wlandev, struct imgchunk *fchunk, wlandev 1013 drivers/staging/wlan-ng/prism2fw.c netdev_err(wlandev->netdev, wlandev 1020 drivers/staging/wlan-ng/prism2fw.c strcpy(rstmsg->devname, wlandev->name); wlandev 1033 drivers/staging/wlan-ng/prism2fw.c strcpy(rwrmsg->devname, wlandev->name); wlandev 1054 drivers/staging/wlan-ng/prism2fw.c result = prism2mgmt_ramdl_state(wlandev, rstmsg); wlandev 1056 drivers/staging/wlan-ng/prism2fw.c netdev_err(wlandev->netdev, wlandev 1063 drivers/staging/wlan-ng/prism2fw.c netdev_err(wlandev->netdev, wlandev 1096 drivers/staging/wlan-ng/prism2fw.c result = prism2mgmt_ramdl_write(wlandev, rwrmsg); wlandev 1100 drivers/staging/wlan-ng/prism2fw.c netdev_err(wlandev->netdev, wlandev 1120 drivers/staging/wlan-ng/prism2fw.c result = prism2mgmt_ramdl_state(wlandev, rstmsg); wlandev 1122 drivers/staging/wlan-ng/prism2fw.c netdev_err(wlandev->netdev, wlandev 1129 drivers/staging/wlan-ng/prism2fw.c netdev_err(wlandev->netdev, wlandev 129 drivers/staging/wlan-ng/prism2mgmt.c int prism2mgmt_scan(struct wlandevice *wlandev, void *msgp) wlandev 132 drivers/staging/wlan-ng/prism2mgmt.c struct hfa384x *hw = wlandev->priv; wlandev 145 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 159 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 171 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 193 drivers/staging/wlan-ng/prism2mgmt.c netdev_warn(wlandev->netdev, wlandev 221 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 234 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 250 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, "Failed to set OwnSSID.\n"); wlandev 259 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 270 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 281 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 289 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 310 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 333 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 346 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 383 drivers/staging/wlan-ng/prism2mgmt.c int prism2mgmt_scan_results(struct wlandevice *wlandev, void *msgp) wlandev 387 drivers/staging/wlan-ng/prism2mgmt.c struct hfa384x *hw = wlandev->priv; wlandev 397 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 409 drivers/staging/wlan-ng/prism2mgmt.c netdev_dbg(wlandev->netdev, wlandev 544 drivers/staging/wlan-ng/prism2mgmt.c int prism2mgmt_start(struct wlandevice *wlandev, void *msgp) wlandev 547 drivers/staging/wlan-ng/prism2mgmt.c struct hfa384x *hw = wlandev->priv; wlandev 555 drivers/staging/wlan-ng/prism2mgmt.c wlandev->macmode = WLAN_MACMODE_NONE; wlandev 558 drivers/staging/wlan-ng/prism2mgmt.c memcpy(&wlandev->ssid, &msg->ssid.data, sizeof(msg->ssid.data)); wlandev 582 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, "Failed to set CnfOwnSSID\n"); wlandev 589 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, "Failed to set CnfDesiredSSID\n"); wlandev 601 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 610 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 639 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 669 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 676 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, "Failed to set txrates=%d.\n", wlandev 683 drivers/staging/wlan-ng/prism2mgmt.c wlandev->macmode = WLAN_MACMODE_IBSS_STA; wlandev 691 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 700 drivers/staging/wlan-ng/prism2mgmt.c netdev_dbg(wlandev->netdev, wlandev 727 drivers/staging/wlan-ng/prism2mgmt.c int prism2mgmt_readpda(struct wlandevice *wlandev, void *msgp) wlandev 729 drivers/staging/wlan-ng/prism2mgmt.c struct hfa384x *hw = wlandev->priv; wlandev 736 drivers/staging/wlan-ng/prism2mgmt.c if (wlandev->msdstate != WLAN_MSD_FWLOAD) { wlandev 737 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 750 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 794 drivers/staging/wlan-ng/prism2mgmt.c int prism2mgmt_ramdl_state(struct wlandevice *wlandev, void *msgp) wlandev 796 drivers/staging/wlan-ng/prism2mgmt.c struct hfa384x *hw = wlandev->priv; wlandev 799 drivers/staging/wlan-ng/prism2mgmt.c if (wlandev->msdstate != WLAN_MSD_FWLOAD) { wlandev 800 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 850 drivers/staging/wlan-ng/prism2mgmt.c int prism2mgmt_ramdl_write(struct wlandevice *wlandev, void *msgp) wlandev 852 drivers/staging/wlan-ng/prism2mgmt.c struct hfa384x *hw = wlandev->priv; wlandev 858 drivers/staging/wlan-ng/prism2mgmt.c if (wlandev->msdstate != WLAN_MSD_FWLOAD) { wlandev 859 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 912 drivers/staging/wlan-ng/prism2mgmt.c int prism2mgmt_flashdl_state(struct wlandevice *wlandev, void *msgp) wlandev 915 drivers/staging/wlan-ng/prism2mgmt.c struct hfa384x *hw = wlandev->priv; wlandev 918 drivers/staging/wlan-ng/prism2mgmt.c if (wlandev->msdstate != WLAN_MSD_FWLOAD) { wlandev 919 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 950 drivers/staging/wlan-ng/prism2mgmt.c wlandev->msdstate = WLAN_MSD_HWPRESENT; wlandev 951 drivers/staging/wlan-ng/prism2mgmt.c result = prism2sta_ifstate(wlandev, P80211ENUM_ifstate_fwload); wlandev 953 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 984 drivers/staging/wlan-ng/prism2mgmt.c int prism2mgmt_flashdl_write(struct wlandevice *wlandev, void *msgp) wlandev 986 drivers/staging/wlan-ng/prism2mgmt.c struct hfa384x *hw = wlandev->priv; wlandev 992 drivers/staging/wlan-ng/prism2mgmt.c if (wlandev->msdstate != WLAN_MSD_FWLOAD) { wlandev 993 drivers/staging/wlan-ng/prism2mgmt.c netdev_err(wlandev->netdev, wlandev 1045 drivers/staging/wlan-ng/prism2mgmt.c int prism2mgmt_autojoin(struct wlandevice *wlandev, void *msgp) wlandev 1047 drivers/staging/wlan-ng/prism2mgmt.c struct hfa384x *hw = wlandev->priv; wlandev 1056 drivers/staging/wlan-ng/prism2mgmt.c wlandev->macmode = WLAN_MACMODE_NONE; wlandev 1059 drivers/staging/wlan-ng/prism2mgmt.c memcpy(&wlandev->ssid, &msg->ssid.data, sizeof(msg->ssid.data)); wlandev 1117 drivers/staging/wlan-ng/prism2mgmt.c int prism2mgmt_wlansniff(struct wlandevice *wlandev, void *msgp) wlandev 1122 drivers/staging/wlan-ng/prism2mgmt.c struct hfa384x *hw = wlandev->priv; wlandev 1129 drivers/staging/wlan-ng/prism2mgmt.c if (wlandev->netdev->type == ARPHRD_ETHER) { wlandev 1137 drivers/staging/wlan-ng/prism2mgmt.c netdev_dbg(wlandev->netdev, wlandev 1146 drivers/staging/wlan-ng/prism2mgmt.c (wlandev->netdev, wlandev 1152 drivers/staging/wlan-ng/prism2mgmt.c wlandev->netdev->type = ARPHRD_ETHER; wlandev 1160 drivers/staging/wlan-ng/prism2mgmt.c (wlandev->netdev, wlandev 1174 drivers/staging/wlan-ng/prism2mgmt.c (wlandev->netdev, wlandev 1183 drivers/staging/wlan-ng/prism2mgmt.c netdev_dbg(wlandev->netdev, wlandev 1192 drivers/staging/wlan-ng/prism2mgmt.c netdev_info(wlandev->netdev, "monitor mode disabled\n"); wlandev 1198 drivers/staging/wlan-ng/prism2mgmt.c if (wlandev->netdev->type == ARPHRD_ETHER) { wlandev 1205 drivers/staging/wlan-ng/prism2mgmt.c (wlandev->netdev, wlandev 1216 drivers/staging/wlan-ng/prism2mgmt.c (wlandev->netdev, wlandev 1224 drivers/staging/wlan-ng/prism2mgmt.c netdev_dbg(wlandev->netdev, wlandev 1233 drivers/staging/wlan-ng/prism2mgmt.c netdev_dbg(wlandev->netdev, wlandev 1251 drivers/staging/wlan-ng/prism2mgmt.c netdev_dbg(wlandev->netdev, wlandev 1258 drivers/staging/wlan-ng/prism2mgmt.c if (wlandev->netdev->type != ARPHRD_ETHER) { wlandev 1266 drivers/staging/wlan-ng/prism2mgmt.c (wlandev->netdev, wlandev 1285 drivers/staging/wlan-ng/prism2mgmt.c (wlandev->netdev, wlandev 1313 drivers/staging/wlan-ng/prism2mgmt.c (wlandev->netdev, wlandev 1321 drivers/staging/wlan-ng/prism2mgmt.c netdev_dbg(wlandev->netdev, wlandev 1327 drivers/staging/wlan-ng/prism2mgmt.c if (wlandev->netdev->type == ARPHRD_ETHER) wlandev 1328 drivers/staging/wlan-ng/prism2mgmt.c netdev_info(wlandev->netdev, "monitor mode enabled\n"); wlandev 1336 drivers/staging/wlan-ng/prism2mgmt.c wlandev->netdev->type = ARPHRD_IEEE80211_PRISM; wlandev 1341 drivers/staging/wlan-ng/prism2mgmt.c wlandev->netdev->type = ARPHRD_IEEE80211_PRISM; wlandev 1343 drivers/staging/wlan-ng/prism2mgmt.c wlandev->netdev->type = ARPHRD_IEEE80211; wlandev 67 drivers/staging/wlan-ng/prism2mgmt.h u32 prism2sta_ifstate(struct wlandevice *wlandev, u32 ifstate); wlandev 69 drivers/staging/wlan-ng/prism2mgmt.h void prism2sta_ev_info(struct wlandevice *wlandev, wlandev 71 drivers/staging/wlan-ng/prism2mgmt.h void prism2sta_ev_txexc(struct wlandevice *wlandev, u16 status); wlandev 72 drivers/staging/wlan-ng/prism2mgmt.h void prism2sta_ev_tx(struct wlandevice *wlandev, u16 status); wlandev 73 drivers/staging/wlan-ng/prism2mgmt.h void prism2sta_ev_alloc(struct wlandevice *wlandev); wlandev 75 drivers/staging/wlan-ng/prism2mgmt.h int prism2mgmt_mibset_mibget(struct wlandevice *wlandev, void *msgp); wlandev 76 drivers/staging/wlan-ng/prism2mgmt.h int prism2mgmt_scan(struct wlandevice *wlandev, void *msgp); wlandev 77 drivers/staging/wlan-ng/prism2mgmt.h int prism2mgmt_scan_results(struct wlandevice *wlandev, void *msgp); wlandev 78 drivers/staging/wlan-ng/prism2mgmt.h int prism2mgmt_start(struct wlandevice *wlandev, void *msgp); wlandev 79 drivers/staging/wlan-ng/prism2mgmt.h int prism2mgmt_wlansniff(struct wlandevice *wlandev, void *msgp); wlandev 80 drivers/staging/wlan-ng/prism2mgmt.h int prism2mgmt_readpda(struct wlandevice *wlandev, void *msgp); wlandev 81 drivers/staging/wlan-ng/prism2mgmt.h int prism2mgmt_ramdl_state(struct wlandevice *wlandev, void *msgp); wlandev 82 drivers/staging/wlan-ng/prism2mgmt.h int prism2mgmt_ramdl_write(struct wlandevice *wlandev, void *msgp); wlandev 83 drivers/staging/wlan-ng/prism2mgmt.h int prism2mgmt_flashdl_state(struct wlandevice *wlandev, void *msgp); wlandev 84 drivers/staging/wlan-ng/prism2mgmt.h int prism2mgmt_flashdl_write(struct wlandevice *wlandev, void *msgp); wlandev 85 drivers/staging/wlan-ng/prism2mgmt.h int prism2mgmt_autojoin(struct wlandevice *wlandev, void *msgp); wlandev 116 drivers/staging/wlan-ng/prism2mgmt.h void prism2_connect_result(struct wlandevice *wlandev, u8 failed); wlandev 117 drivers/staging/wlan-ng/prism2mgmt.h void prism2_disconnected(struct wlandevice *wlandev); wlandev 118 drivers/staging/wlan-ng/prism2mgmt.h void prism2_roamed(struct wlandevice *wlandev); wlandev 91 drivers/staging/wlan-ng/prism2mib.c struct wlandevice *wlandev, wlandev 98 drivers/staging/wlan-ng/prism2mib.c struct wlandevice *wlandev, wlandev 105 drivers/staging/wlan-ng/prism2mib.c struct wlandevice *wlandev, wlandev 111 drivers/staging/wlan-ng/prism2mib.c struct wlandevice *wlandev, wlandev 117 drivers/staging/wlan-ng/prism2mib.c struct wlandevice *wlandev, wlandev 124 drivers/staging/wlan-ng/prism2mib.c struct wlandevice *wlandev, wlandev 132 drivers/staging/wlan-ng/prism2mib.c struct wlandevice *wlandev, wlandev 139 drivers/staging/wlan-ng/prism2mib.c struct wlandevice *wlandev, wlandev 254 drivers/staging/wlan-ng/prism2mib.c int prism2mgmt_mibset_mibget(struct wlandevice *wlandev, void *msgp) wlandev 256 drivers/staging/wlan-ng/prism2mib.c struct hfa384x *hw = wlandev->priv; wlandev 322 drivers/staging/wlan-ng/prism2mib.c result = mib->func(mib, isget, wlandev, hw, msg, (void *)mibitem->data); wlandev 370 drivers/staging/wlan-ng/prism2mib.c struct wlandevice *wlandev, wlandev 420 drivers/staging/wlan-ng/prism2mib.c struct wlandevice *wlandev, wlandev 467 drivers/staging/wlan-ng/prism2mib.c struct wlandevice *wlandev, wlandev 524 drivers/staging/wlan-ng/prism2mib.c struct wlandevice *wlandev, wlandev 574 drivers/staging/wlan-ng/prism2mib.c struct wlandevice *wlandev, wlandev 579 drivers/staging/wlan-ng/prism2mib.c if (wlandev->hostwep & HOSTWEP_DECRYPT) { wlandev 580 drivers/staging/wlan-ng/prism2mib.c if (wlandev->hostwep & HOSTWEP_DECRYPT) wlandev 582 drivers/staging/wlan-ng/prism2mib.c if (wlandev->hostwep & HOSTWEP_ENCRYPT) wlandev 586 drivers/staging/wlan-ng/prism2mib.c return prism2mib_flag(mib, isget, wlandev, hw, msg, data); wlandev 617 drivers/staging/wlan-ng/prism2mib.c struct wlandevice *wlandev, wlandev 626 drivers/staging/wlan-ng/prism2mib.c netdev_warn(wlandev->netdev, wlandev 633 drivers/staging/wlan-ng/prism2mib.c return prism2mib_uint32(mib, isget, wlandev, hw, msg, data); wlandev 663 drivers/staging/wlan-ng/prism2mib.c struct wlandevice *wlandev, wlandev 692 drivers/staging/wlan-ng/prism2mib.c netdev_err(wlandev->netdev, "Unhandled DID 0x%08x\n", mib->did); wlandev 102 drivers/staging/wlan-ng/prism2sta.c static int prism2sta_open(struct wlandevice *wlandev); wlandev 103 drivers/staging/wlan-ng/prism2sta.c static int prism2sta_close(struct wlandevice *wlandev); wlandev 104 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_reset(struct wlandevice *wlandev); wlandev 105 drivers/staging/wlan-ng/prism2sta.c static int prism2sta_txframe(struct wlandevice *wlandev, struct sk_buff *skb, wlandev 108 drivers/staging/wlan-ng/prism2sta.c static int prism2sta_mlmerequest(struct wlandevice *wlandev, wlandev 110 drivers/staging/wlan-ng/prism2sta.c static int prism2sta_getcardinfo(struct wlandevice *wlandev); wlandev 111 drivers/staging/wlan-ng/prism2sta.c static int prism2sta_globalsetup(struct wlandevice *wlandev); wlandev 112 drivers/staging/wlan-ng/prism2sta.c static int prism2sta_setmulticast(struct wlandevice *wlandev, wlandev 115 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_inf_handover(struct wlandevice *wlandev, wlandev 117 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_inf_tallies(struct wlandevice *wlandev, wlandev 119 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_inf_hostscanresults(struct wlandevice *wlandev, wlandev 121 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_inf_scanresults(struct wlandevice *wlandev, wlandev 123 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_inf_chinforesults(struct wlandevice *wlandev, wlandev 125 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_inf_linkstatus(struct wlandevice *wlandev, wlandev 127 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_inf_assocstatus(struct wlandevice *wlandev, wlandev 129 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_inf_authreq(struct wlandevice *wlandev, wlandev 131 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_inf_authreq_defer(struct wlandevice *wlandev, wlandev 133 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_inf_psusercnt(struct wlandevice *wlandev, wlandev 157 drivers/staging/wlan-ng/prism2sta.c static int prism2sta_open(struct wlandevice *wlandev) wlandev 191 drivers/staging/wlan-ng/prism2sta.c static int prism2sta_close(struct wlandevice *wlandev) wlandev 219 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_reset(struct wlandevice *wlandev) wlandev 244 drivers/staging/wlan-ng/prism2sta.c static int prism2sta_txframe(struct wlandevice *wlandev, struct sk_buff *skb, wlandev 248 drivers/staging/wlan-ng/prism2sta.c struct hfa384x *hw = wlandev->priv; wlandev 251 drivers/staging/wlan-ng/prism2sta.c if ((wlandev->hostwep & (HOSTWEP_PRIVACYINVOKED | HOSTWEP_ENCRYPT)) == wlandev 283 drivers/staging/wlan-ng/prism2sta.c static int prism2sta_mlmerequest(struct wlandevice *wlandev, wlandev 286 drivers/staging/wlan-ng/prism2sta.c struct hfa384x *hw = wlandev->priv; wlandev 293 drivers/staging/wlan-ng/prism2sta.c result = prism2mgmt_mibset_mibget(wlandev, msg); wlandev 297 drivers/staging/wlan-ng/prism2sta.c result = prism2mgmt_mibset_mibget(wlandev, msg); wlandev 301 drivers/staging/wlan-ng/prism2sta.c result = prism2mgmt_scan(wlandev, msg); wlandev 305 drivers/staging/wlan-ng/prism2sta.c result = prism2mgmt_scan_results(wlandev, msg); wlandev 309 drivers/staging/wlan-ng/prism2sta.c result = prism2mgmt_start(wlandev, msg); wlandev 316 drivers/staging/wlan-ng/prism2sta.c result = prism2mgmt_readpda(wlandev, msg); wlandev 320 drivers/staging/wlan-ng/prism2sta.c result = prism2mgmt_ramdl_state(wlandev, msg); wlandev 324 drivers/staging/wlan-ng/prism2sta.c result = prism2mgmt_ramdl_write(wlandev, msg); wlandev 328 drivers/staging/wlan-ng/prism2sta.c result = prism2mgmt_flashdl_state(wlandev, msg); wlandev 332 drivers/staging/wlan-ng/prism2sta.c result = prism2mgmt_flashdl_write(wlandev, msg); wlandev 344 drivers/staging/wlan-ng/prism2sta.c result = prism2sta_ifstate(wlandev, wlandev 354 drivers/staging/wlan-ng/prism2sta.c result = prism2mgmt_wlansniff(wlandev, msg); wlandev 358 drivers/staging/wlan-ng/prism2sta.c result = prism2mgmt_autojoin(wlandev, msg); wlandev 379 drivers/staging/wlan-ng/prism2sta.c netdev_warn(wlandev->netdev, wlandev 409 drivers/staging/wlan-ng/prism2sta.c u32 prism2sta_ifstate(struct wlandevice *wlandev, u32 ifstate) wlandev 411 drivers/staging/wlan-ng/prism2sta.c struct hfa384x *hw = wlandev->priv; wlandev 417 drivers/staging/wlan-ng/prism2sta.c wlandev->msdstate, ifstate); wlandev 420 drivers/staging/wlan-ng/prism2sta.c switch (wlandev->msdstate) { wlandev 422 drivers/staging/wlan-ng/prism2sta.c wlandev->msdstate = WLAN_MSD_FWLOAD_PENDING; wlandev 429 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, wlandev 434 drivers/staging/wlan-ng/prism2sta.c wlandev->msdstate = WLAN_MSD_HWPRESENT; wlandev 437 drivers/staging/wlan-ng/prism2sta.c wlandev->msdstate = WLAN_MSD_FWLOAD; wlandev 445 drivers/staging/wlan-ng/prism2sta.c netdev_warn(wlandev->netdev, wlandev 459 drivers/staging/wlan-ng/prism2sta.c switch (wlandev->msdstate) { wlandev 462 drivers/staging/wlan-ng/prism2sta.c wlandev->msdstate = WLAN_MSD_RUNNING_PENDING; wlandev 473 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, wlandev 478 drivers/staging/wlan-ng/prism2sta.c wlandev->msdstate = WLAN_MSD_HWPRESENT; wlandev 482 drivers/staging/wlan-ng/prism2sta.c result = prism2sta_getcardinfo(wlandev); wlandev 484 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, wlandev 490 drivers/staging/wlan-ng/prism2sta.c wlandev->msdstate = WLAN_MSD_HWPRESENT; wlandev 493 drivers/staging/wlan-ng/prism2sta.c result = prism2sta_globalsetup(wlandev); wlandev 495 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, wlandev 501 drivers/staging/wlan-ng/prism2sta.c wlandev->msdstate = WLAN_MSD_HWPRESENT; wlandev 504 drivers/staging/wlan-ng/prism2sta.c wlandev->msdstate = WLAN_MSD_RUNNING; wlandev 523 drivers/staging/wlan-ng/prism2sta.c switch (wlandev->msdstate) { wlandev 530 drivers/staging/wlan-ng/prism2sta.c wlandev->msdstate = WLAN_MSD_HWPRESENT_PENDING; wlandev 537 drivers/staging/wlan-ng/prism2sta.c if (!wlandev->hwremoved) wlandev 538 drivers/staging/wlan-ng/prism2sta.c netif_carrier_off(wlandev->netdev); wlandev 542 drivers/staging/wlan-ng/prism2sta.c wlandev->macmode = WLAN_MACMODE_NONE; wlandev 543 drivers/staging/wlan-ng/prism2sta.c wlandev->msdstate = WLAN_MSD_HWPRESENT; wlandev 582 drivers/staging/wlan-ng/prism2sta.c static int prism2sta_getcardinfo(struct wlandevice *wlandev) wlandev 585 drivers/staging/wlan-ng/prism2sta.c struct hfa384x *hw = wlandev->priv; wlandev 596 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, "Failed to retrieve NICIDENTITY\n"); wlandev 606 drivers/staging/wlan-ng/prism2sta.c netdev_info(wlandev->netdev, "ident: nic h/w: id=0x%02x %d.%d.%d\n", wlandev 615 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, "Failed to retrieve PRIIDENTITY\n"); wlandev 625 drivers/staging/wlan-ng/prism2sta.c netdev_info(wlandev->netdev, "ident: pri f/w: id=0x%02x %d.%d.%d\n", wlandev 634 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, "Failed to retrieve STAIDENTITY\n"); wlandev 639 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, wlandev 656 drivers/staging/wlan-ng/prism2sta.c netdev_info(wlandev->netdev, wlandev 661 drivers/staging/wlan-ng/prism2sta.c netdev_info(wlandev->netdev, wlandev 665 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, "Unsupported Tertiary AP firmware loaded!\n"); wlandev 674 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, "Failed to retrieve MFISUPRANGE\n"); wlandev 687 drivers/staging/wlan-ng/prism2sta.c netdev_info(wlandev->netdev, wlandev 698 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, "Failed to retrieve CFISUPRANGE\n"); wlandev 711 drivers/staging/wlan-ng/prism2sta.c netdev_info(wlandev->netdev, wlandev 722 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, "Failed to retrieve PRISUPRANGE\n"); wlandev 735 drivers/staging/wlan-ng/prism2sta.c netdev_info(wlandev->netdev, wlandev 746 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, "Failed to retrieve STASUPRANGE\n"); wlandev 760 drivers/staging/wlan-ng/prism2sta.c netdev_info(wlandev->netdev, wlandev 766 drivers/staging/wlan-ng/prism2sta.c netdev_info(wlandev->netdev, wlandev 778 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, "Failed to retrieve PRI_CFIACTRANGES\n"); wlandev 791 drivers/staging/wlan-ng/prism2sta.c netdev_info(wlandev->netdev, wlandev 802 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, "Failed to retrieve STA_CFIACTRANGES\n"); wlandev 815 drivers/staging/wlan-ng/prism2sta.c netdev_info(wlandev->netdev, wlandev 826 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, "Failed to retrieve STA_MFIACTRANGES\n"); wlandev 839 drivers/staging/wlan-ng/prism2sta.c netdev_info(wlandev->netdev, wlandev 849 drivers/staging/wlan-ng/prism2sta.c netdev_info(wlandev->netdev, "Prism2 card SN: %*pE\n", wlandev 852 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, "Failed to retrieve Prism2 Card SN\n"); wlandev 858 drivers/staging/wlan-ng/prism2sta.c wlandev->netdev->dev_addr, ETH_ALEN); wlandev 860 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, "Failed to retrieve mac address\n"); wlandev 865 drivers/staging/wlan-ng/prism2sta.c wlandev->nsdcaps |= P80211_NSDCAP_SHORT_PREAMBLE; wlandev 870 drivers/staging/wlan-ng/prism2sta.c wlandev->nsdcaps |= P80211_NSDCAP_HARDWAREWEP; wlandev 881 drivers/staging/wlan-ng/prism2sta.c wlandev->nsdcaps |= P80211_NSDCAP_NOSCAN; wlandev 888 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, "Failed, result=%d\n", result); wlandev 911 drivers/staging/wlan-ng/prism2sta.c static int prism2sta_globalsetup(struct wlandevice *wlandev) wlandev 913 drivers/staging/wlan-ng/prism2sta.c struct hfa384x *hw = wlandev->priv; wlandev 920 drivers/staging/wlan-ng/prism2sta.c static int prism2sta_setmulticast(struct wlandevice *wlandev, wlandev 924 drivers/staging/wlan-ng/prism2sta.c struct hfa384x *hw = wlandev->priv; wlandev 962 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_inf_handover(struct wlandevice *wlandev, wlandev 985 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_inf_tallies(struct wlandevice *wlandev, wlandev 988 drivers/staging/wlan-ng/prism2sta.c struct hfa384x *hw = wlandev->priv; wlandev 1031 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_inf_scanresults(struct wlandevice *wlandev, wlandev 1034 drivers/staging/wlan-ng/prism2sta.c struct hfa384x *hw = wlandev->priv; wlandev 1064 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, "setconfig(joinreq) failed, result=%d\n", wlandev 1086 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_inf_hostscanresults(struct wlandevice *wlandev, wlandev 1089 drivers/staging/wlan-ng/prism2sta.c struct hfa384x *hw = wlandev->priv; wlandev 1127 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_inf_chinforesults(struct wlandevice *wlandev, wlandev 1130 drivers/staging/wlan-ng/prism2sta.c struct hfa384x *hw = wlandev->priv; wlandev 1173 drivers/staging/wlan-ng/prism2sta.c struct wlandevice *wlandev = hw->wlandev; wlandev 1184 drivers/staging/wlan-ng/prism2sta.c prism2sta_inf_authreq_defer(wlandev, inf); wlandev 1202 drivers/staging/wlan-ng/prism2sta.c netif_carrier_off(wlandev->netdev); wlandev 1204 drivers/staging/wlan-ng/prism2sta.c netdev_info(wlandev->netdev, "linkstatus=NOTCONNECTED (unhandled)\n"); wlandev 1218 drivers/staging/wlan-ng/prism2sta.c netif_carrier_on(wlandev->netdev); wlandev 1228 drivers/staging/wlan-ng/prism2sta.c if (wlandev->netdev->type == ARPHRD_ETHER) { wlandev 1231 drivers/staging/wlan-ng/prism2sta.c netdev_info(wlandev->netdev, "linkstatus=CONNECTED\n"); wlandev 1238 drivers/staging/wlan-ng/prism2sta.c wlandev->bssid, wlandev 1257 drivers/staging/wlan-ng/prism2sta.c (struct p80211pstrd *)&wlandev->ssid); wlandev 1269 drivers/staging/wlan-ng/prism2sta.c wlandev->macmode = wlandev 1274 drivers/staging/wlan-ng/prism2sta.c prism2_connect_result(wlandev, P80211ENUM_truth_false); wlandev 1291 drivers/staging/wlan-ng/prism2sta.c if (wlandev->netdev->type == ARPHRD_ETHER) wlandev 1292 drivers/staging/wlan-ng/prism2sta.c netdev_info(wlandev->netdev, wlandev 1294 drivers/staging/wlan-ng/prism2sta.c wlandev->macmode = WLAN_MACMODE_NONE; wlandev 1296 drivers/staging/wlan-ng/prism2sta.c netif_carrier_off(wlandev->netdev); wlandev 1299 drivers/staging/wlan-ng/prism2sta.c prism2_disconnected(wlandev); wlandev 1318 drivers/staging/wlan-ng/prism2sta.c netdev_info(wlandev->netdev, "linkstatus=AP_CHANGE\n"); wlandev 1322 drivers/staging/wlan-ng/prism2sta.c wlandev->bssid, WLAN_BSSID_LEN); wlandev 1338 drivers/staging/wlan-ng/prism2sta.c (struct p80211pstrd *)&wlandev->ssid); wlandev 1341 drivers/staging/wlan-ng/prism2sta.c netif_carrier_on(wlandev->netdev); wlandev 1344 drivers/staging/wlan-ng/prism2sta.c prism2_roamed(wlandev); wlandev 1360 drivers/staging/wlan-ng/prism2sta.c netdev_info(wlandev->netdev, "linkstatus=AP_OUTOFRANGE (unhandled)\n"); wlandev 1362 drivers/staging/wlan-ng/prism2sta.c netif_carrier_off(wlandev->netdev); wlandev 1373 drivers/staging/wlan-ng/prism2sta.c netdev_info(wlandev->netdev, "linkstatus=AP_INRANGE\n"); wlandev 1376 drivers/staging/wlan-ng/prism2sta.c netif_carrier_on(wlandev->netdev); wlandev 1398 drivers/staging/wlan-ng/prism2sta.c netdev_info(wlandev->netdev, wlandev 1401 drivers/staging/wlan-ng/prism2sta.c netdev_info(wlandev->netdev, "linkstatus=ASSOCFAIL (unhandled)\n"); wlandev 1404 drivers/staging/wlan-ng/prism2sta.c netif_carrier_off(wlandev->netdev); wlandev 1407 drivers/staging/wlan-ng/prism2sta.c prism2_connect_result(wlandev, P80211ENUM_truth_true); wlandev 1413 drivers/staging/wlan-ng/prism2sta.c netdev_warn(wlandev->netdev, wlandev 1418 drivers/staging/wlan-ng/prism2sta.c wlandev->linkstatus = (hw->link_status == HFA384x_LINK_CONNECTED); wlandev 1438 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_inf_linkstatus(struct wlandevice *wlandev, wlandev 1441 drivers/staging/wlan-ng/prism2sta.c struct hfa384x *hw = wlandev->priv; wlandev 1466 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_inf_assocstatus(struct wlandevice *wlandev, wlandev 1469 drivers/staging/wlan-ng/prism2sta.c struct hfa384x *hw = wlandev->priv; wlandev 1495 drivers/staging/wlan-ng/prism2sta.c netdev_warn(wlandev->netdev, wlandev 1503 drivers/staging/wlan-ng/prism2sta.c netdev_warn(wlandev->netdev, wlandev 1527 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_inf_authreq(struct wlandevice *wlandev, wlandev 1530 drivers/staging/wlan-ng/prism2sta.c struct hfa384x *hw = wlandev->priv; wlandev 1542 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_inf_authreq_defer(struct wlandevice *wlandev, wlandev 1545 drivers/staging/wlan-ng/prism2sta.c struct hfa384x *hw = wlandev->priv; wlandev 1690 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, wlandev 1714 drivers/staging/wlan-ng/prism2sta.c static void prism2sta_inf_psusercnt(struct wlandevice *wlandev, wlandev 1717 drivers/staging/wlan-ng/prism2sta.c struct hfa384x *hw = wlandev->priv; wlandev 1739 drivers/staging/wlan-ng/prism2sta.c void prism2sta_ev_info(struct wlandevice *wlandev, wlandev 1746 drivers/staging/wlan-ng/prism2sta.c prism2sta_inf_handover(wlandev, inf); wlandev 1749 drivers/staging/wlan-ng/prism2sta.c prism2sta_inf_tallies(wlandev, inf); wlandev 1752 drivers/staging/wlan-ng/prism2sta.c prism2sta_inf_hostscanresults(wlandev, inf); wlandev 1755 drivers/staging/wlan-ng/prism2sta.c prism2sta_inf_scanresults(wlandev, inf); wlandev 1758 drivers/staging/wlan-ng/prism2sta.c prism2sta_inf_chinforesults(wlandev, inf); wlandev 1761 drivers/staging/wlan-ng/prism2sta.c prism2sta_inf_linkstatus(wlandev, inf); wlandev 1764 drivers/staging/wlan-ng/prism2sta.c prism2sta_inf_assocstatus(wlandev, inf); wlandev 1767 drivers/staging/wlan-ng/prism2sta.c prism2sta_inf_authreq(wlandev, inf); wlandev 1770 drivers/staging/wlan-ng/prism2sta.c prism2sta_inf_psusercnt(wlandev, inf); wlandev 1773 drivers/staging/wlan-ng/prism2sta.c netdev_warn(wlandev->netdev, "Unhandled IT_KEYIDCHANGED\n"); wlandev 1776 drivers/staging/wlan-ng/prism2sta.c netdev_warn(wlandev->netdev, "Unhandled IT_ASSOCREQ\n"); wlandev 1779 drivers/staging/wlan-ng/prism2sta.c netdev_warn(wlandev->netdev, "Unhandled IT_MICFAILURE\n"); wlandev 1782 drivers/staging/wlan-ng/prism2sta.c netdev_warn(wlandev->netdev, wlandev 1807 drivers/staging/wlan-ng/prism2sta.c void prism2sta_ev_txexc(struct wlandevice *wlandev, u16 status) wlandev 1828 drivers/staging/wlan-ng/prism2sta.c void prism2sta_ev_tx(struct wlandevice *wlandev, u16 status) wlandev 1832 drivers/staging/wlan-ng/prism2sta.c wlandev->netdev->stats.tx_packets++; wlandev 1851 drivers/staging/wlan-ng/prism2sta.c void prism2sta_ev_alloc(struct wlandevice *wlandev) wlandev 1853 drivers/staging/wlan-ng/prism2sta.c netif_wake_queue(wlandev->netdev); wlandev 1877 drivers/staging/wlan-ng/prism2sta.c struct wlandevice *wlandev = NULL; wlandev 1881 drivers/staging/wlan-ng/prism2sta.c wlandev = kzalloc(sizeof(*wlandev), GFP_KERNEL); wlandev 1884 drivers/staging/wlan-ng/prism2sta.c if (!wlandev || !hw) { wlandev 1885 drivers/staging/wlan-ng/prism2sta.c kfree(wlandev); wlandev 1891 drivers/staging/wlan-ng/prism2sta.c wlandev->nsdname = dev_info; wlandev 1892 drivers/staging/wlan-ng/prism2sta.c wlandev->msdstate = WLAN_MSD_HWPRESENT_PENDING; wlandev 1893 drivers/staging/wlan-ng/prism2sta.c wlandev->priv = hw; wlandev 1894 drivers/staging/wlan-ng/prism2sta.c wlandev->open = prism2sta_open; wlandev 1895 drivers/staging/wlan-ng/prism2sta.c wlandev->close = prism2sta_close; wlandev 1896 drivers/staging/wlan-ng/prism2sta.c wlandev->reset = prism2sta_reset; wlandev 1897 drivers/staging/wlan-ng/prism2sta.c wlandev->txframe = prism2sta_txframe; wlandev 1898 drivers/staging/wlan-ng/prism2sta.c wlandev->mlmerequest = prism2sta_mlmerequest; wlandev 1899 drivers/staging/wlan-ng/prism2sta.c wlandev->set_multicast_list = prism2sta_setmulticast; wlandev 1900 drivers/staging/wlan-ng/prism2sta.c wlandev->tx_timeout = hfa384x_tx_timeout; wlandev 1902 drivers/staging/wlan-ng/prism2sta.c wlandev->nsdcaps = P80211_NSDCAP_HWFRAGMENT | P80211_NSDCAP_AUTOJOIN; wlandev 1907 drivers/staging/wlan-ng/prism2sta.c return wlandev; wlandev 1913 drivers/staging/wlan-ng/prism2sta.c struct wlandevice *wlandev = hw->wlandev; wlandev 1920 drivers/staging/wlan-ng/prism2sta.c if (hw->wlandev->hwremoved) wlandev 1924 drivers/staging/wlan-ng/prism2sta.c if ((wlandev->macmode == WLAN_MACMODE_NONE) || wlandev 1925 drivers/staging/wlan-ng/prism2sta.c (wlandev->macmode == WLAN_MACMODE_ESS_AP)) { wlandev 1930 drivers/staging/wlan-ng/prism2sta.c if (wlandev->macmode != WLAN_MACMODE_IBSS_STA) { wlandev 1935 drivers/staging/wlan-ng/prism2sta.c netdev_err(wlandev->netdev, "error fetching commsqual\n"); wlandev 1948 drivers/staging/wlan-ng/prism2sta.c result = p80211req_dorequest(wlandev, (u8 *)&msg); wlandev 1976 drivers/staging/wlan-ng/prism2sta.c wlandev->bssid, WLAN_BSSID_LEN); wlandev 1992 drivers/staging/wlan-ng/prism2sta.c (struct p80211pstrd *)&wlandev->ssid); wlandev 65 drivers/staging/wlan-ng/prism2usb.c struct wlandevice *wlandev = NULL; wlandev 70 drivers/staging/wlan-ng/prism2usb.c wlandev = create_wlan(); wlandev 71 drivers/staging/wlan-ng/prism2usb.c if (!wlandev) { wlandev 76 drivers/staging/wlan-ng/prism2usb.c hw = wlandev->priv; wlandev 78 drivers/staging/wlan-ng/prism2usb.c if (wlan_setup(wlandev, &interface->dev) != 0) { wlandev 86 drivers/staging/wlan-ng/prism2usb.c hw->wlandev = wlandev; wlandev 91 drivers/staging/wlan-ng/prism2usb.c SET_NETDEV_DEV(wlandev->netdev, &interface->dev); wlandev 108 drivers/staging/wlan-ng/prism2usb.c wlandev->msdstate = WLAN_MSD_HWPRESENT; wlandev 111 drivers/staging/wlan-ng/prism2usb.c prism2_fwtry(dev, wlandev); wlandev 112 drivers/staging/wlan-ng/prism2usb.c prism2sta_ifstate(wlandev, P80211ENUM_ifstate_enable); wlandev 114 drivers/staging/wlan-ng/prism2usb.c if (register_wlandev(wlandev) != 0) { wlandev 125 drivers/staging/wlan-ng/prism2usb.c wlan_unsetup(wlandev); wlandev 127 drivers/staging/wlan-ng/prism2usb.c kfree(wlandev); wlandev 129 drivers/staging/wlan-ng/prism2usb.c wlandev = NULL; wlandev 132 drivers/staging/wlan-ng/prism2usb.c usb_set_intfdata(interface, wlandev); wlandev 138 drivers/staging/wlan-ng/prism2usb.c struct wlandevice *wlandev; wlandev 140 drivers/staging/wlan-ng/prism2usb.c wlandev = (struct wlandevice *)usb_get_intfdata(interface); wlandev 141 drivers/staging/wlan-ng/prism2usb.c if (wlandev) { wlandev 146 drivers/staging/wlan-ng/prism2usb.c struct hfa384x *hw = wlandev->priv; wlandev 153 drivers/staging/wlan-ng/prism2usb.c p80211netdev_hwremoved(wlandev); wlandev 165 drivers/staging/wlan-ng/prism2usb.c prism2sta_ifstate(wlandev, P80211ENUM_ifstate_disable); wlandev 204 drivers/staging/wlan-ng/prism2usb.c unregister_wlandev(wlandev); wlandev 205 drivers/staging/wlan-ng/prism2usb.c wlan_unsetup(wlandev); wlandev 212 drivers/staging/wlan-ng/prism2usb.c kfree(wlandev); wlandev 224 drivers/staging/wlan-ng/prism2usb.c struct wlandevice *wlandev; wlandev 226 drivers/staging/wlan-ng/prism2usb.c wlandev = (struct wlandevice *)usb_get_intfdata(interface); wlandev 227 drivers/staging/wlan-ng/prism2usb.c if (!wlandev) wlandev 230 drivers/staging/wlan-ng/prism2usb.c hw = wlandev->priv; wlandev 234 drivers/staging/wlan-ng/prism2usb.c prism2sta_ifstate(wlandev, P80211ENUM_ifstate_disable); wlandev 247 drivers/staging/wlan-ng/prism2usb.c struct wlandevice *wlandev; wlandev 249 drivers/staging/wlan-ng/prism2usb.c wlandev = (struct wlandevice *)usb_get_intfdata(interface); wlandev 250 drivers/staging/wlan-ng/prism2usb.c if (!wlandev) wlandev 253 drivers/staging/wlan-ng/prism2usb.c hw = wlandev->priv; wlandev 263 drivers/staging/wlan-ng/prism2usb.c unregister_wlandev(wlandev); wlandev 266 drivers/staging/wlan-ng/prism2usb.c kfree(wlandev); wlandev 268 drivers/staging/wlan-ng/prism2usb.c wlandev = NULL; wlandev 273 drivers/staging/wlan-ng/prism2usb.c prism2sta_ifstate(wlandev, P80211ENUM_ifstate_enable);