这篇教程C++ DEBUGFS_ADD函数代码示例写得很实用,希望能帮到您。
本文整理汇总了C++中DEBUGFS_ADD函数的典型用法代码示例。如果您正苦于以下问题:C++ DEBUGFS_ADD函数的具体用法?C++ DEBUGFS_ADD怎么用?C++ DEBUGFS_ADD使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。 在下文中一共展示了DEBUGFS_ADD函数的24个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。 示例1: add_vlan_filesstatic void add_vlan_files(struct ieee80211_sub_if_data *sdata){ DEBUGFS_ADD(channel_use, vlan); DEBUGFS_ADD(drop_unencrypted, vlan); DEBUGFS_ADD(eapol, vlan); DEBUGFS_ADD(ieee8021_x, vlan); DEBUGFS_ADD(vlan_id, vlan);}
开发者ID:Klozz,项目名称:iwidarwin,代码行数:8,
示例2: add_wds_filesstatic void add_wds_files(struct ieee80211_sub_if_data *sdata){ DEBUGFS_ADD(drop_unencrypted); DEBUGFS_ADD(rc_rateidx_mask_2ghz); DEBUGFS_ADD(rc_rateidx_mask_5ghz); DEBUGFS_ADD(peer);}
开发者ID:flwh,项目名称:Alcatel_OT_985_kernel,代码行数:8,
示例3: add_wds_filesstatic void add_wds_files(struct ieee80211_sub_if_data *sdata){ DEBUGFS_ADD(channel_use, wds); DEBUGFS_ADD(drop_unencrypted, wds); DEBUGFS_ADD(eapol, wds); DEBUGFS_ADD(ieee8021_x, wds); DEBUGFS_ADD(peer, wds);}
开发者ID:Klozz,项目名称:iwidarwin,代码行数:8,
示例4: add_wds_filesstatic void add_wds_files(struct ieee80211_sub_if_data *sdata){ DEBUGFS_ADD(drop_unencrypted, wds); DEBUGFS_ADD(force_unicast_rateidx, wds); DEBUGFS_ADD(max_ratectrl_rateidx, wds); DEBUGFS_ADD(peer, wds);}
开发者ID:athurg,项目名称:linux_kernel,代码行数:8,
示例5: add_common_filesstatic void add_common_files(struct ieee80211_sub_if_data *sdata){ DEBUGFS_ADD(rc_rateidx_mask_2ghz); DEBUGFS_ADD(rc_rateidx_mask_5ghz); DEBUGFS_ADD(rc_rateidx_mcs_mask_2ghz); DEBUGFS_ADD(rc_rateidx_mcs_mask_5ghz); DEBUGFS_ADD(hw_queues);}
开发者ID:EvolutionMod,项目名称:ath10-lenovo,代码行数:8,
示例6: add_ap_filesstatic void add_ap_files(struct ieee80211_sub_if_data *sdata){ DEBUGFS_ADD(num_mcast_sta); DEBUGFS_ADD(num_sta_ps); DEBUGFS_ADD(dtim_count); DEBUGFS_ADD(num_buffered_multicast); DEBUGFS_ADD_MODE(tkip_mic_test, 0200);}
开发者ID:3null,项目名称:fastsocket,代码行数:8,
示例7: cfg80211_debugfs_rdev_addvoid cfg80211_debugfs_rdev_add(struct cfg80211_registered_device *rdev){ struct dentry *phyd = rdev->wiphy.debugfsdir; DEBUGFS_ADD(rts_threshold); DEBUGFS_ADD(fragmentation_threshold); DEBUGFS_ADD(short_retry_limit); DEBUGFS_ADD(long_retry_limit); DEBUGFS_ADD(ht40allow_map);}
开发者ID:kerryh,项目名称:cfg80211_v357,代码行数:10,
示例8: add_sta_filesstatic void add_sta_files(struct ieee80211_sub_if_data *sdata){ DEBUGFS_ADD(bssid); DEBUGFS_ADD(aid); DEBUGFS_ADD(last_beacon); DEBUGFS_ADD(ave_beacon); DEBUGFS_ADD_MODE(smps, 0600); DEBUGFS_ADD_MODE(tkip_mic_test, 0200); DEBUGFS_ADD_MODE(uapsd_queues, 0600); DEBUGFS_ADD_MODE(uapsd_max_sp_len, 0600);}
开发者ID:AdrianHuang,项目名称:linux-3.8.13,代码行数:11,
示例9: add_sta_filesstatic void add_sta_files(struct ieee80211_sub_if_data *sdata){ DEBUGFS_ADD(bssid); DEBUGFS_ADD(aid); DEBUGFS_ADD(beacon_timeout); DEBUGFS_ADD_MODE(smps, 0600); DEBUGFS_ADD_MODE(tkip_mic_test, 0200); DEBUGFS_ADD_MODE(beacon_loss, 0200); DEBUGFS_ADD_MODE(uapsd_queues, 0600); DEBUGFS_ADD_MODE(uapsd_max_sp_len, 0600); DEBUGFS_ADD_MODE(tdls_wider_bw, 0600);}
开发者ID:OSPro,项目名称:wpj344_compatwireless,代码行数:12,
示例10: ieee80211_sta_debugfs_addvoid ieee80211_sta_debugfs_add(struct sta_info *sta){ char buf[3*6]; struct dentry *stations_dir = sta->local->debugfs.stations; if (!stations_dir) return; sprintf(buf, MAC_FMT, MAC_ARG(sta->addr)); sta->debugfs.dir = debugfs_create_dir(buf, stations_dir); if (!sta->debugfs.dir) return; DEBUGFS_ADD(flags); DEBUGFS_ADD(num_ps_buf_frames); DEBUGFS_ADD(last_ack_rssi); DEBUGFS_ADD(last_ack_ms); DEBUGFS_ADD(inactive_ms); DEBUGFS_ADD(last_seq_ctrl);#ifdef CONFIG_MAC80211_DEBUG_COUNTERS DEBUGFS_ADD(wme_rx_queue); DEBUGFS_ADD(wme_tx_queue);#endif}
开发者ID:cilynx,项目名称:dd-wrt,代码行数:25,
示例11: ieee80211_sta_debugfs_addvoid ieee80211_sta_debugfs_add(struct sta_info *sta){ struct dentry *stations_dir = sta->local->debugfs.stations; DECLARE_MAC_BUF(mbuf); u8 *mac; if (!stations_dir) return; mac = print_mac(mbuf, sta->addr); sta->debugfs.dir = debugfs_create_dir(mac, stations_dir); if (!sta->debugfs.dir) return; DEBUGFS_ADD(flags); DEBUGFS_ADD(num_ps_buf_frames); DEBUGFS_ADD(inactive_ms); DEBUGFS_ADD(last_seq_ctrl);#ifdef CONFIG_MAC80211_DEBUG_COUNTERS DEBUGFS_ADD(wme_rx_queue); DEBUGFS_ADD(wme_tx_queue);#endif DEBUGFS_ADD(agg_status);}
开发者ID:maraz,项目名称:linux-2.6,代码行数:25,
示例12: add_ap_filesstatic void add_ap_files(struct ieee80211_sub_if_data *sdata){ DEBUGFS_ADD(channel_use, ap); DEBUGFS_ADD(drop_unencrypted, ap); DEBUGFS_ADD(num_sta_ps, ap); DEBUGFS_ADD(dtim_count, ap); DEBUGFS_ADD(num_beacons, ap); DEBUGFS_ADD(force_unicast_rateidx, ap); DEBUGFS_ADD(max_ratectrl_rateidx, ap); DEBUGFS_ADD(num_buffered_multicast, ap);}
开发者ID:maraz,项目名称:linux-2.6,代码行数:11,
示例13: add_filesstatic void add_files(struct ieee80211_sub_if_data *sdata){ if (!sdata->vif.debugfs_dir) return; DEBUGFS_ADD(flags); DEBUGFS_ADD(state); DEBUGFS_ADD(txpower); DEBUGFS_ADD(user_power_level); DEBUGFS_ADD(ap_power_level); if (sdata->vif.type != NL80211_IFTYPE_MONITOR) add_common_files(sdata); switch (sdata->vif.type) { case NL80211_IFTYPE_MESH_POINT:#ifdef CONFIG_MAC80211_MESH add_mesh_files(sdata); add_mesh_stats(sdata); add_mesh_config(sdata);#endif break; case NL80211_IFTYPE_STATION: add_sta_files(sdata); break; case NL80211_IFTYPE_ADHOC: add_ibss_files(sdata); break; case NL80211_IFTYPE_AP: add_ap_files(sdata); break; case NL80211_IFTYPE_WDS: add_wds_files(sdata); break; default: break; }}
开发者ID:LuweiLight,项目名称:linux-3.14.35-vbal,代码行数:38,
示例14: debugfs_hw_addvoid debugfs_hw_add(struct ieee80211_local *local){ struct dentry *phyd = local->hw.wiphy->debugfsdir; struct dentry *statsd; if (!phyd) return; local->debugfs.keys = debugfs_create_dir("keys", phyd); DEBUGFS_ADD(total_ps_buffered); DEBUGFS_ADD(wep_iv); DEBUGFS_ADD(queues);#ifdef CONFIG_PM DEBUGFS_ADD_MODE(reset, 0200);#endif DEBUGFS_ADD(hwflags); DEBUGFS_ADD(user_power); DEBUGFS_ADD(power); statsd = debugfs_create_dir("statistics", phyd); /* if the dir failed, don't put all the other things into the root! */ if (!statsd) return;#ifdef CONFIG_MAC80211_DEBUG_COUNTERS DEBUGFS_STATS_ADD(dot11TransmittedFragmentCount); DEBUGFS_STATS_ADD(dot11MulticastTransmittedFrameCount); DEBUGFS_STATS_ADD(dot11FailedCount); DEBUGFS_STATS_ADD(dot11RetryCount); DEBUGFS_STATS_ADD(dot11MultipleRetryCount); DEBUGFS_STATS_ADD(dot11FrameDuplicateCount); DEBUGFS_STATS_ADD(dot11ReceivedFragmentCount); DEBUGFS_STATS_ADD(dot11MulticastReceivedFrameCount); DEBUGFS_STATS_ADD(dot11TransmittedFrameCount); DEBUGFS_STATS_ADD(tx_handlers_drop); DEBUGFS_STATS_ADD(tx_handlers_queued); DEBUGFS_STATS_ADD(tx_handlers_drop_wep); DEBUGFS_STATS_ADD(tx_handlers_drop_not_assoc); DEBUGFS_STATS_ADD(tx_handlers_drop_unauth_port); DEBUGFS_STATS_ADD(rx_handlers_drop); DEBUGFS_STATS_ADD(rx_handlers_queued); DEBUGFS_STATS_ADD(rx_handlers_drop_nullfunc); DEBUGFS_STATS_ADD(rx_handlers_drop_defrag); DEBUGFS_STATS_ADD(rx_handlers_drop_short); DEBUGFS_STATS_ADD(tx_expand_skb_head); DEBUGFS_STATS_ADD(tx_expand_skb_head_cloned); DEBUGFS_STATS_ADD(rx_expand_skb_head_defrag); DEBUGFS_STATS_ADD(rx_handlers_fragments); DEBUGFS_STATS_ADD(tx_status_drop);#endif DEBUGFS_DEVSTATS_ADD(dot11ACKFailureCount); DEBUGFS_DEVSTATS_ADD(dot11RTSFailureCount); DEBUGFS_DEVSTATS_ADD(dot11FCSErrorCount); DEBUGFS_DEVSTATS_ADD(dot11RTSSuccessCount);}
开发者ID:Seagate,项目名称:SMR_FS-EXT4,代码行数:57,
示例15: add_sta_filesstatic void add_sta_files(struct ieee80211_sub_if_data *sdata){ DEBUGFS_ADD(drop_unencrypted, sta); DEBUGFS_ADD(force_unicast_rateidx, sta); DEBUGFS_ADD(max_ratectrl_rateidx, sta); DEBUGFS_ADD(bssid, sta); DEBUGFS_ADD(aid, sta); DEBUGFS_ADD(capab, sta);}
开发者ID:AdrianHuang,项目名称:uclinux-robutest,代码行数:10,
示例16: add_ap_filesstatic void add_ap_files(struct ieee80211_sub_if_data *sdata){ DEBUGFS_ADD(drop_unencrypted); DEBUGFS_ADD(rc_rateidx_mask_2ghz); DEBUGFS_ADD(rc_rateidx_mask_5ghz); DEBUGFS_ADD(num_sta_ps); DEBUGFS_ADD(dtim_count); DEBUGFS_ADD(num_buffered_multicast);}
开发者ID:flwh,项目名称:Alcatel_OT_985_kernel,代码行数:10,
示例17: wl1271_debugfs_add_files//.........这里部分代码省略......... DEBUGFS_FWSTATS_ADD(dma, rx_requested); DEBUGFS_FWSTATS_ADD(dma, rx_errors); DEBUGFS_FWSTATS_ADD(dma, tx_requested); DEBUGFS_FWSTATS_ADD(dma, tx_errors); DEBUGFS_FWSTATS_ADD(isr, cmd_cmplt); DEBUGFS_FWSTATS_ADD(isr, fiqs); DEBUGFS_FWSTATS_ADD(isr, rx_headers); DEBUGFS_FWSTATS_ADD(isr, rx_mem_overflow); DEBUGFS_FWSTATS_ADD(isr, rx_rdys); DEBUGFS_FWSTATS_ADD(isr, irqs); DEBUGFS_FWSTATS_ADD(isr, tx_procs); DEBUGFS_FWSTATS_ADD(isr, decrypt_done); DEBUGFS_FWSTATS_ADD(isr, dma0_done); DEBUGFS_FWSTATS_ADD(isr, dma1_done); DEBUGFS_FWSTATS_ADD(isr, tx_exch_complete); DEBUGFS_FWSTATS_ADD(isr, commands); DEBUGFS_FWSTATS_ADD(isr, rx_procs); DEBUGFS_FWSTATS_ADD(isr, hw_pm_mode_changes); DEBUGFS_FWSTATS_ADD(isr, host_acknowledges); DEBUGFS_FWSTATS_ADD(isr, pci_pm); DEBUGFS_FWSTATS_ADD(isr, wakeups); DEBUGFS_FWSTATS_ADD(isr, low_rssi); DEBUGFS_FWSTATS_ADD(wep, addr_key_count); DEBUGFS_FWSTATS_ADD(wep, default_key_count); /* skipping wep.reserved */ DEBUGFS_FWSTATS_ADD(wep, key_not_found); DEBUGFS_FWSTATS_ADD(wep, decrypt_fail); DEBUGFS_FWSTATS_ADD(wep, packets); DEBUGFS_FWSTATS_ADD(wep, interrupt); DEBUGFS_FWSTATS_ADD(pwr, ps_enter); DEBUGFS_FWSTATS_ADD(pwr, elp_enter); DEBUGFS_FWSTATS_ADD(pwr, missing_bcns); DEBUGFS_FWSTATS_ADD(pwr, wake_on_host); DEBUGFS_FWSTATS_ADD(pwr, wake_on_timer_exp); DEBUGFS_FWSTATS_ADD(pwr, tx_with_ps); DEBUGFS_FWSTATS_ADD(pwr, tx_without_ps); DEBUGFS_FWSTATS_ADD(pwr, rcvd_beacons); DEBUGFS_FWSTATS_ADD(pwr, power_save_off); DEBUGFS_FWSTATS_ADD(pwr, enable_ps); DEBUGFS_FWSTATS_ADD(pwr, disable_ps); DEBUGFS_FWSTATS_ADD(pwr, fix_tsf_ps); /* skipping cont_miss_bcns_spread for now */ DEBUGFS_FWSTATS_ADD(pwr, rcvd_awake_beacons); DEBUGFS_FWSTATS_ADD(mic, rx_pkts); DEBUGFS_FWSTATS_ADD(mic, calc_failure); DEBUGFS_FWSTATS_ADD(aes, encrypt_fail); DEBUGFS_FWSTATS_ADD(aes, decrypt_fail); DEBUGFS_FWSTATS_ADD(aes, encrypt_packets); DEBUGFS_FWSTATS_ADD(aes, decrypt_packets); DEBUGFS_FWSTATS_ADD(aes, encrypt_interrupt); DEBUGFS_FWSTATS_ADD(aes, decrypt_interrupt); DEBUGFS_FWSTATS_ADD(event, heart_beat); DEBUGFS_FWSTATS_ADD(event, calibration); DEBUGFS_FWSTATS_ADD(event, rx_mismatch); DEBUGFS_FWSTATS_ADD(event, rx_mem_empty); DEBUGFS_FWSTATS_ADD(event, rx_pool); DEBUGFS_FWSTATS_ADD(event, oom_late); DEBUGFS_FWSTATS_ADD(event, phy_transmit_error); DEBUGFS_FWSTATS_ADD(event, tx_stuck); DEBUGFS_FWSTATS_ADD(ps, pspoll_timeouts); DEBUGFS_FWSTATS_ADD(ps, upsd_timeouts); DEBUGFS_FWSTATS_ADD(ps, upsd_max_sptime); DEBUGFS_FWSTATS_ADD(ps, upsd_max_apturn); DEBUGFS_FWSTATS_ADD(ps, pspoll_max_apturn); DEBUGFS_FWSTATS_ADD(ps, pspoll_utilization); DEBUGFS_FWSTATS_ADD(ps, upsd_utilization); DEBUGFS_FWSTATS_ADD(rxpipe, rx_prep_beacon_drop); DEBUGFS_FWSTATS_ADD(rxpipe, descr_host_int_trig_rx_data); DEBUGFS_FWSTATS_ADD(rxpipe, beacon_buffer_thres_host_int_trig_rx_data); DEBUGFS_FWSTATS_ADD(rxpipe, missed_beacon_host_int_trig_rx_data); DEBUGFS_FWSTATS_ADD(rxpipe, tx_xfr_host_int_trig_rx_data); DEBUGFS_ADD(tx_queue_len, rootdir); DEBUGFS_ADD(retry_count, rootdir); DEBUGFS_ADD(excessive_retries, rootdir); DEBUGFS_ADD(gpio_power, rootdir); DEBUGFS_ADD(rx_streaming_interval, rootdir); DEBUGFS_ADD(driver_state, rootdir); DEBUGFS_ADD(rx_streaming_always, rootdir); return 0;err: if (IS_ERR(entry)) ret = PTR_ERR(entry); else ret = -ENOMEM; return ret;}
开发者ID:mcarrier,项目名称:reconn-linux,代码行数:101,
示例18: add_monitor_filesstatic void add_monitor_files(struct ieee80211_sub_if_data *sdata){ DEBUGFS_ADD(mode, monitor);}
开发者ID:Klozz,项目名称:iwidarwin,代码行数:4,
示例19: ieee80211_debugfs_key_addvoid ieee80211_debugfs_key_add(struct ieee80211_local *local, struct ieee80211_key *key){ static int keycount; char buf[20]; if (!local->debugfs.keys) return; sprintf(buf, "%d", keycount); keycount++; key->debugfs.dir = debugfs_create_dir(buf, local->debugfs.keys); if (!key->debugfs.dir) return; DEBUGFS_ADD(keylen); DEBUGFS_ADD(flags); DEBUGFS_ADD(keyidx); DEBUGFS_ADD(hw_key_idx); DEBUGFS_ADD(tx_rx_count); DEBUGFS_ADD(algorithm); DEBUGFS_ADD(tx_spec); DEBUGFS_ADD(rx_spec); DEBUGFS_ADD(replays); DEBUGFS_ADD(key); DEBUGFS_ADD(ifindex);};
开发者ID:acassis,项目名称:emlinux-ssd1935,代码行数:29,
示例20: debugfs_hw_addvoid debugfs_hw_add(struct ieee80211_local *local){ struct dentry *phyd = local->hw.wiphy->debugfsdir; struct dentry *statsd; if (!phyd) return; local->debugfs.keys = debugfs_create_dir("keys", phyd); DEBUGFS_ADD(frequency); DEBUGFS_ADD(total_ps_buffered); DEBUGFS_ADD(wep_iv); DEBUGFS_ADD(queues); DEBUGFS_ADD_MODE(reset, 0200); DEBUGFS_ADD(channel_type); DEBUGFS_ADD(hwflags); DEBUGFS_ADD(user_power); DEBUGFS_ADD(power); statsd = debugfs_create_dir("statistics", phyd); /* */ if (!statsd) return; DEBUGFS_STATS_ADD(transmitted_fragment_count, local->dot11TransmittedFragmentCount); DEBUGFS_STATS_ADD(multicast_transmitted_frame_count, local->dot11MulticastTransmittedFrameCount); DEBUGFS_STATS_ADD(failed_count, local->dot11FailedCount); DEBUGFS_STATS_ADD(retry_count, local->dot11RetryCount); DEBUGFS_STATS_ADD(multiple_retry_count, local->dot11MultipleRetryCount); DEBUGFS_STATS_ADD(frame_duplicate_count, local->dot11FrameDuplicateCount); DEBUGFS_STATS_ADD(received_fragment_count, local->dot11ReceivedFragmentCount); DEBUGFS_STATS_ADD(multicast_received_frame_count, local->dot11MulticastReceivedFrameCount); DEBUGFS_STATS_ADD(transmitted_frame_count, local->dot11TransmittedFrameCount);#ifdef CONFIG_MAC80211_DEBUG_COUNTERS DEBUGFS_STATS_ADD(tx_handlers_drop, local->tx_handlers_drop); DEBUGFS_STATS_ADD(tx_handlers_queued, local->tx_handlers_queued); DEBUGFS_STATS_ADD(tx_handlers_drop_unencrypted, local->tx_handlers_drop_unencrypted); DEBUGFS_STATS_ADD(tx_handlers_drop_fragment, local->tx_handlers_drop_fragment); DEBUGFS_STATS_ADD(tx_handlers_drop_wep, local->tx_handlers_drop_wep); DEBUGFS_STATS_ADD(tx_handlers_drop_not_assoc, local->tx_handlers_drop_not_assoc); DEBUGFS_STATS_ADD(tx_handlers_drop_unauth_port, local->tx_handlers_drop_unauth_port); DEBUGFS_STATS_ADD(rx_handlers_drop, local->rx_handlers_drop); DEBUGFS_STATS_ADD(rx_handlers_queued, local->rx_handlers_queued); DEBUGFS_STATS_ADD(rx_handlers_drop_nullfunc, local->rx_handlers_drop_nullfunc); DEBUGFS_STATS_ADD(rx_handlers_drop_defrag, local->rx_handlers_drop_defrag); DEBUGFS_STATS_ADD(rx_handlers_drop_short, local->rx_handlers_drop_short); DEBUGFS_STATS_ADD(rx_handlers_drop_passive_scan, local->rx_handlers_drop_passive_scan); DEBUGFS_STATS_ADD(tx_expand_skb_head, local->tx_expand_skb_head); DEBUGFS_STATS_ADD(tx_expand_skb_head_cloned, local->tx_expand_skb_head_cloned); DEBUGFS_STATS_ADD(rx_expand_skb_head, local->rx_expand_skb_head); DEBUGFS_STATS_ADD(rx_expand_skb_head2, local->rx_expand_skb_head2); DEBUGFS_STATS_ADD(rx_handlers_fragments, local->rx_handlers_fragments); DEBUGFS_STATS_ADD(tx_status_drop, local->tx_status_drop);#endif DEBUGFS_DEVSTATS_ADD(dot11ACKFailureCount); DEBUGFS_DEVSTATS_ADD(dot11RTSFailureCount); DEBUGFS_DEVSTATS_ADD(dot11FCSErrorCount); DEBUGFS_DEVSTATS_ADD(dot11RTSSuccessCount);}
开发者ID:romanbb,项目名称:android_kernel_lge_d851,代码行数:83,
示例21: wl18xx_debugfs_add_filesint wl18xx_debugfs_add_files(struct wl1271 *wl, struct dentry *rootdir){ int ret = 0; struct dentry *entry, *stats, *moddir; moddir = debugfs_create_dir(KBUILD_MODNAME, rootdir); if (!moddir || IS_ERR(moddir)) { entry = moddir; goto err; } stats = debugfs_create_dir("fw_stats", moddir); if (!stats || IS_ERR(stats)) { entry = stats; goto err; } DEBUGFS_ADD(clear_fw_stats, stats); DEBUGFS_FWSTATS_ADD(debug, debug1); DEBUGFS_FWSTATS_ADD(debug, debug2); DEBUGFS_FWSTATS_ADD(debug, debug3); DEBUGFS_FWSTATS_ADD(debug, debug4); DEBUGFS_FWSTATS_ADD(debug, debug5); DEBUGFS_FWSTATS_ADD(debug, debug6); DEBUGFS_FWSTATS_ADD(error, error_frame_non_ctrl); DEBUGFS_FWSTATS_ADD(error, error_frame_ctrl); DEBUGFS_FWSTATS_ADD(error, error_frame_during_protection); DEBUGFS_FWSTATS_ADD(error, null_frame_tx_start); DEBUGFS_FWSTATS_ADD(error, null_frame_cts_start); DEBUGFS_FWSTATS_ADD(error, bar_retry); DEBUGFS_FWSTATS_ADD(error, num_frame_cts_nul_flid); DEBUGFS_FWSTATS_ADD(error, tx_abort_failure); DEBUGFS_FWSTATS_ADD(error, tx_resume_failure); DEBUGFS_FWSTATS_ADD(error, rx_cmplt_db_overflow_cnt); DEBUGFS_FWSTATS_ADD(error, elp_while_rx_exch); DEBUGFS_FWSTATS_ADD(error, elp_while_tx_exch); DEBUGFS_FWSTATS_ADD(error, elp_while_tx); DEBUGFS_FWSTATS_ADD(error, elp_while_nvic_pending); DEBUGFS_FWSTATS_ADD(error, rx_excessive_frame_len); DEBUGFS_FWSTATS_ADD(error, burst_mismatch); DEBUGFS_FWSTATS_ADD(error, tbc_exch_mismatch); DEBUGFS_FWSTATS_ADD(tx, tx_prepared_descs); DEBUGFS_FWSTATS_ADD(tx, tx_cmplt); DEBUGFS_FWSTATS_ADD(tx, tx_template_prepared); DEBUGFS_FWSTATS_ADD(tx, tx_data_prepared); DEBUGFS_FWSTATS_ADD(tx, tx_template_programmed); DEBUGFS_FWSTATS_ADD(tx, tx_data_programmed); DEBUGFS_FWSTATS_ADD(tx, tx_burst_programmed); DEBUGFS_FWSTATS_ADD(tx, tx_starts); DEBUGFS_FWSTATS_ADD(tx, tx_stop); DEBUGFS_FWSTATS_ADD(tx, tx_imm_resp); DEBUGFS_FWSTATS_ADD(tx, tx_start_templates); DEBUGFS_FWSTATS_ADD(tx, tx_start_int_templates); DEBUGFS_FWSTATS_ADD(tx, tx_start_fw_gen); DEBUGFS_FWSTATS_ADD(tx, tx_start_data); DEBUGFS_FWSTATS_ADD(tx, tx_start_null_frame); DEBUGFS_FWSTATS_ADD(tx, tx_exch); DEBUGFS_FWSTATS_ADD(tx, tx_retry_template); DEBUGFS_FWSTATS_ADD(tx, tx_retry_data); DEBUGFS_FWSTATS_ADD(tx, tx_retry_per_rate); DEBUGFS_FWSTATS_ADD(tx, tx_exch_pending); DEBUGFS_FWSTATS_ADD(tx, tx_exch_expiry); DEBUGFS_FWSTATS_ADD(tx, tx_done_template); DEBUGFS_FWSTATS_ADD(tx, tx_done_data); DEBUGFS_FWSTATS_ADD(tx, tx_done_int_template); DEBUGFS_FWSTATS_ADD(tx, tx_cfe1); DEBUGFS_FWSTATS_ADD(tx, tx_cfe2); DEBUGFS_FWSTATS_ADD(tx, frag_called); DEBUGFS_FWSTATS_ADD(tx, frag_mpdu_alloc_failed); DEBUGFS_FWSTATS_ADD(tx, frag_init_called); DEBUGFS_FWSTATS_ADD(tx, frag_in_process_called); DEBUGFS_FWSTATS_ADD(tx, frag_tkip_called); DEBUGFS_FWSTATS_ADD(tx, frag_key_not_found); DEBUGFS_FWSTATS_ADD(tx, frag_need_fragmentation); DEBUGFS_FWSTATS_ADD(tx, frag_bad_mblk_num); DEBUGFS_FWSTATS_ADD(tx, frag_failed); DEBUGFS_FWSTATS_ADD(tx, frag_cache_hit); DEBUGFS_FWSTATS_ADD(tx, frag_cache_miss); DEBUGFS_FWSTATS_ADD(rx, rx_beacon_early_term); DEBUGFS_FWSTATS_ADD(rx, rx_out_of_mpdu_nodes); DEBUGFS_FWSTATS_ADD(rx, rx_hdr_overflow); DEBUGFS_FWSTATS_ADD(rx, rx_dropped_frame); DEBUGFS_FWSTATS_ADD(rx, rx_done); DEBUGFS_FWSTATS_ADD(rx, rx_defrag); DEBUGFS_FWSTATS_ADD(rx, rx_defrag_end); DEBUGFS_FWSTATS_ADD(rx, rx_cmplt); DEBUGFS_FWSTATS_ADD(rx, rx_pre_complt); DEBUGFS_FWSTATS_ADD(rx, rx_cmplt_task); DEBUGFS_FWSTATS_ADD(rx, rx_phy_hdr); DEBUGFS_FWSTATS_ADD(rx, rx_timeout); DEBUGFS_FWSTATS_ADD(rx, rx_rts_timeout); DEBUGFS_FWSTATS_ADD(rx, rx_timeout_wa); DEBUGFS_FWSTATS_ADD(rx, rx_wa_density_dropped_frame); DEBUGFS_FWSTATS_ADD(rx, rx_wa_ba_not_expected); DEBUGFS_FWSTATS_ADD(rx, defrag_called);//.........这里部分代码省略.........
开发者ID:houlixin,项目名称:BBB-TISDK,代码行数:101,
示例22: add_wds_filesstatic void add_wds_files(struct ieee80211_sub_if_data *sdata){ DEBUGFS_ADD(peer);}
开发者ID:LuweiLight,项目名称:linux-3.14.35-vbal,代码行数:4,
示例23: debugfs_hw_addvoid debugfs_hw_add(struct ieee80211_local *local){ struct dentry *phyd = local->hw.wiphy->debugfsdir; struct dentry *statsd; if (!phyd) return; local->debugfs.stations = debugfs_create_dir("stations", phyd); local->debugfs.keys = debugfs_create_dir("keys", phyd); DEBUGFS_ADD(frequency); DEBUGFS_ADD(antenna_sel_tx); DEBUGFS_ADD(antenna_sel_rx); DEBUGFS_ADD(bridge_packets); DEBUGFS_ADD(rts_threshold); DEBUGFS_ADD(fragmentation_threshold); DEBUGFS_ADD(short_retry_limit); DEBUGFS_ADD(long_retry_limit); DEBUGFS_ADD(total_ps_buffered); DEBUGFS_ADD(wep_iv); statsd = debugfs_create_dir("statistics", phyd); local->debugfs.statistics = statsd; /* if the dir failed, don't put all the other things into the root! */ if (!statsd) return; DEBUGFS_STATS_ADD(transmitted_fragment_count); DEBUGFS_STATS_ADD(multicast_transmitted_frame_count); DEBUGFS_STATS_ADD(failed_count); DEBUGFS_STATS_ADD(retry_count); DEBUGFS_STATS_ADD(multiple_retry_count); DEBUGFS_STATS_ADD(frame_duplicate_count); DEBUGFS_STATS_ADD(received_fragment_count); DEBUGFS_STATS_ADD(multicast_received_frame_count); DEBUGFS_STATS_ADD(transmitted_frame_count); DEBUGFS_STATS_ADD(wep_undecryptable_count);#ifdef CONFIG_MAC80211_DEBUG_COUNTERS DEBUGFS_STATS_ADD(tx_handlers_drop); DEBUGFS_STATS_ADD(tx_handlers_queued); DEBUGFS_STATS_ADD(tx_handlers_drop_unencrypted); DEBUGFS_STATS_ADD(tx_handlers_drop_fragment); DEBUGFS_STATS_ADD(tx_handlers_drop_wep); DEBUGFS_STATS_ADD(tx_handlers_drop_not_assoc); DEBUGFS_STATS_ADD(tx_handlers_drop_unauth_port); DEBUGFS_STATS_ADD(rx_handlers_drop); DEBUGFS_STATS_ADD(rx_handlers_queued); DEBUGFS_STATS_ADD(rx_handlers_drop_nullfunc); DEBUGFS_STATS_ADD(rx_handlers_drop_defrag); DEBUGFS_STATS_ADD(rx_handlers_drop_short); DEBUGFS_STATS_ADD(rx_handlers_drop_passive_scan); DEBUGFS_STATS_ADD(tx_expand_skb_head); DEBUGFS_STATS_ADD(tx_expand_skb_head_cloned); DEBUGFS_STATS_ADD(rx_expand_skb_head); DEBUGFS_STATS_ADD(rx_expand_skb_head2); DEBUGFS_STATS_ADD(rx_handlers_fragments); DEBUGFS_STATS_ADD(tx_status_drop); DEBUGFS_STATS_ADD(wme_tx_queue); DEBUGFS_STATS_ADD(wme_rx_queue);#endif DEBUGFS_STATS_ADD(dot11ACKFailureCount); DEBUGFS_STATS_ADD(dot11RTSFailureCount); DEBUGFS_STATS_ADD(dot11FCSErrorCount); DEBUGFS_STATS_ADD(dot11RTSSuccessCount);}
开发者ID:maraz,项目名称:linux-2.6,代码行数:67,
示例24: add_sta_filesstatic void add_sta_files(struct ieee80211_sub_if_data *sdata){ DEBUGFS_ADD(drop_unencrypted, sta); DEBUGFS_ADD(force_unicast_rateidx, sta); DEBUGFS_ADD(max_ratectrl_rateidx, sta); DEBUGFS_ADD(state, sta); DEBUGFS_ADD(bssid, sta); DEBUGFS_ADD(prev_bssid, sta); DEBUGFS_ADD(ssid_len, sta); DEBUGFS_ADD(aid, sta); DEBUGFS_ADD(ap_capab, sta); DEBUGFS_ADD(capab, sta); DEBUGFS_ADD(extra_ie_len, sta); DEBUGFS_ADD(auth_tries, sta); DEBUGFS_ADD(assoc_tries, sta); DEBUGFS_ADD(auth_algs, sta); DEBUGFS_ADD(auth_alg, sta); DEBUGFS_ADD(auth_transaction, sta); DEBUGFS_ADD(flags, sta); DEBUGFS_ADD(num_beacons_sta, sta);}
开发者ID:athurg,项目名称:linux_kernel,代码行数:22,
注:本文中的DEBUGFS_ADD函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 C++ DEBUGFUNC函数代码示例 C++ DEBUGF函数代码示例 |