Home
last modified time | relevance | path

Searched full:local (Results 1 – 25 of 2649) sorted by relevance

12345678910>>...106

/linux-3.3/net/mac80211/
Ddriver-ops.h23 static inline void drv_tx(struct ieee80211_local *local, struct sk_buff *skb) in drv_tx() argument
25 local->ops->tx(&local->hw, skb); in drv_tx()
28 static inline void drv_tx_frags(struct ieee80211_local *local, in drv_tx_frags() argument
33 local->ops->tx_frags(&local->hw, vif, sta, skbs); in drv_tx_frags()
36 static inline int drv_start(struct ieee80211_local *local) in drv_start() argument
42 trace_drv_start(local); in drv_start()
43 local->started = true; in drv_start()
45 ret = local->ops->start(&local->hw); in drv_start()
46 trace_drv_return_int(local, ret); in drv_start()
50 static inline void drv_stop(struct ieee80211_local *local) in drv_stop() argument
[all …]
Dscan.c32 ieee80211_rx_bss_get(struct ieee80211_local *local, u8 *bssid, int freq, in ieee80211_rx_bss_get() argument
37 cbss = cfg80211_get_bss(local->hw.wiphy, in ieee80211_rx_bss_get()
38 ieee80211_get_channel(local->hw.wiphy, freq), in ieee80211_rx_bss_get()
53 void ieee80211_rx_bss_put(struct ieee80211_local *local, in ieee80211_rx_bss_put() argument
79 ieee80211_bss_info_update(struct ieee80211_local *local, in ieee80211_bss_info_update() argument
92 if (local->hw.flags & IEEE80211_HW_SIGNAL_DBM) in ieee80211_bss_info_update()
94 else if (local->hw.flags & IEEE80211_HW_SIGNAL_UNSPEC) in ieee80211_bss_info_update()
95 signal = (rx_status->signal * 100) / local->hw.max_signal; in ieee80211_bss_info_update()
97 cbss = cfg80211_inform_bss_frame(local->hw.wiphy, channel, in ieee80211_bss_info_update()
205 channel = ieee80211_get_channel(sdata->local->hw.wiphy, freq); in ieee80211_scan_rx()
[all …]
Dled.c15 void ieee80211_led_rx(struct ieee80211_local *local) in ieee80211_led_rx() argument
17 if (unlikely(!local->rx_led)) in ieee80211_led_rx()
19 if (local->rx_led_counter++ % 2 == 0) in ieee80211_led_rx()
20 led_trigger_event(local->rx_led, LED_OFF); in ieee80211_led_rx()
22 led_trigger_event(local->rx_led, LED_FULL); in ieee80211_led_rx()
26 void ieee80211_led_tx(struct ieee80211_local *local, int q) in ieee80211_led_tx() argument
28 if (unlikely(!local->tx_led)) in ieee80211_led_tx()
31 local->tx_led_counter += 2*q-1; in ieee80211_led_tx()
32 if (local->tx_led_counter % 2 == 0) in ieee80211_led_tx()
33 led_trigger_event(local->tx_led, LED_OFF); in ieee80211_led_tx()
[all …]
Dmain.c38 void ieee80211_configure_filter(struct ieee80211_local *local) in ieee80211_configure_filter() argument
44 if (atomic_read(&local->iff_promiscs)) in ieee80211_configure_filter()
47 if (atomic_read(&local->iff_allmultis)) in ieee80211_configure_filter()
50 if (local->monitors || test_bit(SCAN_SW_SCANNING, &local->scanning)) in ieee80211_configure_filter()
53 if (local->fif_probe_req || local->probe_req_reg) in ieee80211_configure_filter()
56 if (local->fif_fcsfail) in ieee80211_configure_filter()
59 if (local->fif_plcpfail) in ieee80211_configure_filter()
62 if (local->fif_control) in ieee80211_configure_filter()
65 if (local->fif_other_bss) in ieee80211_configure_filter()
68 if (local->fif_pspoll) in ieee80211_configure_filter()
[all …]
Doffchannel.c30 struct ieee80211_local *local = sdata->local; in ieee80211_offchannel_ps_enable() local
33 local->offchannel_ps_enabled = false; in ieee80211_offchannel_ps_enable()
35 /* FIXME: what to do when local->pspolling is true? */ in ieee80211_offchannel_ps_enable()
37 del_timer_sync(&local->dynamic_ps_timer); in ieee80211_offchannel_ps_enable()
41 cancel_work_sync(&local->dynamic_ps_enable_work); in ieee80211_offchannel_ps_enable()
43 if (local->hw.conf.flags & IEEE80211_CONF_PS) { in ieee80211_offchannel_ps_enable()
44 local->offchannel_ps_enabled = true; in ieee80211_offchannel_ps_enable()
45 local->hw.conf.flags &= ~IEEE80211_CONF_PS; in ieee80211_offchannel_ps_enable()
46 ieee80211_hw_config(local, IEEE80211_CONF_CHANGE_PS); in ieee80211_offchannel_ps_enable()
49 if (tell_ap && (!local->offchannel_ps_enabled || in ieee80211_offchannel_ps_enable()
[all …]
Ddebugfs.c44 struct ieee80211_local *local = file->private_data; \
62 debugfs_create_file(#name, 0400, phyd, local, &name## _ops);
65 debugfs_create_file(#name, mode, phyd, local, &name## _ops);
69 local->user_power_level);
71 local->hw.conf.power_level);
73 local->hw.conf.channel->center_freq);
75 local->total_ps_buffered);
77 local->wep_iv & 0xffffff);
79 local->rate_ctrl ? local->rate_ctrl->ops->name : "hw/driver");
84 struct ieee80211_local *local = file->private_data; in reset_write() local
[all …]
Ddriver-trace.h13 #define LOCAL_ASSIGN strlcpy(__entry->wiphy_name, wiphy_name(local->hw.wiphy), MAXNAME)
36 TP_PROTO(struct ieee80211_local *local),
37 TP_ARGS(local),
48 TP_PROTO(struct ieee80211_local *local,
50 TP_ARGS(local, sdata),
71 TP_PROTO(struct ieee80211_local *local, u32 value),
72 TP_ARGS(local, value),
91 TP_PROTO(struct ieee80211_local *local,
93 TP_ARGS(local, sdata),
112 TP_PROTO(struct ieee80211_local *local),
[all …]
Diface.c101 struct ieee80211_local *local = sdata->local; in ieee80211_check_concurrent_iface() local
108 list_for_each_entry(nsdata, &local->interfaces, list) { in ieee80211_check_concurrent_iface()
155 struct ieee80211_local *local = sdata->local; in ieee80211_adjust_monitor_flags() local
160 local->fif_##_s += offset; \ in ieee80211_adjust_monitor_flags()
180 struct ieee80211_local *local = sdata->local; in ieee80211_do_open() local
225 if (local->open_count == 0) { in ieee80211_do_open()
226 res = drv_start(local); in ieee80211_do_open()
229 if (local->ops->napi_poll) in ieee80211_do_open()
230 napi_enable(&local->napi); in ieee80211_do_open()
233 ieee80211_led_radio(local, true); in ieee80211_do_open()
[all …]
Dpm.c33 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_suspend() local
37 if (!local->open_count) in __ieee80211_suspend()
40 ieee80211_scan_cancel(local); in __ieee80211_suspend()
43 mutex_lock(&local->sta_mtx); in __ieee80211_suspend()
44 list_for_each_entry(sta, &local->sta_list, list) { in __ieee80211_suspend()
48 mutex_unlock(&local->sta_mtx); in __ieee80211_suspend()
57 drv_flush(local, false); in __ieee80211_suspend()
59 local->quiescing = true; in __ieee80211_suspend()
63 flush_workqueue(local->workqueue); in __ieee80211_suspend()
66 del_timer_sync(&local->sta_cleanup); in __ieee80211_suspend()
[all …]
Dmlme.c130 if (sdata->local->hw.flags & IEEE80211_HW_BEACON_FILTER) in ieee80211_sta_reset_beacon_monitor()
144 if (sdata->local->hw.flags & IEEE80211_HW_CONNECTION_MONITOR) in ieee80211_sta_reset_conn_monitor()
168 struct ieee80211_local *local = sdata->local; in ieee80211_enable_ht() local
178 sband = local->hw.wiphy->bands[local->hw.conf.channel->band]; in ieee80211_enable_ht()
190 if (local->hw.conf.channel->center_freq != hti_cfreq) { in ieee80211_enable_ht()
201 local->hw.conf.channel->center_freq, in ieee80211_enable_ht()
217 if (!(local->hw.conf.channel->flags & in ieee80211_enable_ht()
222 if (!(local->hw.conf.channel->flags & in ieee80211_enable_ht()
230 if (local->tmp_channel) in ieee80211_enable_ht()
231 local->tmp_channel_type = channel_type; in ieee80211_enable_ht()
[all …]
Dled.h15 void ieee80211_led_rx(struct ieee80211_local *local);
16 void ieee80211_led_tx(struct ieee80211_local *local, int q);
17 void ieee80211_led_assoc(struct ieee80211_local *local,
19 void ieee80211_led_radio(struct ieee80211_local *local,
21 void ieee80211_led_names(struct ieee80211_local *local);
22 void ieee80211_led_init(struct ieee80211_local *local);
23 void ieee80211_led_exit(struct ieee80211_local *local);
24 void ieee80211_mod_tpt_led_trig(struct ieee80211_local *local,
27 static inline void ieee80211_led_rx(struct ieee80211_local *local) in ieee80211_led_rx() argument
30 static inline void ieee80211_led_tx(struct ieee80211_local *local, int q) in ieee80211_led_tx() argument
[all …]
Dwork.c44 static inline void ASSERT_WORK_MTX(struct ieee80211_local *local) in ASSERT_WORK_MTX() argument
46 lockdep_assert_held(&local->mtx); in ASSERT_WORK_MTX()
59 static void run_again(struct ieee80211_local *local, in run_again() argument
62 ASSERT_WORK_MTX(local); in run_again()
64 if (!timer_pending(&local->work_timer) || in run_again()
65 time_before(timeout, local->work_timer.expires)) in run_again()
66 mod_timer(&local->work_timer, timeout); in run_again()
171 struct ieee80211_local *local = sdata->local; in ieee80211_send_assoc() local
181 sband = local->hw.wiphy->bands[wk->chan->band]; in ieee80211_send_assoc()
203 skb = alloc_skb(local->hw.extra_tx_headroom + in ieee80211_send_assoc()
[all …]
Dutil.c41 struct ieee80211_local *local; in wiphy_to_ieee80211_hw() local
44 local = wiphy_priv(wiphy); in wiphy_to_ieee80211_hw()
45 return &local->hw; in wiphy_to_ieee80211_hw()
109 int ieee80211_frame_duration(struct ieee80211_local *local, size_t len, in ieee80211_frame_duration() argument
123 if (local->hw.conf.channel->band == IEEE80211_BAND_5GHZ || erp) { in ieee80211_frame_duration()
168 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_generic_frame_duration() local
182 dur = ieee80211_frame_duration(local, frame_len, rate->bitrate, erp, in ieee80211_generic_frame_duration()
193 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_rts_duration() local
201 sband = local->hw.wiphy->bands[local->hw.conf.channel->band]; in ieee80211_rts_duration()
216 dur = ieee80211_frame_duration(local, 10, rate->bitrate, in ieee80211_rts_duration()
[all …]
Dsta_info.c65 /* Caller must hold local->sta_mtx */
66 static int sta_info_hash_del(struct ieee80211_local *local, in sta_info_hash_del() argument
71 s = rcu_dereference_protected(local->sta_hash[STA_HASH(sta->sta.addr)], in sta_info_hash_del()
72 lockdep_is_held(&local->sta_mtx)); in sta_info_hash_del()
76 rcu_assign_pointer(local->sta_hash[STA_HASH(sta->sta.addr)], in sta_info_hash_del()
84 lockdep_is_held(&local->sta_mtx)); in sta_info_hash_del()
97 struct ieee80211_local *local = sdata->local; in sta_info_get() local
100 sta = rcu_dereference_check(local->sta_hash[STA_HASH(addr)], in sta_info_get()
101 lockdep_is_held(&local->sta_mtx)); in sta_info_get()
107 lockdep_is_held(&local->sta_mtx)); in sta_info_get()
[all …]
/linux-3.3/net/rxrpc/
Dar-local.c1 /* AF_RXRPC local endpoint management
28 * allocate a new local
33 struct rxrpc_local *local; in rxrpc_alloc_local() local
35 local = kzalloc(sizeof(struct rxrpc_local), GFP_KERNEL); in rxrpc_alloc_local()
36 if (local) { in rxrpc_alloc_local()
37 INIT_WORK(&local->destroyer, &rxrpc_destroy_local); in rxrpc_alloc_local()
38 INIT_WORK(&local->acceptor, &rxrpc_accept_incoming_calls); in rxrpc_alloc_local()
39 INIT_WORK(&local->rejecter, &rxrpc_reject_packets); in rxrpc_alloc_local()
40 INIT_LIST_HEAD(&local->services); in rxrpc_alloc_local()
41 INIT_LIST_HEAD(&local->link); in rxrpc_alloc_local()
[all …]
/linux-3.3/net/nfc/llcp/
Dllcp.c34 static void nfc_llcp_socket_release(struct nfc_llcp_local *local) in nfc_llcp_socket_release() argument
41 mutex_lock(&local->socket_lock); in nfc_llcp_socket_release()
44 parent = local->sockets[i]; in nfc_llcp_socket_release()
97 mutex_unlock(&local->socket_lock); in nfc_llcp_socket_release()
102 struct nfc_llcp_local *local = container_of(work, struct nfc_llcp_local, in nfc_llcp_timeout_work() local
105 nfc_dep_link_down(local->dev); in nfc_llcp_timeout_work()
110 struct nfc_llcp_local *local = (struct nfc_llcp_local *) data; in nfc_llcp_symm_timer() local
114 queue_work(local->timeout_wq, &local->timeout_work); in nfc_llcp_symm_timer()
119 struct nfc_llcp_local *local, *n; in nfc_llcp_find_local() local
121 list_for_each_entry_safe(local, n, &llcp_devices, list) in nfc_llcp_find_local()
[all …]
Dcommands.c120 int nfc_llcp_parse_tlv(struct nfc_llcp_local *local, in nfc_llcp_parse_tlv() argument
127 if (local == NULL) in nfc_llcp_parse_tlv()
138 local->remote_version = llcp_tlv_version(tlv); in nfc_llcp_parse_tlv()
141 local->remote_miu = llcp_tlv_miux(tlv) + 128; in nfc_llcp_parse_tlv()
144 local->remote_wks = llcp_tlv_wks(tlv); in nfc_llcp_parse_tlv()
147 local->remote_lto = llcp_tlv_lto(tlv) * 10; in nfc_llcp_parse_tlv()
150 local->remote_opt = llcp_tlv_opt(tlv); in nfc_llcp_parse_tlv()
153 local->remote_rw = llcp_tlv_rw(tlv); in nfc_llcp_parse_tlv()
165 local->remote_version, local->remote_miu, in nfc_llcp_parse_tlv()
166 local->remote_lto, local->remote_opt, in nfc_llcp_parse_tlv()
[all …]
/linux-3.3/drivers/net/wireless/hostap/
Dhostap_main.c49 struct net_device * hostap_add_interface(struct local_info *local, in hostap_add_interface() argument
64 iface->local = local; in hostap_add_interface()
66 list_add(&iface->list, &local->hostap_interfaces); in hostap_add_interface()
68 mdev = local->dev; in hostap_add_interface()
75 hostap_setup_dev(dev, local, type); in hostap_add_interface()
116 if (dev == iface->local->ddev) in hostap_remove_interface()
117 iface->local->ddev = NULL; in hostap_remove_interface()
118 else if (dev == iface->local->apdev) in hostap_remove_interface()
119 iface->local->apdev = NULL; in hostap_remove_interface()
120 else if (dev == iface->local->stadev) in hostap_remove_interface()
[all …]
Dhostap_hw.c28 * host and card memories. BAP0 accesses are protected with local->baplock
128 static void prism2_check_sta_fw_version(local_info_t *local);
135 static int prism2_download(local_info_t *local,
138 static int prism2_download_volatile(local_info_t *local,
140 static int prism2_download_genesis(local_info_t *local,
142 static int prism2_get_ram_size(local_info_t *local);
174 * @local: pointer to private Host AP driver data
179 * Caller must have acquired local->cmdlock before calling this function.
181 static inline void __hostap_cmd_queue_free(local_info_t *local, in __hostap_cmd_queue_free() argument
189 local->cmd_queue_len--; in __hostap_cmd_queue_free()
[all …]
Dhostap_info.c12 static void prism2_info_commtallies16(local_info_t *local, unsigned char *buf, in prism2_info_commtallies16() argument
19 "info frame\n", local->dev->name, left); in prism2_info_commtallies16()
25 local->comm_tallies.name += le16_to_cpu(tallies->name) in prism2_info_commtallies16()
52 static void prism2_info_commtallies32(local_info_t *local, unsigned char *buf, in prism2_info_commtallies32() argument
59 "info frame\n", local->dev->name, left); in prism2_info_commtallies32()
65 local->comm_tallies.name += le32_to_cpu(tallies->name) in prism2_info_commtallies32()
92 static void prism2_info_commtallies(local_info_t *local, unsigned char *buf, in prism2_info_commtallies() argument
95 if (local->tallies32) in prism2_info_commtallies()
96 prism2_info_commtallies32(local, buf, left); in prism2_info_commtallies()
98 prism2_info_commtallies16(local, buf, left); in prism2_info_commtallies()
[all …]
Dhostap_ioctl.c18 local_info_t *local; in hostap_get_wireless_stats() local
22 local = iface->local; in hostap_get_wireless_stats()
28 wstats = &local->wstats; in hostap_get_wireless_stats()
32 local->comm_tallies.rx_discards_wep_undecryptable; in hostap_get_wireless_stats()
34 local->comm_tallies.rx_fcs_errors + in hostap_get_wireless_stats()
35 local->comm_tallies.rx_discards_no_buffer + in hostap_get_wireless_stats()
36 local->comm_tallies.tx_discards_wrong_sa; in hostap_get_wireless_stats()
39 local->comm_tallies.tx_retry_limit_exceeded; in hostap_get_wireless_stats()
41 local->comm_tallies.rx_message_in_bad_msg_fragments; in hostap_get_wireless_stats()
43 if (local->iw_mode != IW_MODE_MASTER && in hostap_get_wireless_stats()
[all …]
Dhostap_proc.c19 local_info_t *local = (local_info_t *) data; in prism2_debug_proc_read() local
28 local->next_txfid, local->next_alloc); in prism2_debug_proc_read()
31 local->txfid[i], local->intransmitfid[i]); in prism2_debug_proc_read()
32 p += sprintf(p, "FW TX rate control: %d\n", local->fw_tx_rate_control); in prism2_debug_proc_read()
33 p += sprintf(p, "beacon_int=%d\n", local->beacon_int); in prism2_debug_proc_read()
34 p += sprintf(p, "dtim_period=%d\n", local->dtim_period); in prism2_debug_proc_read()
36 local->wds_max_connections); in prism2_debug_proc_read()
37 p += sprintf(p, "dev_enabled=%d\n", local->dev_enabled); in prism2_debug_proc_read()
38 p += sprintf(p, "sw_tick_stuck=%d\n", local->sw_tick_stuck); in prism2_debug_proc_read()
40 if (local->crypt_info.crypt[i] && in prism2_debug_proc_read()
[all …]
Dhostap_80211_rx.c66 local_info_t *local; in prism2_rx_80211() local
73 local = iface->local; in prism2_rx_80211()
76 if (local->monitor_type == PRISM2_MONITOR_PRISM) { in prism2_rx_80211()
79 } else { /* local->monitor_type == PRISM2_MONITOR_CAPHDR */ in prism2_rx_80211()
164 hdr->channel = htonl(local->channel); in prism2_rx_80211()
185 hdr->chan_freq = cpu_to_le16(freq_list[local->channel - 1]); in prism2_rx_80211()
222 prism2_frag_cache_find(local_info_t *local, unsigned int seq, in prism2_frag_cache_find() argument
229 entry = &local->frag_cache[i]; in prism2_frag_cache_find()
234 local->dev->name, entry->seq, entry->last_frag); in prism2_frag_cache_find()
252 prism2_frag_cache_get(local_info_t *local, struct ieee80211_hdr *hdr) in prism2_frag_cache_get() argument
[all …]
/linux-3.3/drivers/net/wireless/
Dray_cs.c86 static int translate_frame(ray_dev_t *local, struct tx_msg __iomem *ptx,
88 static void ray_build_header(ray_dev_t *local, struct tx_msg __iomem *ptx,
90 static void untranslate(ray_dev_t *local, struct sk_buff *skb, int len);
95 static void authenticate(ray_dev_t *local);
96 static int build_auth_frame(ray_dev_t *local, UCHAR *dest, int auth_type);
98 static int get_free_ccs(ray_dev_t *local);
99 static int get_free_tx_ccs(ray_dev_t *local);
100 static void init_startup_params(ray_dev_t *local);
104 static int interrupt_ecf(ray_dev_t *local, int ccs);
111 static void clear_interrupt(ray_dev_t *local);
[all …]
/linux-3.3/tools/testing/selftests/breakpoints/
Dbreakpoint_test.c50 int local, int global, int set) in toggle_breakpoint() argument
90 if (local) { in toggle_breakpoint()
201 int len, local, global, i; in trigger_tests() local
215 for (local = 0; local < 2; local++) { in trigger_tests()
217 if (!local && !global) in trigger_tests()
229 for (local = 0; local < 2; local++) { in trigger_tests()
231 if (!local && !global) in trigger_tests()
240 for (local = 0; local < 2; local++) { in trigger_tests()
242 if (!local && !global) in trigger_tests()
287 static void launch_instruction_breakpoints(char *buf, int local, int global) in launch_instruction_breakpoints() argument
[all …]

12345678910>>...106