/drivers/staging/wlan-ng/ |
D | p80211netdev.c | 104 static int p80211_rx_typedrop(wlandevice_t *wlandev, u16 fc); 152 wlandevice_t *wlandev = netdev->ml_priv; in p80211knetdev_open() local 155 if (wlandev->msdstate != WLAN_MSD_RUNNING) in p80211knetdev_open() 159 if (wlandev->open != NULL) { in p80211knetdev_open() 160 result = wlandev->open(wlandev); in p80211knetdev_open() 162 netif_start_queue(wlandev->netdev); in p80211knetdev_open() 163 wlandev->state = WLAN_DEVICE_OPEN; in p80211knetdev_open() 187 wlandevice_t *wlandev = netdev->ml_priv; in p80211knetdev_stop() local 189 if (wlandev->close != NULL) in p80211knetdev_stop() 190 result = wlandev->close(wlandev); in p80211knetdev_stop() [all …]
|
D | prism2sta.c | 101 static int prism2sta_open(wlandevice_t *wlandev); 102 static int prism2sta_close(wlandevice_t *wlandev); 103 static void prism2sta_reset(wlandevice_t *wlandev); 104 static int prism2sta_txframe(wlandevice_t *wlandev, struct sk_buff *skb, 107 static int prism2sta_mlmerequest(wlandevice_t *wlandev, struct p80211msg *msg); 108 static int prism2sta_getcardinfo(wlandevice_t *wlandev); 109 static int prism2sta_globalsetup(wlandevice_t *wlandev); 110 static int prism2sta_setmulticast(wlandevice_t *wlandev, netdevice_t *dev); 112 static void prism2sta_inf_handover(wlandevice_t *wlandev, 114 static void prism2sta_inf_tallies(wlandevice_t *wlandev, [all …]
|
D | p80211req.c | 75 static void p80211req_handlemsg(wlandevice_t *wlandev, struct p80211msg *msg); 76 static void p80211req_mibset_mibget(wlandevice_t *wlandev, 96 int p80211req_dorequest(wlandevice_t *wlandev, u8 *msgbuf) in p80211req_dorequest() argument 101 if (!((wlandev->msdstate == WLAN_MSD_HWPRESENT && in p80211req_dorequest() 103 wlandev->msdstate == WLAN_MSD_RUNNING || in p80211req_dorequest() 104 wlandev->msdstate == WLAN_MSD_FWLOAD)) { in p80211req_dorequest() 111 netdev_err(wlandev->netdev, in p80211req_dorequest() 113 wlandev->name); in p80211req_dorequest() 118 if (test_and_set_bit(1, &(wlandev->request_pending))) in p80211req_dorequest() 124 p80211req_handlemsg(wlandev, msg); in p80211req_dorequest() [all …]
|
D | prism2usb.c | 65 wlandevice_t *wlandev = NULL; in prism2sta_probe_usb() local 74 wlandev = create_wlan(); in prism2sta_probe_usb() 75 if (wlandev == NULL) { in prism2sta_probe_usb() 80 hw = wlandev->priv; in prism2sta_probe_usb() 82 if (wlan_setup(wlandev, &(interface->dev)) != 0) { in prism2sta_probe_usb() 92 hw->wlandev = wlandev; in prism2sta_probe_usb() 97 SET_NETDEV_DEV(wlandev->netdev, &(interface->dev)); in prism2sta_probe_usb() 114 wlandev->msdstate = WLAN_MSD_HWPRESENT; in prism2sta_probe_usb() 117 prism2_fwtry(dev, wlandev); in prism2sta_probe_usb() 118 prism2sta_ifstate(wlandev, P80211ENUM_ifstate_enable); in prism2sta_probe_usb() [all …]
|
D | prism2mgmt.h | 66 u32 prism2sta_ifstate(wlandevice_t *wlandev, u32 ifstate); 68 void prism2sta_ev_info(wlandevice_t *wlandev, hfa384x_InfFrame_t *inf); 69 void prism2sta_ev_txexc(wlandevice_t *wlandev, u16 status); 70 void prism2sta_ev_tx(wlandevice_t *wlandev, u16 status); 71 void prism2sta_ev_rx(wlandevice_t *wlandev, struct sk_buff *skb); 72 void prism2sta_ev_alloc(wlandevice_t *wlandev); 74 int prism2mgmt_mibset_mibget(wlandevice_t *wlandev, void *msgp); 75 int prism2mgmt_scan(wlandevice_t *wlandev, void *msgp); 76 int prism2mgmt_scan_results(wlandevice_t *wlandev, void *msgp); 77 int prism2mgmt_start(wlandevice_t *wlandev, void *msgp); [all …]
|
D | cfg80211.c | 38 wlandevice_t *wlandev; member 72 static int prism2_domibset_uint32(wlandevice_t *wlandev, u32 did, u32 data) in prism2_domibset_uint32() argument 82 return p80211req_dorequest(wlandev, (u8 *) &msg); in prism2_domibset_uint32() 85 static int prism2_domibset_pstr32(wlandevice_t *wlandev, in prism2_domibset_pstr32() argument 97 return p80211req_dorequest(wlandev, (u8 *) &msg); in prism2_domibset_pstr32() 106 wlandevice_t *wlandev = dev->ml_priv; in prism2_change_virtual_intf() local 113 if (wlandev->macmode == WLAN_MACMODE_IBSS_STA) in prism2_change_virtual_intf() 115 wlandev->macmode = WLAN_MACMODE_IBSS_STA; in prism2_change_virtual_intf() 119 if (wlandev->macmode == WLAN_MACMODE_ESS_STA) in prism2_change_virtual_intf() 121 wlandev->macmode = WLAN_MACMODE_ESS_STA; in prism2_change_virtual_intf() [all …]
|
D | prism2mgmt.c | 116 int prism2mgmt_scan(wlandevice_t *wlandev, void *msgp) in prism2mgmt_scan() argument 119 hfa384x_t *hw = wlandev->priv; in prism2mgmt_scan() 132 netdev_err(wlandev->netdev, in prism2mgmt_scan() 146 netdev_err(wlandev->netdev, in prism2mgmt_scan() 158 netdev_err(wlandev->netdev, in prism2mgmt_scan() 180 netdev_warn(wlandev->netdev, in prism2mgmt_scan() 208 netdev_err(wlandev->netdev, in prism2mgmt_scan() 221 netdev_err(wlandev->netdev, in prism2mgmt_scan() 237 netdev_err(wlandev->netdev, "Failed to set OwnSSID.\n"); in prism2mgmt_scan() 246 netdev_err(wlandev->netdev, in prism2mgmt_scan() [all …]
|
D | p80211conv.c | 105 int skb_ether_to_p80211(wlandevice_t *wlandev, u32 ethconv, in skb_ether_to_p80211() argument 179 switch (wlandev->macmode) { in skb_ether_to_p80211() 182 memcpy(p80211_hdr->a3.a2, wlandev->netdev->dev_addr, ETH_ALEN); in skb_ether_to_p80211() 183 memcpy(p80211_hdr->a3.a3, wlandev->bssid, ETH_ALEN); in skb_ether_to_p80211() 187 memcpy(p80211_hdr->a3.a1, wlandev->bssid, ETH_ALEN); in skb_ether_to_p80211() 188 memcpy(p80211_hdr->a3.a2, wlandev->netdev->dev_addr, ETH_ALEN); in skb_ether_to_p80211() 194 memcpy(p80211_hdr->a3.a2, wlandev->bssid, ETH_ALEN); in skb_ether_to_p80211() 198 netdev_err(wlandev->netdev, in skb_ether_to_p80211() 205 if ((wlandev->hostwep & HOSTWEP_PRIVACYINVOKED) in skb_ether_to_p80211() 206 && (wlandev->hostwep & HOSTWEP_ENCRYPT)) { in skb_ether_to_p80211() [all …]
|
D | p80211netdev.h | 144 int p80211wext_event_associated(struct wlandevice *wlandev, int assoc); 183 int (*open)(struct wlandevice *wlandev); 184 int (*close)(struct wlandevice *wlandev); 185 void (*reset)(struct wlandevice *wlandev); 186 int (*txframe)(struct wlandevice *wlandev, struct sk_buff *skb, 189 int (*mlmerequest)(struct wlandevice *wlandev, struct p80211msg *msg); 190 int (*set_multicast_list)(struct wlandevice *wlandev, 192 void (*tx_timeout)(struct wlandevice *wlandev); 230 int wep_change_key(wlandevice_t *wlandev, int keynum, u8 *key, int keylen); 231 int wep_decrypt(wlandevice_t *wlandev, u8 *buf, u32 len, int key_override, [all …]
|
D | prism2mib.c | 90 wlandevice_t *wlandev, 97 wlandevice_t *wlandev, 104 wlandevice_t *wlandev, 110 wlandevice_t *wlandev, 116 wlandevice_t *wlandev, 123 wlandevice_t *wlandev, 130 wlandevice_t *wlandev, 137 wlandevice_t *wlandev, 144 wlandevice_t *wlandev, 260 int prism2mgmt_mibset_mibget(wlandevice_t *wlandev, void *msgp) in prism2mgmt_mibset_mibget() argument [all …]
|
D | hfa384x_usb.c | 159 hfa384x_int_rxmonitor(wlandevice_t *wlandev, hfa384x_usb_rxfrm_t *rxfrm); 174 hfa384x_usbin_txcompl(wlandevice_t *wlandev, hfa384x_usbin_t *usbin); 176 static void hfa384x_usbin_rx(wlandevice_t *wlandev, struct sk_buff *skb); 178 static void hfa384x_usbin_info(wlandevice_t *wlandev, hfa384x_usbin_t *usbin); 181 hfa384x_usbout_tx(wlandevice_t *wlandev, hfa384x_usbout_t *usbout); 347 hfa384x_usbin_callback, hw->wlandev); in submit_rx_urb() 352 if (!hw->wlandev->hwremoved && in submit_rx_urb() 358 netdev_warn(hw->wlandev->netdev, in submit_rx_urb() 360 hw->wlandev->netdev->name); in submit_rx_urb() 396 struct net_device *netdev = hw->wlandev->netdev; in submit_tx_urb() [all …]
|
D | prism2fw.c | 164 wlandevice_t *wlandev); 170 static int read_cardpda(struct pda *pda, wlandevice_t *wlandev); 180 static int writeimage(wlandevice_t *wlandev, struct imgchunk *fchunk, 204 static int prism2_fwtry(struct usb_device *udev, wlandevice_t *wlandev) in prism2_fwtry() argument 208 netdev_info(wlandev->netdev, "prism2_usb: Checking for firmware %s\n", in prism2_fwtry() 212 netdev_info(wlandev->netdev, in prism2_fwtry() 214 netdev_info(wlandev->netdev, in prism2_fwtry() 219 netdev_info(wlandev->netdev, in prism2_fwtry() 222 prism2_fwapply((const struct ihex_binrec *)fw_entry->data, wlandev); in prism2_fwtry() 242 wlandevice_t *wlandev) in prism2_fwapply() argument [all …]
|
D | p80211wep.c | 122 int wep_change_key(wlandevice_t *wlandev, int keynum, u8 *key, int keylen) in wep_change_key() argument 136 wlandev->wep_keylens[keynum] = keylen; in wep_change_key() 137 memcpy(wlandev->wep_keys[keynum], key, keylen); in wep_change_key() 146 int wep_decrypt(wlandevice_t *wlandev, u8 *buf, u32 len, int key_override, in wep_decrypt() argument 169 keylen = wlandev->wep_keylens[keyidx]; in wep_decrypt() 175 memcpy(key + 3, wlandev->wep_keys[keyidx], keylen); in wep_decrypt() 219 int wep_encrypt(wlandevice_t *wlandev, u8 *buf, u8 *dst, u32 len, int keynum, in wep_encrypt() argument 232 keylen = wlandev->wep_keylens[keynum]; in wep_encrypt() 248 memcpy(key + 3, wlandev->wep_keys[keynum], keylen); in wep_encrypt()
|
D | p80211conv.h | 76 struct wlandevice *wlandev; member 96 void p80211skb_free(struct wlandevice *wlandev, struct sk_buff *skb); 97 int p80211skb_rxmeta_attach(struct wlandevice *wlandev, struct sk_buff *skb); 152 int skb_p80211_to_ether(struct wlandevice *wlandev, u32 ethconv, 154 int skb_ether_to_p80211(struct wlandevice *wlandev, u32 ethconv,
|
D | p80211req.h | 51 int p80211req_dorequest(wlandevice_t *wlandev, u8 *msgbuf);
|
D | hfa384x.h | 1276 wlandevice_t *wlandev; member 1418 void hfa384x_tx_timeout(wlandevice_t *wlandev);
|