/drivers/net/xen-netback/ |
H A D | interface.c | 42 void xenvif_get(struct xenvif *vif) argument 44 atomic_inc(&vif->refcnt); 47 void xenvif_put(struct xenvif *vif) argument 49 if (atomic_dec_and_test(&vif->refcnt)) 50 wake_up(&vif->waiting_to_free); 53 int xenvif_schedulable(struct xenvif *vif) argument 55 return netif_running(vif->dev) && netif_carrier_ok(vif->dev); 58 static int xenvif_rx_schedulable(struct xenvif *vif) argument 60 return xenvif_schedulable(vif) 65 struct xenvif *vif = dev_id; local 80 struct xenvif *vif = netdev_priv(dev); local 108 xenvif_receive_skb(struct xenvif *vif, struct sk_buff *skb) argument 113 xenvif_notify_tx_completion(struct xenvif *vif) argument 121 struct xenvif *vif = netdev_priv(dev); local 125 xenvif_up(struct xenvif *vif) argument 132 xenvif_down(struct xenvif *vif) argument 141 struct xenvif *vif = netdev_priv(dev); local 150 struct xenvif *vif = netdev_priv(dev); local 159 struct xenvif *vif = netdev_priv(dev); local 171 struct xenvif *vif = netdev_priv(dev); local 206 void *vif = netdev_priv(dev); local 248 struct xenvif *vif; local 307 xenvif_connect(struct xenvif *vif, unsigned long tx_ring_ref, unsigned long rx_ring_ref, unsigned int evtchn) argument 346 xenvif_disconnect(struct xenvif *vif) argument [all...] |
H A D | common.h | 103 static inline struct xenbus_device *xenvif_to_xenbus_device(struct xenvif *vif) argument 105 return to_xenbus_device(vif->dev->dev.parent); 115 int xenvif_connect(struct xenvif *vif, unsigned long tx_ring_ref, 117 void xenvif_disconnect(struct xenvif *vif); 119 void xenvif_get(struct xenvif *vif); 120 void xenvif_put(struct xenvif *vif); 124 int xenvif_schedulable(struct xenvif *vif); 126 int xen_netbk_rx_ring_full(struct xenvif *vif); 128 int xen_netbk_must_stop_queue(struct xenvif *vif); 131 void xen_netbk_unmap_frontend_rings(struct xenvif *vif); [all...] |
H A D | netback.c | 51 struct xenvif *vif; member in struct:pending_tx_info 120 void xen_netbk_add_xenvif(struct xenvif *vif) argument 138 vif->netbk = netbk; 142 void xen_netbk_remove_xenvif(struct xenvif *vif) argument 144 struct xen_netbk *netbk = vif->netbk; 145 vif->netbk = NULL; 150 static void make_tx_response(struct xenvif *vif, 153 static struct xen_netif_rx_response *make_rx_response(struct xenvif *vif, 247 static int max_required_rx_slots(struct xenvif *vif) argument 249 int max = DIV_ROUND_UP(vif 257 xen_netbk_rx_ring_full(struct xenvif *vif) argument 266 xen_netbk_must_stop_queue(struct xenvif *vif) argument 323 xen_netbk_count_skb_slots(struct xenvif *vif, struct sk_buff *skb) argument 367 get_next_rx_buffer(struct xenvif *vif, struct netrx_pending_operations *npo) argument 390 netbk_gop_frag_copy(struct xenvif *vif, struct sk_buff *skb, struct netrx_pending_operations *npo, struct page *page, unsigned long size, unsigned long offset, int *head) argument 480 struct xenvif *vif = netdev_priv(skb->dev); local 543 netbk_check_gop(struct xenvif *vif, int nr_meta_slots, struct netrx_pending_operations *npo) argument 563 netbk_add_frag_responses(struct xenvif *vif, int status, struct netbk_rx_meta *meta, int nr_meta_slots) argument 595 struct xenvif *vif = NULL, *tmp; local 729 xen_netbk_queue_tx_skb(struct xenvif *vif, struct sk_buff *skb) argument 744 __on_net_schedule_list(struct xenvif *vif) argument 750 remove_from_net_schedule_list(struct xenvif *vif) argument 760 struct xenvif *vif = NULL; local 779 xen_netbk_schedule_xenvif(struct xenvif *vif) argument 802 xen_netbk_deschedule_xenvif(struct xenvif *vif) argument 810 xen_netbk_check_rx_xenvif(struct xenvif *vif) argument 820 tx_add_credit(struct xenvif *vif) argument 842 struct xenvif *vif = (struct xenvif *)data; local 847 netbk_tx_err(struct xenvif *vif, struct xen_netif_tx_request *txp, RING_IDX end) argument 863 netbk_count_requests(struct xenvif *vif, struct xen_netif_tx_request *first, struct xen_netif_tx_request *txp, int work_to_do) argument 917 xen_netbk_get_requests(struct xen_netbk *netbk, struct xenvif *vif, struct sk_buff *skb, struct xen_netif_tx_request *txp, struct gnttab_copy *gop) argument 972 struct xenvif *vif = pending_tx_info[pending_idx].vif; local 1061 xen_netbk_get_extras(struct xenvif *vif, struct xen_netif_extra_info *extras, int work_to_do) argument 1091 netbk_set_skb_gso(struct xenvif *vif, struct sk_buff *skb, struct xen_netif_extra_info *gso) argument 1116 checksum_setup(struct xenvif *vif, struct sk_buff *skb) argument 1186 tx_credit_exceeded(struct xenvif *vif, unsigned size) argument 1226 struct xenvif *vif; local 1397 struct xenvif *vif; local 1480 struct xenvif *vif; local 1504 make_tx_response(struct xenvif *vif, struct xen_netif_tx_request *txp, s8 st) argument 1525 make_rx_response(struct xenvif *vif, u16 id, s8 st, u16 offset, u16 size, u16 flags) argument 1586 xen_netbk_unmap_frontend_rings(struct xenvif *vif) argument 1596 xen_netbk_map_frontend_rings(struct xenvif *vif, grant_ref_t tx_ring_ref, grant_ref_t rx_ring_ref) argument [all...] |
H A D | xenbus.c | 26 struct xenvif *vif; member in struct:backend_info 42 if (be->vif) { 45 xenvif_disconnect(be->vif); 46 be->vif = NULL; 146 * and vif variables to the environment, for the benefit of the vif-* hotplug 168 if (!be || !be->vif) 171 return add_uevent_var(env, "vif=%s", be->vif->dev->name); 181 if (be->vif ! 393 struct xenvif *vif = be->vif; local [all...] |
/drivers/net/wireless/ath/ath6kl/ |
H A D | cfg80211.c | 136 static bool __ath6kl_cfg80211_sscan_stop(struct ath6kl_vif *vif) argument 138 struct ath6kl *ar = vif->ar; 143 del_timer_sync(&vif->sched_scan_timer); 145 ath6kl_wmi_set_host_sleep_mode_cmd(ar->wmi, vif->fw_vif_idx, 153 static void ath6kl_cfg80211_sscan_disable(struct ath6kl_vif *vif) argument 155 struct ath6kl *ar = vif->ar; 158 stopped = __ath6kl_cfg80211_sscan_stop(vif); 166 static int ath6kl_set_wpa_version(struct ath6kl_vif *vif, argument 172 vif->auth_mode = NONE_AUTH; 174 vif 185 ath6kl_set_auth_type(struct ath6kl_vif *vif, enum nl80211_auth_type auth_type) argument 213 ath6kl_set_cipher(struct ath6kl_vif *vif, u32 cipher, bool ucast) argument 256 ath6kl_set_key_mgmt(struct ath6kl_vif *vif, u32 key_mgmt) argument 275 ath6kl_cfg80211_ready(struct ath6kl_vif *vif) argument 312 ath6kl_set_assoc_req_ies(struct ath6kl_vif *vif, const u8 *ies, size_t ies_len) argument 429 struct ath6kl_vif *vif = netdev_priv(dev); local 636 ath6kl_add_bss_if_needed(struct ath6kl_vif *vif, enum network_type nw_type, const u8 *bssid, struct ieee80211_channel *chan, const u8 *beacon_ie, size_t beacon_ie_len) argument 689 ath6kl_cfg80211_connect_event(struct ath6kl_vif *vif, u16 channel, u8 *bssid, u16 listen_intvl, u16 beacon_intvl, enum network_type nw_type, u8 beacon_ie_len, u8 assoc_req_len, u8 assoc_resp_len, u8 *assoc_info) argument 773 struct ath6kl_vif *vif = netdev_priv(dev); local 808 ath6kl_cfg80211_disconnect_event(struct ath6kl_vif *vif, u8 reason, u8 *bssid, u8 assoc_resp_len, u8 *assoc_info, u16 proto_reason) argument 873 struct ath6kl_vif *vif = netdev_priv(ndev); local 976 ath6kl_cfg80211_scan_complete_event(struct ath6kl_vif *vif, bool aborted) argument 1009 struct ath6kl_vif *vif = netdev_priv(ndev); local 1134 struct ath6kl_vif *vif = netdev_priv(ndev); local 1165 struct ath6kl_vif *vif = netdev_priv(ndev); local 1200 struct ath6kl_vif *vif = netdev_priv(ndev); local 1245 ath6kl_cfg80211_tkip_micerr_event(struct ath6kl_vif *vif, u8 keyid, bool ismcast) argument 1260 struct ath6kl_vif *vif; local 1293 struct ath6kl_vif *vif; local 1326 struct ath6kl_vif *vif; local 1362 struct ath6kl_vif *vif = netdev_priv(dev); local 1420 struct ath6kl_vif *vif = netdev_priv(ndev); local 1438 struct ath6kl_vif *vif = netdev_priv(ndev); local 1473 struct ath6kl_vif *vif = netdev_priv(dev); local 1541 struct ath6kl_vif *vif = netdev_priv(dev); local 1627 struct ath6kl_vif *vif = netdev_priv(dev); local 1726 struct ath6kl_vif *vif = netdev_priv(netdev); local 1736 struct ath6kl_vif *vif = netdev_priv(netdev); local 1745 struct ath6kl_vif *vif = netdev_priv(netdev); local 1753 ath6kl_wow_usr(struct ath6kl *ar, struct ath6kl_vif *vif, struct cfg80211_wowlan *wow, u32 *filter) argument 1809 ath6kl_wow_ap(struct ath6kl *ar, struct ath6kl_vif *vif) argument 1887 ath6kl_wow_sta(struct ath6kl *ar, struct ath6kl_vif *vif) argument 1931 struct ath6kl_vif *vif; local 2070 struct ath6kl_vif *vif; local 2297 struct ath6kl_vif *vif; local 2327 ath6kl_set_ap_probe_resp_ies(struct ath6kl_vif *vif, const u8 *ies, size_t ies_len) argument 2363 ath6kl_set_ies(struct ath6kl_vif *vif, struct cfg80211_beacon_data *info) argument 2398 struct ath6kl_vif *vif = netdev_priv(dev); local 2545 struct ath6kl_vif *vif = netdev_priv(dev); local 2559 struct ath6kl_vif *vif = netdev_priv(dev); local 2578 struct ath6kl_vif *vif = netdev_priv(dev); local 2589 struct ath6kl_vif *vif = netdev_priv(dev); local 2613 struct ath6kl_vif *vif = netdev_priv(dev); local 2634 struct ath6kl_vif *vif = netdev_priv(dev); local 2643 ath6kl_send_go_probe_resp(struct ath6kl_vif *vif, const u8 *buf, size_t len, unsigned int freq) argument 2680 ath6kl_mgmt_powersave_ap(struct ath6kl_vif *vif, u32 id, u32 freq, u32 wait, const u8 *buf, size_t len, bool *more_data, bool no_cck) argument 2758 struct ath6kl_vif *vif = netdev_priv(dev); local 2806 struct ath6kl_vif *vif = netdev_priv(dev); local 2825 struct ath6kl_vif *vif = netdev_priv(dev); local 2893 struct ath6kl_vif *vif = netdev_priv(dev); local 2972 ath6kl_cfg80211_stop(struct ath6kl_vif *vif) argument 3008 struct ath6kl_vif *vif; local 3030 ath6kl_cfg80211_vif_init(struct ath6kl_vif *vif) argument 3051 ath6kl_cfg80211_vif_cleanup(struct ath6kl_vif *vif) argument 3078 struct ath6kl_vif *vif; local [all...] |
H A D | main.c | 24 struct ath6kl_sta *ath6kl_find_sta(struct ath6kl_vif *vif, u8 *node_addr) argument 26 struct ath6kl *ar = vif->ar; 30 max_conn = (vif->nw_type == AP_NETWORK) ? AP_MAX_NUM_STA : 0; 56 static void ath6kl_add_new_sta(struct ath6kl_vif *vif, u8 *mac, u16 aid, argument 60 struct ath6kl *ar = vif->ar; 78 aggr_conn_init(vif, vif->aggr_cntxt, sta->aggr_conn); 374 static void ath6kl_install_static_wep_keys(struct ath6kl_vif *vif) argument 380 if (vif->wep_key_list[index].key_len) { 382 if (index == vif 398 ath6kl_connect_ap_mode_bss(struct ath6kl_vif *vif, u16 channel) argument 442 ath6kl_connect_ap_mode_sta(struct ath6kl_vif *vif, u16 aid, u8 *mac_addr, u8 keymgmt, u8 ucipher, u8 auth, u8 assoc_req_len, u8 *assoc_info, u8 apsd_info) argument 520 struct ath6kl_vif *vif = netdev_priv(dev); local 526 ath6kl_disconnect(struct ath6kl_vif *vif) argument 566 ath6kl_scan_complete_evt(struct ath6kl_vif *vif, int status) argument 585 ath6kl_connect_event(struct ath6kl_vif *vif, u16 channel, u8 *bssid, u16 listen_int, u16 beacon_int, enum network_type net_type, u8 beacon_ie_len, u8 assoc_req_len, u8 assoc_resp_len, u8 *assoc_info) argument 631 ath6kl_tkip_micerr_event(struct ath6kl_vif *vif, u8 keyid, bool ismcast) argument 658 ath6kl_update_target_stats(struct ath6kl_vif *vif, u8 *ptr, u32 len) argument 770 ath6kl_tgt_stats_event(struct ath6kl_vif *vif, u8 *ptr, u32 len) argument 816 ath6kl_pspoll_event(struct ath6kl_vif *vif, u8 aid) argument 872 ath6kl_dtimexpiry_event(struct ath6kl_vif *vif) argument 916 ath6kl_disconnect_event(struct ath6kl_vif *vif, u8 reason, u8 *bssid, u8 assoc_resp_len, u8 *assoc_info, u16 prot_reason_status) argument 1001 struct ath6kl_vif *vif; local 1018 struct ath6kl_vif *vif = netdev_priv(dev); local 1033 struct ath6kl_vif *vif = netdev_priv(dev); local 1046 struct ath6kl_vif *vif = netdev_priv(dev); local 1054 struct ath6kl_vif *vif = netdev_priv(dev); local 1086 struct ath6kl_vif *vif = netdev_priv(ndev); local [all...] |
H A D | cfg80211.h | 31 void ath6kl_cfg80211_scan_complete_event(struct ath6kl_vif *vif, bool aborted); 33 void ath6kl_cfg80211_connect_event(struct ath6kl_vif *vif, u16 channel, 40 void ath6kl_cfg80211_disconnect_event(struct ath6kl_vif *vif, u8 reason, 44 void ath6kl_cfg80211_tkip_micerr_event(struct ath6kl_vif *vif, u8 keyid, 53 void ath6kl_cfg80211_vif_cleanup(struct ath6kl_vif *vif); 55 void ath6kl_cfg80211_stop(struct ath6kl_vif *vif);
|
H A D | txrx.c | 99 struct ath6kl_vif *vif, 103 struct ath6kl *ar = vif->ar; 127 if (test_bit(WMM_ENABLED, &vif->flags)) { 162 vif->fw_vif_idx, 171 struct ath6kl_vif *vif, 176 struct ath6kl *ar = vif->ar; 199 vif->fw_vif_idx, 204 static bool ath6kl_powersave_ap(struct ath6kl_vif *vif, struct sk_buff *skb, argument 210 struct ath6kl *ar = vif->ar; 228 if (!test_bit(DTIM_EXPIRED, &vif 98 ath6kl_process_uapsdq(struct ath6kl_sta *conn, struct ath6kl_vif *vif, struct sk_buff *skb, u32 *flags) argument 170 ath6kl_process_psq(struct ath6kl_sta *conn, struct ath6kl_vif *vif, struct sk_buff *skb, u32 *flags) argument 344 struct ath6kl_vif *vif = netdev_priv(dev); local 580 struct ath6kl_vif *vif; local 632 ath6kl_tx_clear_node_map(struct ath6kl_vif *vif, enum htc_endpoint_id eid, u32 map_no) argument 682 struct ath6kl_vif *vif; local 1206 ath6kl_uapsd_trigger_frame_rx(struct ath6kl_vif *vif, struct ath6kl_sta *conn) argument 1291 struct ath6kl_vif *vif; local 1662 aggr_recv_addba_req_evt(struct ath6kl_vif *vif, u8 tid_mux, u16 seq_no, u8 win_sz) argument 1711 aggr_conn_init(struct ath6kl_vif *vif, struct aggr_info *aggr_info, struct aggr_info_conn *aggr_conn) argument 1737 aggr_init(struct ath6kl_vif *vif) argument 1762 aggr_recv_delba_req_evt(struct ath6kl_vif *vif, u8 tid_mux) argument [all...] |
H A D | init.c | 162 void ath6kl_init_profile_info(struct ath6kl_vif *vif) argument 164 vif->ssid_len = 0; 165 memset(vif->ssid, 0, sizeof(vif->ssid)); 167 vif->dot11_auth_mode = OPEN_AUTH; 168 vif->auth_mode = NONE_AUTH; 169 vif->prwise_crypto = NONE_CRYPT; 170 vif->prwise_crypto_len = 0; 171 vif->grp_crypto = NONE_CRYPT; 172 vif 331 ath6kl_init_control_info(struct ath6kl_vif *vif) argument 1600 ath6kl_cleanup_vif(struct ath6kl_vif *vif, bool wmi_ready) argument 1630 struct ath6kl_vif *vif, *tmp_vif; local [all...] |
H A D | core.h | 465 * Driver's maximum limit, note that some firmwares support only one vif 470 /* vif flags info */ 490 /* Lock to protect vif specific net_stats and flags */ 759 void ath6kl_init_profile_info(struct ath6kl_vif *vif); 766 struct aggr_info *aggr_init(struct ath6kl_vif *vif); 767 void aggr_conn_init(struct ath6kl_vif *vif, struct aggr_info *aggr_info, 778 struct ath6kl_sta *ath6kl_find_sta(struct ath6kl_vif *vif, u8 *node_addr); 784 void ath6kl_connect_event(struct ath6kl_vif *vif, u16 channel, 789 void ath6kl_connect_ap_mode_bss(struct ath6kl_vif *vif, u16 channel); 790 void ath6kl_connect_ap_mode_sta(struct ath6kl_vif *vif, u1 [all...] |
/drivers/net/wireless/wl12xx/ |
H A D | init.h | 35 int wl1271_init_vif_specific(struct wl1271 *wl, struct ieee80211_vif *vif); 37 int wl1271_ap_init_templates(struct wl1271 *wl, struct ieee80211_vif *vif);
|
H A D | event.c | 37 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); local 49 ieee80211_cqm_rssi_notify(vif, event, GFP_KERNEL); 55 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); local 60 ieee80211_stop_rx_ba_session(vif, wlvif->sta.ba_rx_bitmap, 61 vif->bss_conf.bssid); 71 ieee80211_stop_rx_ba_session(vif, 103 struct ieee80211_vif *vif; local 194 /* TODO: configure only the relevant vif */ 203 vif = wl12xx_wlvif_to_vif(wlvif); 205 ieee80211_chswitch_done(vif, succes [all...] |
H A D | init.c | 167 struct ieee80211_vif *vif) 169 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); 186 memcpy(nullfunc->addr2, vif->addr, ETH_ALEN); 187 memcpy(nullfunc->addr3, vif->addr, ETH_ALEN); 200 struct ieee80211_vif *vif) 202 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); 219 memcpy(qosnull->addr2, vif->addr, ETH_ALEN); 220 memcpy(qosnull->addr3, vif->addr, ETH_ALEN); 332 /* generic sta initialization (non vif-specific) */ 355 struct ieee80211_vif *vif) 166 wl1271_ap_init_null_template(struct wl1271 *wl, struct ieee80211_vif *vif) argument 199 wl1271_ap_init_qos_null_template(struct wl1271 *wl, struct ieee80211_vif *vif) argument 354 wl1271_sta_hw_init_post_mem(struct wl1271 *wl, struct ieee80211_vif *vif) argument 388 wl1271_ap_init_templates(struct wl1271 *wl, struct ieee80211_vif *vif) argument 416 wl1271_ap_hw_init_post_mem(struct wl1271 *wl, struct ieee80211_vif *vif) argument 566 wl1271_init_vif_specific(struct wl1271 *wl, struct ieee80211_vif *vif) argument [all...] |
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-mac80211.c | 367 struct ieee80211_vif *vif, 378 if (priv->contexts[IWL_RXON_CTX_BSS].vif != vif) 408 if (!ctx->vif || ctx->vif->type != NL80211_IFTYPE_STATION || 439 struct ieee80211_vif *vif; local 480 /* we'll clear ctx->vif during iwlagn_prepare_restart() */ 481 vif = ctx->vif; 496 ieee80211_resume_disconnect(vif); 366 iwlagn_mac_set_rekey_data(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_gtk_rekey_data *data) argument 514 iwlagn_mac_update_tkip_key(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_key_conf *keyconf, struct ieee80211_sta *sta, u32 iv32, u16 *phase1key) argument 525 iwlagn_mac_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key) argument 628 iwlagn_mac_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum ieee80211_ampdu_mlme_action action, struct ieee80211_sta *sta, u16 tid, u16 *ssn, u8 buf_size) argument 692 iwlagn_mac_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 725 iwlagn_mac_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 752 iwlagn_mac_sta_state(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, enum ieee80211_sta_state old_state, enum ieee80211_sta_state new_state) argument 1157 iwlagn_mac_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue, const struct ieee80211_tx_queue_params *params) argument 1220 struct ieee80211_vif *vif = ctx->vif; local 1254 iwlagn_mac_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 1329 iwl_teardown_interface(struct iwl_priv *priv, struct ieee80211_vif *vif, bool mode_change) argument 1359 iwlagn_mac_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 1386 iwlagn_mac_change_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum nl80211_iftype newtype, bool newp2p) argument 1472 iwlagn_mac_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_scan_request *req) argument 1529 iwlagn_mac_sta_notify(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum sta_notify_cmd cmd, struct ieee80211_sta *sta) argument [all...] |
H A D | iwl-agn-rxon.c | 133 struct ieee80211_vif *vif) 138 priv->beacon_skb = ieee80211_beacon_get(priv->hw, vif); 201 if (ctx->vif) { 253 if (ctx->vif && (ctx->vif->type == NL80211_IFTYPE_AP)) { 254 ret = iwlagn_update_beacon(priv, ctx->vif); 279 if (ctx->vif && (ctx->vif->type == NL80211_IFTYPE_ADHOC)) 280 if (iwlagn_update_beacon(priv, ctx->vif)) 297 if (ctx->vif 132 iwlagn_update_beacon(struct iwl_priv *priv, struct ieee80211_vif *vif) argument 663 struct ieee80211_vif *vif = ctx->vif; local 785 iwlagn_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changes) argument [all...] |
/drivers/net/wireless/ath/carl9170/ |
H A D | mac.c | 86 struct ieee80211_vif *vif; local 90 vif = carl9170_get_main_vif(ar); 91 if (!vif) { 97 vif->bss_conf.use_short_slot) 108 struct ieee80211_vif *vif; local 112 vif = carl9170_get_main_vif(ar); 114 if (!vif) { 119 basic = (vif->bss_conf.basic_rates & 0xf); 120 basic |= (vif->bss_conf.basic_rates & 0xff0) << 4; 303 struct ieee80211_vif *vif; local 389 struct ieee80211_vif *vif; local [all...] |
/drivers/net/wireless/rt2x00/ |
H A D | rt2x00mac.c | 85 ieee80211_ctstoself_get(rt2x00dev->hw, tx_info->control.vif, 89 ieee80211_rts_get(rt2x00dev->hw, tx_info->control.vif, 199 struct ieee80211_vif *vif) 202 struct rt2x00_intf *intf = vif_to_intf(vif); 215 switch (vif->type) { 275 if (vif->type == NL80211_IFTYPE_AP) 292 rt2x00lib_config_intf(rt2x00dev, intf, vif->type, 293 vif->addr, NULL); 307 struct ieee80211_vif *vif) 310 struct rt2x00_intf *intf = vif_to_intf(vif); 198 rt2x00mac_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 306 rt2x00mac_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 443 rt2x00mac_set_tim_iter(void *data, u8 *mac, struct ieee80211_vif *vif) argument 494 rt2x00mac_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key) argument 566 rt2x00mac_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 583 rt2x00mac_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 631 rt2x00mac_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changes) argument 724 rt2x00mac_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue_idx, const struct ieee80211_tx_queue_params *params) argument [all...] |
/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_beacon.c | 297 struct ieee80211_vif *vif; local 304 vif = priv->cur_beacon_conf.bslot[slot]; 306 skb = ieee80211_get_buffered_bc(priv->hw, vif); 341 skb = ieee80211_get_buffered_bc(priv->hw, vif); 351 struct ieee80211_vif *vif; local 365 vif = priv->cur_beacon_conf.bslot[slot]; 366 avp = (struct ath9k_htc_vif *)vif->drv_priv; 374 beacon = ieee80211_beacon_get(priv->hw, vif); 477 struct ieee80211_vif *vif) 480 struct ath9k_htc_vif *avp = (struct ath9k_htc_vif *)vif 476 ath9k_htc_assign_bslot(struct ath9k_htc_priv *priv, struct ieee80211_vif *vif) argument 498 ath9k_htc_remove_bslot(struct ath9k_htc_priv *priv, struct ieee80211_vif *vif) argument 516 ath9k_htc_set_tsfadjust(struct ath9k_htc_priv *priv, struct ieee80211_vif *vif) argument 539 ath9k_htc_beacon_iter(void *data, u8 *mac, struct ieee80211_vif *vif) argument 549 ath9k_htc_check_beacon_config(struct ath9k_htc_priv *priv, struct ieee80211_vif *vif) argument 604 ath9k_htc_beacon_config(struct ath9k_htc_priv *priv, struct ieee80211_vif *vif) argument [all...] |
H A D | htc_drv_main.c | 106 static void ath9k_htc_vif_iter(void *data, u8 *mac, struct ieee80211_vif *vif) argument 109 struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; 111 if ((vif->type == NL80211_IFTYPE_AP) && bss_conf->enable_beacon) 137 static void ath9k_htc_bssid_iter(void *data, u8 *mac, struct ieee80211_vif *vif) argument 147 struct ieee80211_vif *vif) 159 if (vif) 160 ath9k_htc_bssid_iter(&iter_data, vif->addr, vif); 463 struct ieee80211_vif *vif, 468 struct ath9k_htc_vif *avp = (struct ath9k_htc_vif *) vif 146 ath9k_htc_set_bssid_mask(struct ath9k_htc_priv *priv, struct ieee80211_vif *vif) argument 462 ath9k_htc_add_station(struct ath9k_htc_priv *priv, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 532 ath9k_htc_remove_station(struct ath9k_htc_priv *priv, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 673 ath9k_htc_update_rate(struct ath9k_htc_priv *priv, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf) argument 700 ath9k_htc_tx_aggr_oper(struct ath9k_htc_priv *priv, struct ieee80211_vif *vif, struct ieee80211_sta *sta, enum ieee80211_ampdu_mlme_action action, u16 tid) argument 1024 ath9k_htc_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 1123 ath9k_htc_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 1307 ath9k_htc_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 1325 ath9k_htc_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 1344 ath9k_htc_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue, const struct ieee80211_tx_queue_params *params) argument 1389 ath9k_htc_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key) argument 1458 ath9k_htc_bss_iter(void *data, u8 *mac, struct ieee80211_vif *vif) argument 1479 ath9k_htc_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changed) argument 1569 ath9k_htc_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 1584 ath9k_htc_set_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u64 tsf) argument 1596 ath9k_htc_reset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 1608 ath9k_htc_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum ieee80211_ampdu_mlme_action action, struct ieee80211_sta *sta, u16 tid, u16 *ssn, u8 buf_size) argument 1701 ath9k_htc_set_bitrate_mask(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const struct cfg80211_bitrate_mask *mask) argument [all...] |
H A D | main.c | 628 struct ieee80211_vif *vif) 639 an->vif = vif; 1242 struct ieee80211_vif *vif) 1244 struct ath_vif *avp = (void *)vif->drv_priv; 1252 static void ath9k_vif_iter(void *data, u8 *mac, struct ieee80211_vif *vif) argument 1262 switch (vif->type) { 1285 struct ieee80211_vif *vif, 1300 if (vif) 1301 ath9k_vif_iter(iter_data, vif 627 ath_node_attach(struct ath_softc *sc, struct ieee80211_sta *sta, struct ieee80211_vif *vif) argument 1241 ath9k_reclaim_beacon(struct ath_softc *sc, struct ieee80211_vif *vif) argument 1284 ath9k_calculate_iter_data(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ath9k_vif_iter_data *iter_data) argument 1309 ath9k_calculate_summary_state(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 1372 ath9k_do_vif_add_setup(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 1396 ath9k_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 1442 ath9k_change_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum nl80211_iftype new_type, bool p2p) argument 1488 ath9k_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 1706 ath9k_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 1726 ath9k_del_ps_key(struct ath_softc *sc, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 1740 ath9k_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 1752 ath9k_sta_notify(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum sta_notify_cmd cmd, struct ieee80211_sta *sta) argument 1775 ath9k_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue, const struct ieee80211_tx_queue_params *params) argument 1819 ath9k_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key) argument 1881 ath9k_bss_iter(void *data, u8 *mac, struct ieee80211_vif *vif) argument 1922 ath9k_config_bss(struct ath_softc *sc, struct ieee80211_vif *vif) argument 1957 ath9k_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changed) argument 2056 ath9k_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 2070 ath9k_set_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u64 tsf) argument 2083 ath9k_reset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 2096 ath9k_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum ieee80211_ampdu_mlme_action action, struct ieee80211_sta *sta, u16 tid, u16 *ssn, u8 buf_size) argument 2271 struct ieee80211_vif *vif; local [all...] |
/drivers/net/wireless/ath/ath5k/ |
H A D | base.h | 89 void ath5k_vif_iter(void *data, u8 *mac, struct ieee80211_vif *vif); 96 int ath5k_beacon_update(struct ieee80211_hw *hw, struct ieee80211_vif *vif); 101 struct ieee80211_vif *vif);
|
H A D | mac80211-ops.c | 71 ath5k_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 75 struct ath5k_vif *avf = (void *)vif->drv_priv; 79 if ((vif->type == NL80211_IFTYPE_AP || 80 vif->type == NL80211_IFTYPE_ADHOC) 92 (ah->nvifs && vif->type == NL80211_IFTYPE_ADHOC)) { 98 switch (vif->type) { 103 avf->opmode = vif->type; 132 ah->bslot[avf->bslot] = vif; 144 ath5k_hw_set_lladdr(ah, vif->addr); 146 ath5k_update_bssid_mask_and_opmode(ah, vif); 155 ath5k_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 249 ath5k_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changes) argument 479 ath5k_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key) argument 578 ath5k_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue, const struct ieee80211_tx_queue_params *params) argument 617 ath5k_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 626 ath5k_set_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u64 tsf) argument 635 ath5k_reset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument [all...] |
/drivers/net/wireless/wl1251/ |
H A D | event.c | 84 ieee80211_beacon_loss(wl->vif); 95 if (wl->vif && wl->rssi_thold) { 99 ieee80211_cqm_rssi_notify(wl->vif, 107 ieee80211_cqm_rssi_notify(wl->vif,
|
/drivers/net/wireless/ |
H A D | mac80211_hwsim.c | 166 static inline void hwsim_check_magic(struct ieee80211_vif *vif) argument 168 struct hwsim_vif_priv *vp = (void *)vif->drv_priv; 172 static inline void hwsim_set_magic(struct ieee80211_vif *vif) argument 174 struct hwsim_vif_priv *vp = (void *)vif->drv_priv; 178 static inline void hwsim_clear_magic(struct ieee80211_vif *vif) argument 180 struct hwsim_vif_priv *vp = (void *)vif->drv_priv; 383 struct ieee80211_vif *vif) 390 struct ieee80211_vif *vif, u64 tsf) 521 struct ieee80211_vif *vif) 732 if (txi->control.vif) 382 mac80211_hwsim_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 389 mac80211_hwsim_set_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u64 tsf) argument 520 mac80211_hwsim_addr_iter(void *data, u8 *mac, struct ieee80211_vif *vif) argument 762 mac80211_hwsim_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 773 mac80211_hwsim_change_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum nl80211_iftype newtype, bool newp2p) argument 788 mac80211_hwsim_remove_interface( struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 799 mac80211_hwsim_beacon_tx(void *arg, u8 *mac, struct ieee80211_vif *vif) argument 909 mac80211_hwsim_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *info, u32 changed) argument 970 mac80211_hwsim_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 980 mac80211_hwsim_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 990 mac80211_hwsim_sta_notify(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum sta_notify_cmd cmd, struct ieee80211_sta *sta) argument 1016 mac80211_hwsim_conf_tx( struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue, const struct ieee80211_tx_queue_params *params) argument 1123 mac80211_hwsim_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum ieee80211_ampdu_mlme_action action, struct ieee80211_sta *sta, u16 tid, u16 *ssn, u8 buf_size) argument 1167 mac80211_hwsim_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_scan_request *req) argument 1296 hwsim_send_ps_poll(void *dat, u8 *mac, struct ieee80211_vif *vif) argument 1334 hwsim_send_nullfunc(struct mac80211_hwsim_data *data, u8 *mac, struct ieee80211_vif *vif, int ps) argument 1373 hwsim_send_nullfunc_ps(void *dat, u8 *mac, struct ieee80211_vif *vif) argument 1381 hwsim_send_nullfunc_no_ps(void *dat, u8 *mac, struct ieee80211_vif *vif) argument [all...] |
/drivers/net/wireless/libertas_tf/ |
H A D | main.c | 205 priv->vif = NULL; 255 if ((priv->vif->type == NL80211_IFTYPE_AP) && 367 struct ieee80211_vif *vif) 371 if (priv->vif != NULL) 374 priv->vif = vif; 375 switch (vif->type) { 384 priv->vif = NULL; 387 lbtf_set_mac_address(priv, (u8 *) vif->addr); 393 struct ieee80211_vif *vif) 366 lbtf_op_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 392 lbtf_op_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 487 lbtf_op_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changes) argument [all...] |